Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.LoadAC.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.LoadAC,tolerance=1e-06,outputFormat="empty",numberOfIntervals=20000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.LoadAC") translateModel(PowerSystems.Examples.AC1ph_DC.Elementary.LoadAC,tolerance=1e-06,outputFormat="empty",numberOfIntervals=20000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.LoadAC") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001499/0.001499, allocations: 106.3 kB / 17.74 MB, free: 5.336 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.001773/0.001773, allocations: 185.4 kB / 18.67 MB, free: 4.418 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.302/1.302, allocations: 205.1 MB / 224.5 MB, free: 12.23 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1/package.mo): time 0.1717/0.1717, allocations: 37.98 MB / 309.9 MB, free: 5.953 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.001485/0.001485, allocations: 67.91 kB / 432.5 MB, free: 15.66 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08967/0.09117, allocations: 55.24 MB / 487.8 MB, free: 8.355 MB / 366.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Elementary.LoadAC): time 0.005671/0.09687, allocations: 4.215 MB / 492 MB, free: 4.109 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.001789/0.09868, allocations: 0.9792 MB / 493 MB, free: 3.125 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002751/0.09898, allocations: 7.938 kB / 493 MB, free: 3.117 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002635/0.09926, allocations: 59.44 kB / 493 MB, free: 3.059 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006322/0.09992, allocations: 190.9 kB / 493.2 MB, free: 2.871 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002515/0.1002, allocations: 95.86 kB / 493.3 MB, free: 2.777 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006067/0.1008, allocations: 494.2 kB / 493.8 MB, free: 2.293 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002613/0.1011, allocations: 147.3 kB / 494 MB, free: 2.152 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003903/0.1015, allocations: 215.2 kB / 494.2 MB, free: 1.941 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004769/0.102, allocations: 251.1 kB / 494.4 MB, free: 1.695 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 7.558e-05/0.1021, allocations: 27.94 kB / 494.4 MB, free: 1.668 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.54e-05/0.1022, allocations: 28 kB / 494.5 MB, free: 1.641 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001509/0.1023, allocations: 119.7 kB / 494.6 MB, free: 1.523 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002353/0.1026, allocations: 179.1 kB / 494.8 MB, free: 1.348 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004295/0.103, allocations: 382.5 kB / 495.1 MB, free: 0.9727 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.486e-06/0.103, allocations: 4 kB / 495.1 MB, free: 0.9688 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.533e-06/0.103, allocations: 0 / 495.1 MB, free: 0.9688 MB / 366.1 MB Notification: Performance of Transformations before backend: time 1.421e-05/0.103, allocations: 0 / 495.1 MB, free: 0.9688 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: 64 * Number of variables: 64 Notification: Performance of Generate backend data structure: time 0.00144/0.1045, allocations: 0.6906 MB / 495.8 MB, free: 232 kB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.617e-05/0.1045, allocations: 15.89 kB / 495.8 MB, free: 216 kB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.592e-05/0.1046, allocations: 40.47 kB / 495.9 MB, free: 176 kB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007116/0.1054, allocations: 407 kB / 496.3 MB, free: 15.74 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.194e-05/0.1054, allocations: 24.5 kB / 496.3 MB, free: 15.71 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.084e-05/0.1055, allocations: 24 kB / 496.3 MB, free: 15.69 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005348/0.106, allocations: 356.7 kB / 496.7 MB, free: 15.31 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.282e-05/0.106, allocations: 4 kB / 496.7 MB, free: 15.3 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.88e-05/0.1061, allocations: 8 kB / 496.7 MB, free: 15.3 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.217e-06/0.1061, allocations: 8 kB / 496.7 MB, free: 15.29 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004108/0.1065, allocations: 261.9 kB / 496.9 MB, free: 15.04 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001831/0.1083, allocations: 1.438 MB / 498.4 MB, free: 13.5 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002505/0.1086, allocations: 157.1 kB / 498.5 MB, free: 13.33 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001191/0.1087, allocations: 85.67 kB / 498.6 MB, free: 13.24 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.176e-05/0.1087, allocations: 3.984 kB / 498.6 MB, free: 13.23 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.754e-05/0.1088, allocations: 46.5 kB / 498.7 MB, free: 13.18 MB / 382.1 MB Notification: Performance of pre-optimization done (n=15): time 1.813e-06/0.1088, allocations: 0 / 498.7 MB, free: 13.18 MB / 382.1 MB Notification: Performance of matching and sorting (n=16): time 0.001128/0.1099, allocations: 0.6655 MB / 499.3 MB, free: 12.46 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.225e-05/0.11, allocations: 89.03 kB / 499.4 MB, free: 12.36 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002958/0.1103, allocations: 296.5 kB / 499.7 MB, free: 12.05 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.929e-05/0.1103, allocations: 25.7 kB / 499.7 MB, free: 12.02 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000137/0.1105, allocations: 223.7 kB / 500 MB, free: 11.8 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.849e-05/0.1105, allocations: 59.19 kB / 0.4883 GB, free: 11.74 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.462e-05/0.1106, allocations: 49.7 kB / 0.4883 GB, free: 11.69 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001151/0.1107, allocations: 334.8 kB / 0.4887 GB, free: 11.35 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001137/0.1109, allocations: 63.95 kB / 0.4887 GB, free: 11.29 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001673/0.111, allocations: 164.8 kB / 0.4889 GB, free: 11.08 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003171/0.1114, allocations: 256.6 kB / 0.4891 GB, free: 10.79 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.879e-06/0.1114, allocations: 4 kB / 0.4891 GB, free: 10.78 MB / 382.1 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0004118/0.1118, allocations: 293.1 kB / 0.4894 GB, free: 10.49 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.655e-05/0.1118, allocations: 7.938 kB / 0.4894 GB, free: 10.48 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.656e-06/0.1118, allocations: 4 kB / 0.4894 GB, free: 10.48 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.745e-05/0.1118, allocations: 7.984 kB / 0.4894 GB, free: 10.47 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002565/0.1121, allocations: 59.91 kB / 0.4895 GB, free: 10.41 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.504e-05/0.1121, allocations: 7.938 kB / 0.4895 GB, free: 10.4 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001737/0.1123, allocations: 19.92 kB / 0.4895 GB, free: 10.38 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.042e-05/0.1123, allocations: 12 kB / 0.4895 GB, free: 10.37 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 (29): * Single equations (assignments): 29 * 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.0001577/0.1125, allocations: 161.8 kB / 0.4897 GB, free: 10.2 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.764e-05/0.1126, allocations: 39.56 kB / 0.4897 GB, free: 10.16 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003721/0.1129, allocations: 235.4 kB / 0.4899 GB, free: 9.926 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.298e-06/0.113, allocations: 0 / 0.4899 GB, free: 9.926 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.593e-06/0.113, allocations: 4 kB / 0.4899 GB, free: 9.922 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.745e-05/0.1131, allocations: 108.7 kB / 0.49 GB, free: 9.797 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.76e-05/0.1131, allocations: 3.984 kB / 0.4901 GB, free: 9.793 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001603/0.1133, allocations: 8 kB / 0.4901 GB, free: 9.785 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.024e-05/0.1133, allocations: 11.98 kB / 0.4901 GB, free: 9.773 MB / 382.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0004965/0.1138, allocations: 380 kB / 0.4904 GB, free: 9.395 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0005443/0.1144, allocations: 0.5562 MB / 0.491 GB, free: 8.82 MB / 382.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001143/0.1145, allocations: 79.98 kB / 0.4911 GB, free: 8.742 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.000196/0.1147, allocations: 211 kB / 0.4913 GB, free: 8.539 MB / 382.1 MB Notification: Performance of Backend: time 4.91e-07/0.1147, allocations: 8.031 kB / 0.4913 GB, free: 8.531 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0005868/0.1153, allocations: 198.4 kB / 0.4914 GB, free: 8.332 MB / 382.1 MB Notification: Performance of SimCode: time 0.001356/0.1167, allocations: 1.097 MB / 0.4925 GB, free: 7.18 MB / 382.1 MB Notification: Performance of Templates: time 0.007059/0.1237, allocations: 3.159 MB / 0.4956 GB, free: 4.012 MB / 382.1 MB make -j1 -f PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.LoadAC.makefile (rm -f PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.LoadAC.pipe ; mkfifo PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.LoadAC.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.LoadAC.pipe >> ../files/PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.LoadAC.sim & ./PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.LoadAC -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.LoadAC.pipe 2>&1)