Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.PowerWorld.Test.CityTest.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/PowerSystems 1.0.0/package.mo", uses=false) Using package PowerSystems with version 1.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/PowerSystems 1.0.0/package.mo) Using package ModelicaServices with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: translateModel(PowerSystems.Examples.PowerWorld.Test.CityTest,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.PowerWorld.Test.CityTest") translateModel(PowerSystems.Examples.PowerWorld.Test.CityTest,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.PowerWorld.Test.CityTest") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009207/0.0009211, allocations: 179.5 kB / 16.71 MB, free: 5.09 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.405/1.405, allocations: 225.7 MB / 243.2 MB, free: 8.469 MB / 202.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008244/0.0008243, allocations: 98.06 kB / 294.4 MB, free: 9.523 MB / 234.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/PowerSystems 1.0.0/package.mo): time 0.3217/0.3217, allocations: 38.12 MB / 383.6 MB, free: 40.38 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004/0.0004, allocations: 8 kB / 453.5 MB, free: 8.805 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3699/0.3703, allocations: 59.14 MB / 0.5006 GB, free: 38.98 MB / 378.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.PowerWorld.Test.CityTest): time 0.004539/0.3749, allocations: 3.443 MB / 0.504 GB, free: 38.71 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.003045/0.378, allocations: 2.664 MB / 0.5066 GB, free: 37.08 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001806/0.3782, allocations: 16.31 kB / 0.5066 GB, free: 37.07 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003629/0.3785, allocations: 61.81 kB / 0.5066 GB, free: 37.04 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0006284/0.3792, allocations: 237.1 kB / 0.5069 GB, free: 36.92 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00059/0.3798, allocations: 191.8 kB / 0.507 GB, free: 36.82 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0006858/0.3805, allocations: 0.5729 MB / 0.5076 GB, free: 36.62 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006869/0.3812, allocations: 0.4987 MB / 0.5081 GB, free: 36.21 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003687/0.3816, allocations: 154.5 kB / 0.5082 GB, free: 36.15 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002693/0.3818, allocations: 166.6 kB / 0.5084 GB, free: 36.08 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 4.335e-05/0.3819, allocations: 11.56 kB / 0.5084 GB, free: 36.08 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007276/0.3826, allocations: 344.8 kB / 0.5087 GB, free: 35.96 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001415/0.3828, allocations: 95.11 kB / 0.5088 GB, free: 35.93 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001604/0.383, allocations: 157.1 kB / 0.509 GB, free: 35.82 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0007882/0.3838, allocations: 0.5152 MB / 0.5095 GB, free: 35.65 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.298e-06/0.3838, allocations: 0 / 0.5095 GB, free: 35.65 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.683e-06/0.3838, allocations: 0 / 0.5095 GB, free: 35.65 MB / 378.7 MB Notification: Performance of Transformations before backend: time 5.1e-06/0.3838, allocations: 0 / 0.5095 GB, free: 35.65 MB / 378.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 50 * Number of variables: 50 Notification: Performance of Generate backend data structure: time 0.0008377/0.3847, allocations: 0.5624 MB / 0.51 GB, free: 35.15 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.545e-05/0.3847, allocations: 11.78 kB / 0.51 GB, free: 35.15 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009575/0.3857, allocations: 92.17 kB / 0.5101 GB, free: 35.13 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005939/0.3863, allocations: 364.2 kB / 0.5105 GB, free: 34.84 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.997e-05/0.3863, allocations: 16.91 kB / 0.5105 GB, free: 34.83 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.186e-05/0.3864, allocations: 24.72 kB / 0.5105 GB, free: 34.82 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007603/0.3872, allocations: 353.7 kB / 0.5109 GB, free: 34.64 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.3e-05/0.3872, allocations: 1.734 kB / 0.5109 GB, free: 34.64 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.707e-05/0.3872, allocations: 8.188 kB / 0.5109 GB, free: 34.63 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.028e-05/0.3873, allocations: 15.22 kB / 0.5109 GB, free: 34.63 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008316/0.3881, allocations: 391 kB / 0.5113 GB, free: 34.52 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00193/0.3901, allocations: 1.552 MB / 0.5128 GB, free: 33.32 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006938/0.3908, allocations: 322.4 kB / 0.5131 GB, free: 33.17 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000211/0.391, allocations: 113 kB / 0.5132 GB, free: 33.12 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.635e-05/0.391, allocations: 6 kB / 0.5132 GB, free: 33.12 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003542/0.3914, allocations: 198.3 kB / 0.5134 GB, free: 32.99 MB / 378.7 MB Notification: Performance of pre-optimization done (n=24): time 2.315e-06/0.3914, allocations: 0 / 0.5134 GB, free: 32.99 MB / 378.7 MB Notification: Performance of matching and sorting (n=24): time 0.0008849/0.3923, allocations: 382.5 kB / 0.5137 GB, free: 32.84 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.553e-05/0.3924, allocations: 131.9 kB / 0.5139 GB, free: 32.69 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003634/0.3927, allocations: 296.8 kB / 0.5142 GB, free: 32.52 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.993e-05/0.3928, allocations: 36.27 kB / 0.5142 GB, free: 32.49 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001093/0.3929, allocations: 177 kB / 0.5144 GB, free: 32.34 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.509e-05/0.393, allocations: 77.5 kB / 0.5144 GB, free: 32.28 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.778e-05/0.393, allocations: 10.66 kB / 0.5144 GB, free: 32.27 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 8.26e-05/0.3931, allocations: 341.7 kB / 0.5148 GB, free: 31.95 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002125/0.3933, allocations: 94.84 kB / 0.5149 GB, free: 31.91 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002466/0.3936, allocations: 180.3 kB / 0.515 GB, free: 31.77 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004858/0.3941, allocations: 301.6 kB / 0.5153 GB, free: 31.57 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.796e-06/0.3941, allocations: 0 / 0.5153 GB, free: 31.57 MB / 378.7 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0006987/0.3948, allocations: 349.1 kB / 0.5156 GB, free: 31.43 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.046e-05/0.3948, allocations: 6.594 kB / 0.5157 GB, free: 31.43 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.567e-06/0.3949, allocations: 5.734 kB / 0.5157 GB, free: 31.43 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.115e-05/0.3949, allocations: 8.469 kB / 0.5157 GB, free: 31.42 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003471/0.3952, allocations: 63.61 kB / 0.5157 GB, free: 31.41 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.2e-05/0.3953, allocations: 4.188 kB / 0.5157 GB, free: 31.41 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002136/0.3955, allocations: 31.61 kB / 0.5158 GB, free: 31.39 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.626e-05/0.3955, allocations: 13.72 kB / 0.5158 GB, free: 31.39 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,$PRE.city.data.nextTimeEvent,city.data.nextTimeEvent,$PRE.city.data.nextTimeEventScaled,city.data.nextTimeEventScaled,system.initime) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (33): * Single equations (assignments): 33 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * 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.0002164/0.3958, allocations: 181.4 kB / 0.5159 GB, free: 31.24 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.586e-05/0.3958, allocations: 30.47 kB / 0.516 GB, free: 31.23 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007128/0.3965, allocations: 320.9 kB / 0.5163 GB, free: 31.09 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.143e-06/0.3966, allocations: 3.062 kB / 0.5163 GB, free: 31.09 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.104e-06/0.3966, allocations: 0 / 0.5163 GB, free: 31.09 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.196e-06/0.3966, allocations: 6.984 kB / 0.5163 GB, free: 31.09 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001258/0.3979, allocations: 0.7462 MB / 0.517 GB, free: 30.61 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.985e-06/0.3979, allocations: 0 / 0.517 GB, free: 30.61 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002233/0.3981, allocations: 49.33 kB / 0.5171 GB, free: 30.61 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.059e-06/0.3981, allocations: 7.875 kB / 0.5171 GB, free: 30.6 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.564e-05/0.3982, allocations: 9.344 kB / 0.5171 GB, free: 30.59 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.037e-06/0.3982, allocations: 6.656 kB / 0.5171 GB, free: 30.59 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.014e-06/0.3982, allocations: 0 / 0.5171 GB, free: 30.59 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006872/0.3989, allocations: 409.4 kB / 0.5175 GB, free: 30.35 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.663e-05/0.399, allocations: 110.5 kB / 0.5176 GB, free: 30.23 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.545e-05/0.3991, allocations: 12.75 kB / 0.5176 GB, free: 30.23 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001983/0.3993, allocations: 13 kB / 0.5176 GB, free: 30.22 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.545e-05/0.3994, allocations: 14.47 kB / 0.5176 GB, free: 30.22 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.592e-05/0.3994, allocations: 14.08 kB / 0.5176 GB, free: 30.21 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0003056/0.3997, allocations: 212.3 kB / 0.5178 GB, free: 30.09 MB / 378.7 MB Notification: Performance of sort global known variables: time 3.11e-07/0.3998, allocations: 0 / 0.5178 GB, free: 30.09 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0006214/0.4004, allocations: 72.94 kB / 0.5179 GB, free: 30.08 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 4 (system.initime,$whenCondition1,city.data.nextTimeEvent,city.data.nextTimeEventScaled) * Number of discrete states: 2 (city.data.nextTimeEvent,city.data.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (25): * Single equations (assignments): 22 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 3 * 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.001463/0.4019, allocations: 0.5339 MB / 0.5184 GB, free: 29.78 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0006378/0.4025, allocations: 242.7 kB / 0.5187 GB, free: 29.7 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.885e-06/0.4025, allocations: 0.625 kB / 0.5187 GB, free: 29.7 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002433/0.4028, allocations: 119.6 kB / 0.5188 GB, free: 29.66 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006878/0.4035, allocations: 63.89 kB / 0.5188 GB, free: 29.63 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001239/0.4047, allocations: 0.7119 MB / 0.5195 GB, free: 29.2 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002722/0.405, allocations: 0.7927 MB / 0.5203 GB, free: 28.48 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0003102/0.4053, allocations: 84.55 kB / 0.5204 GB, free: 28.47 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001157/0.4055, allocations: 37.28 kB / 0.5204 GB, free: 28.46 MB / 378.7 MB Notification: Performance of SimCode: time 4.91e-07/0.4055, allocations: 6.75 kB / 0.5204 GB, free: 28.45 MB / 378.7 MB Notification: Performance of Templates: time 0.009495/0.415, allocations: 3.371 MB / 0.5237 GB, free: 28.15 MB / 378.7 MB make -j1 -f PowerSystems_PowerSystems.Examples.PowerWorld.Test.CityTest.makefile (rm -f PowerSystems_PowerSystems.Examples.PowerWorld.Test.CityTest.pipe ; mkfifo PowerSystems_PowerSystems.Examples.PowerWorld.Test.CityTest.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.PowerWorld.Test.CityTest.pipe >> ../files/PowerSystems_PowerSystems.Examples.PowerWorld.Test.CityTest.sim & ./PowerSystems_PowerSystems.Examples.PowerWorld.Test.CityTest -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerSystems_PowerSystems.Examples.PowerWorld.Test.CityTest.pipe 2>&1)