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.001251/0.001251, allocations: 98.08 kB / 17.96 MB, free: 5.77 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.001617/0.001617, allocations: 177.4 kB / 18.86 MB, free: 4.906 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.184/2.184, allocations: 205.4 MB / 225 MB, free: 13.07 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.000592/0.000592, allocations: 15.94 kB / 282 MB, free: 3.406 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1715/0.1721, allocations: 47.58 MB / 329.6 MB, free: 3.758 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStationary.MultiPhase.Examples.BalancingStar): time 0.01172/0.1838, allocations: 9.311 MB / 338.9 MB, free: 10.4 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.009541/0.1935, allocations: 2.753 MB / 341.7 MB, free: 7.633 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002975/0.1965, allocations: 63.81 kB / 341.7 MB, free: 7.57 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002346/0.1989, allocations: 0.5989 MB / 342.3 MB, free: 6.969 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005854/0.2048, allocations: 0.9332 MB / 343.3 MB, free: 6.031 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002734/0.2075, allocations: 0.7599 MB / 344 MB, free: 5.27 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.00622/0.2137, allocations: 4.135 MB / 348.2 MB, free: 1.117 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01872/0.2325, allocations: 11.14 MB / 359.3 MB, free: 5.859 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003576/0.2361, allocations: 1.716 MB / 361 MB, free: 4.137 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003728/0.2398, allocations: 2.065 MB / 363.1 MB, free: 2.062 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005555/0.2404, allocations: 280 kB / 363.4 MB, free: 1.789 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001818/0.2423, allocations: 495.8 kB / 363.8 MB, free: 1.305 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0008496/0.2431, allocations: 0.8133 MB / 364.7 MB, free: 500 kB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0028/0.2459, allocations: 2.12 MB / 366.8 MB, free: 14.35 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008333/0.2543, allocations: 7.636 MB / 374.4 MB, free: 6.695 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.918e-06/0.2543, allocations: 3.938 kB / 374.4 MB, free: 6.691 MB / 318.1 MB Notification: Performance of FrontEnd: time 7.153e-06/0.2543, allocations: 0 / 374.4 MB, free: 6.691 MB / 318.1 MB Notification: Performance of Transformations before backend: time 0.0002969/0.2546, allocations: 3.938 kB / 374.4 MB, free: 6.688 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.01376/0.2684, allocations: 4.547 MB / 379 MB, free: 2.074 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.578e-05/0.2685, allocations: 12.03 kB / 379 MB, free: 2.062 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.3084/0.5768, allocations: 2.393 MB / 381.4 MB, free: 46.06 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007512/0.5844, allocations: 2.376 MB / 383.8 MB, free: 45.51 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005582/0.585, allocations: 365.4 kB / 384.1 MB, free: 45.34 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002392/0.5874, allocations: 476.8 kB / 384.6 MB, free: 45.19 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02262/0.6101, allocations: 6.664 MB / 391.2 MB, free: 42.65 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001166/0.6103, allocations: 5 kB / 391.2 MB, free: 42.64 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005177/0.6108, allocations: 202.4 kB / 391.4 MB, free: 42.49 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003858/0.6112, allocations: 226.6 kB / 391.7 MB, free: 42.47 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01278/0.624, allocations: 6.132 MB / 397.8 MB, free: 40.07 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0308/0.6548, allocations: 22.71 MB / 420.5 MB, free: 18.9 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008673/0.6636, allocations: 10.8 MB / 431.3 MB, free: 6.422 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001288/0.6649, allocations: 0.8706 MB / 432.2 MB, free: 5.547 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004875/0.6698, allocations: 3.502 MB / 435.7 MB, free: 1.727 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.39e-05/0.6699, allocations: 42.48 kB / 435.7 MB, free: 1.676 MB / 318.1 MB Notification: Performance of pre-optimization done (n=12): time 2.675e-06/0.6699, allocations: 4 kB / 435.7 MB, free: 1.672 MB / 318.1 MB Notification: Performance of matching and sorting (n=12): time 0.0007871/0.6707, allocations: 343.7 kB / 436.1 MB, free: 1.328 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.266e-05/0.6708, allocations: 51.41 kB / 436.1 MB, free: 1.266 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003226/0.674, allocations: 2.133 MB / 438.2 MB, free: 15.12 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 3.152e-05/0.674, allocations: 25.7 kB / 438.3 MB, free: 15.09 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002108/0.6762, allocations: 2.373 MB / 440.6 MB, free: 12.7 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.00011/0.6763, allocations: 96.34 kB / 440.7 MB, free: 12.61 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002688/0.6766, allocations: 198.7 kB / 440.9 MB, free: 12.41 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001995/0.6768, allocations: 353.9 kB / 441.3 MB, free: 12.06 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00124/0.678, allocations: 0.8479 MB / 442.1 MB, free: 11.21 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002961/0.681, allocations: 2.274 MB / 444.4 MB, free: 8.227 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004043/0.685, allocations: 3.032 MB / 447.4 MB, free: 4.492 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.22e-05/0.6851, allocations: 16 kB / 447.4 MB, free: 4.477 MB / 334.1 MB Notification: Performance of matching and sorting (n=314) (initialization): time 0.004955/0.6901, allocations: 3.096 MB / 450.5 MB, free: 1.375 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.163e-05/0.6901, allocations: 32.25 kB / 450.6 MB, free: 1.344 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.768e-05/0.6902, allocations: 48 kB / 450.6 MB, free: 1.297 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.119e-05/0.6903, allocations: 68 kB / 450.7 MB, free: 1.23 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001688/0.692, allocations: 0.5732 MB / 451.3 MB, free: 0.6562 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.294e-05/0.6921, allocations: 95.66 kB / 451.3 MB, free: 0.5625 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002153/0.6942, allocations: 404.1 kB / 451.7 MB, free: 168 kB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001881/0.6944, allocations: 148 kB / 451.9 MB, free: 20 kB / 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.00351/0.698, allocations: 1.722 MB / 453.6 MB, free: 14.29 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003769/0.6984, allocations: 142.1 kB / 453.7 MB, free: 14.14 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006292/0.699, allocations: 321.8 kB / 454.1 MB, free: 13.82 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0002005/0.6992, allocations: 168.6 kB / 454.2 MB, free: 13.66 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.472e-06/0.6992, allocations: 0 / 454.2 MB, free: 13.66 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.878e-06/0.6992, allocations: 0 / 454.2 MB, free: 13.66 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005282/0.7045, allocations: 3.156 MB / 457.4 MB, free: 10.45 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.871e-06/0.7045, allocations: 0 / 457.4 MB, free: 10.45 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.981e-05/0.7046, allocations: 11.98 kB / 457.4 MB, free: 10.43 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.098e-06/0.7046, allocations: 4 kB / 457.4 MB, free: 10.43 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.734e-05/0.7047, allocations: 0 / 457.4 MB, free: 10.43 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.499e-06/0.7047, allocations: 3.938 kB / 457.4 MB, free: 10.43 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.925e-06/0.7047, allocations: 0 / 457.4 MB, free: 10.43 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006738/0.7054, allocations: 0.494 MB / 457.9 MB, free: 9.914 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004478/0.7058, allocations: 251.7 kB / 458.1 MB, free: 9.648 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001245/0.706, allocations: 4 kB / 458.1 MB, free: 9.645 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004711/0.7064, allocations: 27.95 kB / 458.2 MB, free: 9.617 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.94e-05/0.7065, allocations: 4 kB / 458.2 MB, free: 9.613 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.102e-05/0.7065, allocations: 15.92 kB / 458.2 MB, free: 9.598 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.00231/0.7088, allocations: 1.392 MB / 459.6 MB, free: 8.211 MB / 350.1 MB Notification: Performance of sort global known variables: time 7.61e-07/0.7089, allocations: 8.062 kB / 459.6 MB, free: 8.203 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.003354/0.7122, allocations: 0.989 MB / 460.6 MB, free: 7.211 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.0003495/0.7126, allocations: 151.8 kB / 460.7 MB, free: 7.062 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.00265/0.7152, allocations: 1.54 MB / 462.3 MB, free: 5.527 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 4.929e-06/0.7152, allocations: 0 / 462.3 MB, free: 5.527 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001193/0.7154, allocations: 79.97 kB / 462.3 MB, free: 5.449 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001871/0.7173, allocations: 308.2 kB / 462.6 MB, free: 5.152 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01399/0.7313, allocations: 8.006 MB / 470.7 MB, free: 13.13 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003069/0.7344, allocations: 3.052 MB / 473.7 MB, free: 10.05 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005192/0.7349, allocations: 131.4 kB / 473.8 MB, free: 9.926 MB / 366.1 MB Notification: Performance of SimCode: time 1.132e-06/0.7349, allocations: 0 / 473.8 MB, free: 9.926 MB / 366.1 MB Notification: Performance of Templates: time 0.07637/0.8113, allocations: 39.35 MB / 0.5012 GB, free: 2.523 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++ -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