Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Source.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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1/package.mo", uses=false) Using package PowerSystems with version 1.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1/package.mo) 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(PowerSystems.Examples.AC1ph_DC.Elementary.Source,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1480,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Source") translateModel(PowerSystems.Examples.AC1ph_DC.Elementary.Source,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1480,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Source") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001057/0.001057, allocations: 110.5 kB / 17.75 MB, free: 5.332 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.001092/0.001093, allocations: 187 kB / 18.68 MB, free: 4.406 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.315/1.315, allocations: 205.1 MB / 224.6 MB, free: 12.27 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1/package.mo): time 0.1727/0.1727, allocations: 37.98 MB / 309.9 MB, free: 5.949 MB / 254.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.001407/0.001407, allocations: 59.91 kB / 432.5 MB, free: 15.65 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08491/0.08632, allocations: 55.25 MB / 487.8 MB, free: 8.34 MB / 366.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Elementary.Source): time 0.005027/0.09138, allocations: 3.926 MB / 491.7 MB, free: 4.383 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.001415/0.09282, allocations: 0.9048 MB / 492.6 MB, free: 3.473 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001675/0.09301, allocations: 11.94 kB / 492.6 MB, free: 3.461 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000173/0.0932, allocations: 43.58 kB / 492.7 MB, free: 3.418 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005129/0.09373, allocations: 175.1 kB / 492.8 MB, free: 3.246 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002024/0.09394, allocations: 71.91 kB / 492.9 MB, free: 3.176 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004235/0.09437, allocations: 374.7 kB / 493.3 MB, free: 2.809 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001849/0.09457, allocations: 92.53 kB / 493.4 MB, free: 2.719 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002813/0.09486, allocations: 171.2 kB / 493.5 MB, free: 2.551 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000306/0.09517, allocations: 159.4 kB / 493.7 MB, free: 2.395 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 4.006e-05/0.09522, allocations: 16 kB / 493.7 MB, free: 2.379 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.941e-05/0.09528, allocations: 20 kB / 493.7 MB, free: 2.359 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 9.783e-05/0.09538, allocations: 83.72 kB / 493.8 MB, free: 2.277 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001343/0.09552, allocations: 131.3 kB / 493.9 MB, free: 2.148 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002704/0.0958, allocations: 263 kB / 494.2 MB, free: 1.891 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.497e-06/0.09581, allocations: 0 / 494.2 MB, free: 1.891 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.333e-06/0.09582, allocations: 0 / 494.2 MB, free: 1.891 MB / 366.1 MB Notification: Performance of Transformations before backend: time 6.212e-06/0.09583, allocations: 0 / 494.2 MB, free: 1.891 MB / 366.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 49 * Number of variables: 49 Notification: Performance of Generate backend data structure: time 0.0008255/0.09666, allocations: 0.5506 MB / 494.7 MB, free: 1.293 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.831e-05/0.09671, allocations: 11.89 kB / 494.8 MB, free: 1.281 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.402e-05/0.09678, allocations: 32.56 kB / 494.8 MB, free: 1.25 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004628/0.09724, allocations: 335.7 kB / 495.1 MB, free: 0.8828 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.882e-05/0.09727, allocations: 16.38 kB / 495.1 MB, free: 0.8672 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.804e-05/0.09732, allocations: 20 kB / 495.2 MB, free: 0.8477 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000365/0.09769, allocations: 270.1 kB / 495.4 MB, free: 0.5547 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.069e-05/0.09771, allocations: 0 / 495.4 MB, free: 0.5547 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.034e-05/0.09773, allocations: 4 kB / 495.4 MB, free: 0.5508 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.061e-05/0.09775, allocations: 11.98 kB / 495.4 MB, free: 0.5391 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002429/0.098, allocations: 163.8 kB / 495.6 MB, free: 388 kB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001195/0.0992, allocations: 1.163 MB / 496.8 MB, free: 15.12 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001243/0.09934, allocations: 89.08 kB / 496.8 MB, free: 15.02 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.559e-05/0.09939, allocations: 29.78 kB / 496.9 MB, free: 14.98 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.29e-05/0.09941, allocations: 4 kB / 496.9 MB, free: 14.98 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.681e-05/0.09945, allocations: 34.5 kB / 496.9 MB, free: 14.94 MB / 382.1 MB Notification: Performance of pre-optimization done (n=7): time 1.382e-06/0.09945, allocations: 4 kB / 496.9 MB, free: 14.93 MB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.000719/0.1002, allocations: 408.7 kB / 497.3 MB, free: 14.48 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.946e-05/0.1002, allocations: 81.09 kB / 497.4 MB, free: 14.38 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002314/0.1005, allocations: 242.5 kB / 497.6 MB, free: 14.14 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.398e-05/0.1005, allocations: 25.7 kB / 497.7 MB, free: 14.11 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001325/0.1006, allocations: 195.6 kB / 497.8 MB, free: 13.91 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.134e-05/0.1007, allocations: 31.72 kB / 497.9 MB, free: 13.88 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.156e-05/0.1007, allocations: 49.61 kB / 497.9 MB, free: 13.82 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001253/0.1009, allocations: 334.8 kB / 498.3 MB, free: 13.49 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.564e-05/0.1009, allocations: 27.98 kB / 498.3 MB, free: 13.46 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001072/0.1011, allocations: 116.8 kB / 498.4 MB, free: 13.3 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00019/0.1013, allocations: 168.7 kB / 498.6 MB, free: 13.09 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.873e-06/0.1013, allocations: 0 / 498.6 MB, free: 13.09 MB / 382.1 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0002539/0.1015, allocations: 173.6 kB / 498.7 MB, free: 12.91 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.708e-05/0.1015, allocations: 8 kB / 498.7 MB, free: 12.91 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.454e-06/0.1016, allocations: 8 kB / 498.7 MB, free: 12.9 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.985e-05/0.1016, allocations: 7.938 kB / 498.8 MB, free: 12.89 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001633/0.1018, allocations: 44.36 kB / 498.8 MB, free: 12.85 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.282e-05/0.1018, allocations: 11.92 kB / 498.8 MB, free: 12.84 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001005/0.1019, allocations: 4 kB / 498.8 MB, free: 12.83 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.565e-05/0.1019, allocations: 16 kB / 498.8 MB, free: 12.82 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * Number of states: 0 () * Number of discrete variables: 1 (system.initime) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (22): * Single equations (assignments): 22 * 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.0001248/0.102, allocations: 149.7 kB / 499 MB, free: 12.66 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.231e-05/0.1021, allocations: 23.72 kB / 499 MB, free: 12.64 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001603/0.1023, allocations: 99.31 kB / 499.1 MB, free: 12.53 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.927e-06/0.1023, allocations: 0 / 499.1 MB, free: 12.53 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.835e-06/0.1023, allocations: 3.984 kB / 499.1 MB, free: 12.53 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.482e-05/0.1024, allocations: 96.83 kB / 499.2 MB, free: 12.41 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.443e-05/0.1024, allocations: 0 / 499.2 MB, free: 12.41 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.689e-05/0.1025, allocations: 4 kB / 499.2 MB, free: 12.41 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.954e-05/0.1025, allocations: 7.984 kB / 499.2 MB, free: 12.4 MB / 382.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0002591/0.1028, allocations: 244.2 kB / 499.4 MB, free: 12.16 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0003102/0.1031, allocations: 369.8 kB / 499.8 MB, free: 11.78 MB / 382.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 5.166e-05/0.1032, allocations: 20.34 kB / 499.8 MB, free: 11.76 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001615/0.1033, allocations: 174 kB / 500 MB, free: 11.59 MB / 382.1 MB Notification: Performance of Backend: time 3.91e-07/0.1033, allocations: 0 / 500 MB, free: 11.59 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0004885/0.1038, allocations: 162.2 kB / 0.4884 GB, free: 11.43 MB / 382.1 MB Notification: Performance of SimCode: time 0.001146/0.105, allocations: 0.9904 MB / 0.4894 GB, free: 10.39 MB / 382.1 MB Notification: Performance of Templates: time 0.004956/0.11, allocations: 1.9 MB / 0.4913 GB, free: 8.484 MB / 382.1 MB make -j1 -f PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Source.makefile (rm -f PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Source.pipe ; mkfifo PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Source.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Source.pipe >> ../files/PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Source.sim & ./PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Source -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Source.pipe 2>&1)