Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.BalancingStar.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Modelica.Electrical.QuasiStationary.MultiPhase.Examples.BalancingStar,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|voltageSource.plug_p.reference.gamma",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.BalancingStar") translateModel(Modelica.Electrical.QuasiStationary.MultiPhase.Examples.BalancingStar,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|voltageSource.plug_p.reference.gamma",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.BalancingStar") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001654/0.001654, allocations: 105.4 kB / 17.8 MB, free: 5.688 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001899/0.001899, allocations: 197.9 kB / 18.73 MB, free: 4.77 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.032/2.032, allocations: 205.1 MB / 224.6 MB, free: 12.48 MB / 190.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001787/0.001787, allocations: 59.92 kB / 280.6 MB, free: 3.578 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1623/0.1641, allocations: 46.62 MB / 327.3 MB, free: 4.895 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStationary.MultiPhase.Examples.BalancingStar): time 0.01746/0.1816, allocations: 9.953 MB / 337.2 MB, free: 10.89 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.01122/0.1929, allocations: 2.788 MB / 340 MB, free: 8.086 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004432/0.1976, allocations: 59.81 kB / 340.1 MB, free: 8.027 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01282/0.2104, allocations: 3.997 MB / 344.1 MB, free: 4.016 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.007128/0.2176, allocations: 0.9332 MB / 345 MB, free: 3.078 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004011/0.2216, allocations: 0.7755 MB / 345.8 MB, free: 2.301 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.009911/0.2316, allocations: 4.135 MB / 349.9 MB, free: 14.15 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.02301/0.2546, allocations: 9.241 MB / 359.1 MB, free: 4.793 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005266/0.26, allocations: 2.212 MB / 361.4 MB, free: 2.574 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006782/0.2668, allocations: 2.713 MB / 364.1 MB, free: 15.85 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002817/0.2697, allocations: 0.5156 MB / 364.6 MB, free: 15.34 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00447/0.2742, allocations: 0.7264 MB / 365.3 MB, free: 14.61 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003447/0.2777, allocations: 1.153 MB / 366.5 MB, free: 13.45 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.009317/0.287, allocations: 2.501 MB / 369 MB, free: 10.94 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0148/0.3019, allocations: 7.853 MB / 376.8 MB, free: 3.07 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.97e-05/0.302, allocations: 0 / 376.8 MB, free: 3.07 MB / 318.1 MB Notification: Performance of FrontEnd: time 3.386e-06/0.302, allocations: 0 / 376.8 MB, free: 3.07 MB / 318.1 MB Notification: Performance of Transformations before backend: time 0.0004909/0.3025, allocations: 0 / 376.8 MB, free: 3.07 MB / 318.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1303 * Number of variables: 1303 Notification: Performance of Generate backend data structure: time 0.371/0.6735, allocations: 5.59 MB / 382.4 MB, free: 47.33 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 0.0001052/0.6737, allocations: 9.688 kB / 382.4 MB, free: 47.33 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01784/0.6915, allocations: 2.385 MB / 384.8 MB, free: 46.95 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01003/0.7016, allocations: 2.381 MB / 387.2 MB, free: 45.57 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001045/0.7027, allocations: 365.6 kB / 387.5 MB, free: 45.41 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003591/0.7064, allocations: 476.7 kB / 388 MB, free: 45.26 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02945/0.7358, allocations: 6.666 MB / 394.7 MB, free: 42.09 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005125/0.7364, allocations: 1.375 kB / 394.7 MB, free: 42.09 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002975/0.7394, allocations: 203.7 kB / 394.9 MB, free: 41.93 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0007755/0.7402, allocations: 233.5 kB / 395.1 MB, free: 41.9 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01902/0.7593, allocations: 6.132 MB / 401.2 MB, free: 38.19 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04985/0.8092, allocations: 22.64 MB / 423.9 MB, free: 14.98 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01257/0.8218, allocations: 10.81 MB / 434.7 MB, free: 2.488 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002/0.8239, allocations: 0.8578 MB / 435.5 MB, free: 1.625 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.008337/0.8323, allocations: 3.513 MB / 439.1 MB, free: 13.79 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.149e-05/0.8325, allocations: 38.5 kB / 439.1 MB, free: 13.75 MB / 334.1 MB Notification: Performance of pre-optimization done (n=12): time 4.569e-06/0.8325, allocations: 0 / 439.1 MB, free: 13.75 MB / 334.1 MB Notification: Performance of matching and sorting (n=12): time 0.001439/0.8339, allocations: 336.8 kB / 439.4 MB, free: 13.41 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.987e-05/0.834, allocations: 51.41 kB / 439.5 MB, free: 13.35 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005847/0.8399, allocations: 2.141 MB / 441.6 MB, free: 11.2 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 5.048e-05/0.84, allocations: 29.7 kB / 441.6 MB, free: 11.17 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002885/0.8429, allocations: 2.387 MB / 444 MB, free: 8.75 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002022/0.8431, allocations: 83.41 kB / 444.1 MB, free: 8.668 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001357/0.8445, allocations: 0.5546 MB / 444.7 MB, free: 8.105 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0002373/0.8447, allocations: 353.9 kB / 445 MB, free: 7.754 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001571/0.8463, allocations: 0.848 MB / 445.9 MB, free: 6.902 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003349/0.8496, allocations: 2.269 MB / 448.1 MB, free: 3.93 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005264/0.8549, allocations: 3.035 MB / 451.2 MB, free: 196 kB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.385e-05/0.855, allocations: 16 kB / 451.2 MB, free: 180 kB / 334.1 MB Notification: Performance of matching and sorting (n=314) (initialization): time 0.00698/0.862, allocations: 3.096 MB / 454.3 MB, free: 13.07 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.487e-05/0.8621, allocations: 31.98 kB / 454.3 MB, free: 13.04 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.882e-05/0.8622, allocations: 51.94 kB / 454.4 MB, free: 12.99 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.661e-05/0.8623, allocations: 68 kB / 454.4 MB, free: 12.92 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001761/0.8641, allocations: 0.5693 MB / 455 MB, free: 12.35 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001134/0.8642, allocations: 99.64 kB / 455.1 MB, free: 12.25 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002833/0.8671, allocations: 400.6 kB / 455.5 MB, free: 11.86 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00025/0.8674, allocations: 148 kB / 455.6 MB, free: 11.71 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 229 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (310): * Single equations (assignments): 306 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.004529/0.8719, allocations: 1.73 MB / 457.4 MB, free: 9.973 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004823/0.8724, allocations: 142.2 kB / 457.5 MB, free: 9.832 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007439/0.8731, allocations: 320 kB / 457.8 MB, free: 9.512 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0002331/0.8734, allocations: 168.5 kB / 458 MB, free: 9.344 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.17e-05/0.8734, allocations: 0 / 458 MB, free: 9.344 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.062e-06/0.8734, allocations: 0 / 458 MB, free: 9.344 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009924/0.8833, allocations: 3.152 MB / 461.1 MB, free: 6.141 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.162e-05/0.8834, allocations: 4 kB / 461.1 MB, free: 6.137 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001544/0.8836, allocations: 15.92 kB / 461.1 MB, free: 6.121 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.347e-05/0.8836, allocations: 0 / 461.1 MB, free: 6.121 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.378e-05/0.8837, allocations: 4 kB / 461.1 MB, free: 6.117 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.553e-06/0.8837, allocations: 4.031 kB / 461.2 MB, free: 6.113 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.847e-06/0.8837, allocations: 0 / 461.2 MB, free: 6.113 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001217/0.8849, allocations: 494.2 kB / 461.6 MB, free: 5.609 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009012/0.8858, allocations: 235.4 kB / 461.9 MB, free: 5.359 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006921/0.8865, allocations: 0 / 461.9 MB, free: 5.359 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009502/0.8875, allocations: 23.97 kB / 461.9 MB, free: 5.336 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.497e-05/0.8876, allocations: 16.05 kB / 461.9 MB, free: 5.32 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.439e-05/0.8876, allocations: 7.938 kB / 461.9 MB, free: 5.312 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.003863/0.8915, allocations: 1.4 MB / 463.3 MB, free: 3.918 MB / 350.1 MB Notification: Performance of sort global known variables: time 5.71e-07/0.8915, allocations: 0 / 463.3 MB, free: 3.918 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.005408/0.8969, allocations: 0.9915 MB / 464.3 MB, free: 2.926 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 1 (voltageSource.plug_p.reference.gamma) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0006333/0.8976, allocations: 138.8 kB / 464.4 MB, free: 2.781 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.004533/0.9021, allocations: 1.545 MB / 466 MB, free: 1.242 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.37e-05/0.9022, allocations: 0 / 466 MB, free: 1.242 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001883/0.9024, allocations: 85.64 kB / 466.1 MB, free: 1.16 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002952/0.9054, allocations: 316.5 kB / 466.4 MB, free: 0.8555 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02291/0.9283, allocations: 7.948 MB / 474.3 MB, free: 8.879 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004293/0.9327, allocations: 3.056 MB / 477.4 MB, free: 5.797 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00065/0.9334, allocations: 123.4 kB / 477.5 MB, free: 5.676 MB / 366.1 MB Notification: Performance of SimCode: time 3.967e-06/0.9334, allocations: 0 / 477.5 MB, free: 5.676 MB / 366.1 MB Notification: Performance of Templates: time 0.1003/1.034, allocations: 39.92 MB / 0.5053 GB, free: 13.69 MB / 414.1 MB make -j1 -f Modelica_3.2.3_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.BalancingStar.makefile make -j1 -f Modelica_3.2.3_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.BalancingStar.makefile clang++ -std=c++14 NOTFOUND -Winvalid-pch -O2 -g -DNDEBUG -fPIC -std=c++11 -DBOOST_ALL_DYN_LINK -DUSE_DGESV -DUSE_LOGGER -DOMC_BUILD -DUSE_THREAD -DSUNDIALS_MAJOR_VERSION=5 -DSUNDIALS_MINOR_VERSION=4 -DPMC_USE_SUNDIALS -I"." -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/cpp/" -I. -I"." -I"." -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/include/omc/sundials" -DMEASURETIME_PROFILEBLOCKS -DUSE_LOGGER -c -o OMCppModelica_3.2.3_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.BalancingStarCalcHelperMain.o OMCppModelica_3.2.3_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.BalancingStarCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelica_3.2.3_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.BalancingStarCalcHelperMain.o] Error 1