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.001046/0.001046, allocations: 90.02 kB / 17.58 MB, free: 5.805 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.001259/0.001259, allocations: 180.5 kB / 18.48 MB, free: 5.254 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.705/1.705, allocations: 205.4 MB / 224.6 MB, free: 13.14 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.0005227/0.0005227, allocations: 15.44 kB / 281.4 MB, free: 3.727 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1164/0.1169, allocations: 47.58 MB / 329 MB, free: 4.074 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStationary.MultiPhase.Examples.BalancingStar): time 0.009098/0.1261, allocations: 8.643 MB / 337.6 MB, free: 11.39 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.006408/0.1325, allocations: 2.563 MB / 340.2 MB, free: 8.82 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001125/0.1337, allocations: 59.81 kB / 340.3 MB, free: 8.762 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001041/0.1347, allocations: 421.4 kB / 340.7 MB, free: 8.348 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002518/0.1373, allocations: 0.8671 MB / 341.5 MB, free: 7.477 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001668/0.139, allocations: 0.6547 MB / 342.2 MB, free: 6.82 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.004675/0.1436, allocations: 3.948 MB / 346.1 MB, free: 2.855 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01533/0.159, allocations: 9.308 MB / 355.4 MB, free: 9.465 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003292/0.1623, allocations: 1.701 MB / 357.1 MB, free: 7.758 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004649/0.167, allocations: 1.977 MB / 359.1 MB, free: 5.773 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0006332/0.1676, allocations: 280 kB / 359.4 MB, free: 5.5 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00177/0.1694, allocations: 483.8 kB / 359.9 MB, free: 5.027 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0007725/0.1702, allocations: 0.7901 MB / 360.7 MB, free: 4.234 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001497/0.1717, allocations: 0.9097 MB / 361.6 MB, free: 3.316 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007225/0.1789, allocations: 7.624 MB / 369.2 MB, free: 11.67 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.693e-06/0.179, allocations: 3.938 kB / 369.2 MB, free: 11.67 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.903e-06/0.179, allocations: 0 / 369.2 MB, free: 11.67 MB / 318.1 MB Notification: Performance of Transformations before backend: time 0.0002042/0.1792, allocations: 0 / 369.2 MB, free: 11.67 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.01256/0.1918, allocations: 4.594 MB / 373.8 MB, free: 7.008 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.742e-05/0.1919, allocations: 11.97 kB / 373.8 MB, free: 6.996 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01351/0.2054, allocations: 2.398 MB / 376.2 MB, free: 4.59 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006111/0.2115, allocations: 2.353 MB / 378.6 MB, free: 2.188 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003291/0.2119, allocations: 369.8 kB / 378.9 MB, free: 1.824 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001304/0.2132, allocations: 472 kB / 379.4 MB, free: 1.363 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.2784/0.4917, allocations: 6.613 MB / 386 MB, free: 31.13 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001063/0.4918, allocations: 2.906 kB / 386 MB, free: 31.13 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005083/0.4924, allocations: 200.7 kB / 386.2 MB, free: 31.13 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000316/0.4927, allocations: 226.9 kB / 386.4 MB, free: 31.12 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01449/0.5072, allocations: 6.099 MB / 392.5 MB, free: 31.07 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02964/0.5369, allocations: 22.7 MB / 415.2 MB, free: 16.67 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007664/0.5446, allocations: 10.8 MB / 426 MB, free: 4.195 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001071/0.5457, allocations: 0.8605 MB / 426.9 MB, free: 3.336 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004623/0.5503, allocations: 3.505 MB / 430.4 MB, free: 15.53 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.989e-05/0.5504, allocations: 30.56 kB / 430.4 MB, free: 15.49 MB / 334.1 MB Notification: Performance of pre-optimization done (n=12): time 3.596e-06/0.5504, allocations: 0 / 430.4 MB, free: 15.49 MB / 334.1 MB Notification: Performance of matching and sorting (n=12): time 0.0006451/0.551, allocations: 345.8 kB / 430.7 MB, free: 15.15 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.319e-05/0.5511, allocations: 51.41 kB / 430.8 MB, free: 15.09 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003094/0.5542, allocations: 2.121 MB / 432.9 MB, free: 12.96 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.391e-05/0.5542, allocations: 29.7 kB / 432.9 MB, free: 12.92 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001864/0.5561, allocations: 2.37 MB / 435.3 MB, free: 10.54 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.273e-05/0.5562, allocations: 98.05 kB / 435.4 MB, free: 10.45 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001071/0.5563, allocations: 50.62 kB / 435.5 MB, free: 10.4 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0002865/0.5566, allocations: 463.7 kB / 435.9 MB, free: 9.938 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001304/0.5579, allocations: 0.8323 MB / 436.7 MB, free: 9.102 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002314/0.5602, allocations: 2.268 MB / 439 MB, free: 6.152 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001791/0.5621, allocations: 1.405 MB / 440.4 MB, free: 4.797 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.368e-05/0.5621, allocations: 16 kB / 440.4 MB, free: 4.781 MB / 334.1 MB Notification: Performance of matching and sorting (n=314) (initialization): time 0.004208/0.5663, allocations: 3.067 MB / 443.5 MB, free: 2 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.232e-05/0.5664, allocations: 28 kB / 443.5 MB, free: 1.973 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.078e-05/0.5664, allocations: 48 kB / 443.6 MB, free: 1.926 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.666e-05/0.5665, allocations: 76 kB / 443.6 MB, free: 1.852 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001608/0.5681, allocations: 0.5743 MB / 444.2 MB, free: 1.328 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.649e-05/0.5682, allocations: 103.7 kB / 444.3 MB, free: 1.246 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00174/0.57, allocations: 399.3 kB / 444.7 MB, free: 0.8555 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001738/0.5701, allocations: 144 kB / 444.8 MB, free: 0.7148 MB / 334.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.002939/0.5731, allocations: 1.735 MB / 446.6 MB, free: 15.02 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000199/0.5733, allocations: 130.3 kB / 446.7 MB, free: 14.89 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005065/0.5738, allocations: 323.2 kB / 447 MB, free: 14.57 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001923/0.574, allocations: 164 kB / 447.2 MB, free: 14.41 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.963e-06/0.574, allocations: 0 / 447.2 MB, free: 14.41 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.572e-06/0.574, allocations: 3.984 kB / 447.2 MB, free: 14.4 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004616/0.5787, allocations: 3.15 MB / 450.3 MB, free: 11.2 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.238e-06/0.5787, allocations: 0 / 450.3 MB, free: 11.2 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.003e-05/0.5788, allocations: 16.03 kB / 450.4 MB, free: 11.19 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.123e-06/0.5788, allocations: 0 / 450.4 MB, free: 11.19 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.311e-05/0.5788, allocations: 2.625 kB / 450.4 MB, free: 11.19 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.27e-06/0.5788, allocations: 4 kB / 450.4 MB, free: 11.18 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.483e-06/0.5788, allocations: 288 / 450.4 MB, free: 11.18 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005577/0.5794, allocations: 497.4 kB / 450.8 MB, free: 10.68 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004198/0.5798, allocations: 255.4 kB / 451.1 MB, free: 10.41 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001419/0.58, allocations: 19.98 kB / 451.1 MB, free: 10.39 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003994/0.5804, allocations: 19.97 kB / 451.1 MB, free: 10.38 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.49e-05/0.5804, allocations: 7.984 kB / 451.1 MB, free: 10.37 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.373e-05/0.5804, allocations: 4 kB / 451.1 MB, free: 10.36 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.001918/0.5824, allocations: 1.388 MB / 452.5 MB, free: 8.984 MB / 350.1 MB Notification: Performance of sort global known variables: time 4.31e-07/0.5824, allocations: 0 / 452.5 MB, free: 8.984 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.00294/0.5853, allocations: 0.9881 MB / 453.5 MB, free: 7.996 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003151/0.5856, allocations: 153.2 kB / 453.7 MB, free: 7.844 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.002233/0.5879, allocations: 1.533 MB / 455.2 MB, free: 6.453 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.457e-06/0.5879, allocations: 0.9375 kB / 455.2 MB, free: 6.453 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001125/0.588, allocations: 79.97 kB / 455.3 MB, free: 6.375 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001342/0.5894, allocations: 309.3 kB / 455.6 MB, free: 6.074 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0107/0.6001, allocations: 7.571 MB / 463.2 MB, free: 14.49 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002909/0.603, allocations: 3.044 MB / 466.2 MB, free: 11.42 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004013/0.6034, allocations: 135.4 kB / 466.3 MB, free: 11.29 MB / 366.1 MB Notification: Performance of SimCode: time 7.41e-07/0.6034, allocations: 3.938 kB / 466.3 MB, free: 11.29 MB / 366.1 MB Notification: Performance of Templates: time 0.06792/0.6714, allocations: 39.51 MB / 0.494 GB, free: 3.777 MB / 398.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++ NOTFOUND -Winvalid-pch -O0 -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/c/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