Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSysPro_PowerSysPro.Examples.MediumNetworks.Network.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1-master/package.mo", uses=false) Using package PowerSysPro with version 2.3.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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(PowerSysPro.Examples.MediumNetworks.Network,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSysPro_PowerSysPro.Examples.MediumNetworks.Network") translateModel(PowerSysPro.Examples.MediumNetworks.Network,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSysPro_PowerSysPro.Examples.MediumNetworks.Network") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001545/0.001545, allocations: 117 kB / 17.14 MB, free: 5.91 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.001816/0.001816, allocations: 191.3 kB / 18.07 MB, free: 4.996 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.347/1.347, allocations: 222.9 MB / 241.8 MB, free: 15.04 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1-master/package.mo): time 0.04707/0.04707, allocations: 8.099 MB / 300 MB, free: 6.613 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001266/0.001266, allocations: 63.91 kB / 415.2 MB, free: 21.69 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08644/0.08772, allocations: 51.51 MB / 466.7 MB, free: 2.129 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.MediumNetworks.Network): time 0.005636/0.09341, allocations: 3.854 MB / 470.5 MB, free: 14.27 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.003697/0.09713, allocations: 1.96 MB / 472.5 MB, free: 12.29 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004695/0.09763, allocations: 12 kB / 472.5 MB, free: 12.28 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000667/0.09831, allocations: 226.5 kB / 472.7 MB, free: 12.05 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001195/0.09955, allocations: 389.5 kB / 473.1 MB, free: 11.67 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002476/0.102, allocations: 1.315 MB / 474.4 MB, free: 10.36 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001008/0.1031, allocations: 0.7931 MB / 475.2 MB, free: 9.562 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003544/0.1034, allocations: 253.6 kB / 475.5 MB, free: 9.309 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003169/0.1038, allocations: 342.6 kB / 475.8 MB, free: 8.973 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004517/0.1042, allocations: 422.2 kB / 476.2 MB, free: 8.559 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000102/0.1043, allocations: 60 kB / 476.3 MB, free: 8.5 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005621/0.1049, allocations: 303.8 kB / 476.6 MB, free: 8.203 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001296/0.105, allocations: 159.3 kB / 476.7 MB, free: 8.047 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003171/0.1054, allocations: 386 kB / 477.1 MB, free: 7.668 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009491/0.1063, allocations: 0.9268 MB / 478 MB, free: 6.738 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.274e-05/0.1063, allocations: 4 kB / 478 MB, free: 6.734 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.252e-06/0.1063, allocations: 0 / 478 MB, free: 6.734 MB / 350.1 MB Notification: Performance of Transformations before backend: time 9.127e-06/0.1064, allocations: 0 / 478 MB, free: 6.734 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 126 * Number of variables: 126 Notification: Performance of Generate backend data structure: time 0.008104/0.1145, allocations: 2.132 MB / 480.2 MB, free: 4.547 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.222e-05/0.1145, allocations: 11.89 kB / 480.2 MB, free: 4.535 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001787/0.1147, allocations: 87.94 kB / 480.3 MB, free: 4.449 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006491/0.1154, allocations: 485.7 kB / 480.7 MB, free: 3.934 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.292e-05/0.1154, allocations: 45.38 kB / 480.8 MB, free: 3.891 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001024/0.1155, allocations: 64.38 kB / 480.8 MB, free: 3.828 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001249/0.1168, allocations: 0.8314 MB / 481.7 MB, free: 2.984 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.463e-05/0.1168, allocations: 4.188 kB / 481.7 MB, free: 2.98 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.032e-05/0.1169, allocations: 23.94 kB / 481.7 MB, free: 2.957 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.146e-05/0.1169, allocations: 12 kB / 481.7 MB, free: 2.945 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001164/0.1181, allocations: 0.7848 MB / 482.5 MB, free: 2.156 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00421/0.1223, allocations: 3.319 MB / 485.8 MB, free: 14.53 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001672/0.124, allocations: 1.364 MB / 487.2 MB, free: 13.08 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007568/0.1248, allocations: 0.5883 MB / 487.8 MB, free: 12.5 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.626e-05/0.1249, allocations: 20.98 kB / 487.8 MB, free: 12.48 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.515e-05/0.1249, allocations: 51.5 kB / 487.8 MB, free: 12.41 MB / 366.1 MB Notification: Performance of pre-optimization done (n=89): time 3.316e-06/0.1249, allocations: 0 / 487.8 MB, free: 12.41 MB / 366.1 MB Notification: Performance of matching and sorting (n=89): time 0.01482/0.1397, allocations: 3.965 MB / 491.8 MB, free: 8.418 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.49e-05/0.1398, allocations: 111.8 kB / 491.9 MB, free: 8.285 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005685/0.1404, allocations: 441.7 kB / 492.3 MB, free: 7.848 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 0.000117/0.1405, allocations: 45.7 kB / 492.4 MB, free: 7.797 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001828/0.1407, allocations: 233.4 kB / 492.6 MB, free: 7.562 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002546/0.141, allocations: 303.5 kB / 492.9 MB, free: 7.262 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003155/0.1413, allocations: 182.6 kB / 493.1 MB, free: 7.078 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001448/0.1415, allocations: 374.7 kB / 493.5 MB, free: 6.703 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008482/0.1423, allocations: 0.5408 MB / 494 MB, free: 6.16 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009069/0.1432, allocations: 0.6146 MB / 494.6 MB, free: 5.539 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001833/0.1451, allocations: 1.213 MB / 495.8 MB, free: 4.324 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.138e-06/0.1451, allocations: 0 / 495.8 MB, free: 4.324 MB / 366.1 MB Notification: Performance of matching and sorting (n=124) (initialization): time 0.006682/0.1518, allocations: 2.382 MB / 498.2 MB, free: 1.934 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.635e-05/0.1518, allocations: 4 kB / 498.2 MB, free: 1.93 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.578e-06/0.1518, allocations: 0 / 498.2 MB, free: 1.93 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006869/0.1587, allocations: 1.765 MB / 500 MB, free: 164 kB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007834/0.1596, allocations: 151.8 kB / 0.4884 GB, free: 12 kB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01425/0.1738, allocations: 7.352 MB / 0.4956 GB, free: 8.523 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007832/0.1746, allocations: 91.2 kB / 0.4957 GB, free: 8.434 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001018/0.1748, allocations: 31.98 kB / 0.4957 GB, free: 8.402 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * 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 (87): * Single equations (assignments): 86 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(18,20)} Notification: Performance of prepare postOptimizeDAE: time 0.0003462/0.1751, allocations: 205.7 kB / 0.4959 GB, free: 8.191 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001848/0.1753, allocations: 63.25 kB / 0.496 GB, free: 8.129 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006521/0.1818, allocations: 2.327 MB / 0.4982 GB, free: 5.789 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.283e-05/0.1819, allocations: 7.969 kB / 0.4982 GB, free: 5.781 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.526e-06/0.1819, allocations: 4 kB / 0.4982 GB, free: 5.777 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001772/0.1821, allocations: 156 kB / 0.4984 GB, free: 5.605 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001071/0.1822, allocations: 16 kB / 0.4984 GB, free: 5.59 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006707/0.1829, allocations: 59.89 kB / 0.4985 GB, free: 5.531 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002318/0.1831, allocations: 112.8 kB / 0.4986 GB, free: 5.418 MB / 382.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.005284/0.1884, allocations: 1.907 MB / 0.5004 GB, free: 3.5 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.002665/0.1911, allocations: 1.79 MB / 0.5022 GB, free: 1.695 MB / 382.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0006893/0.1918, allocations: 483.8 kB / 0.5026 GB, free: 1.223 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0003866/0.1922, allocations: 295.1 kB / 0.5029 GB, free: 0.9297 MB / 382.1 MB Notification: Performance of Backend: time 5.21e-07/0.1922, allocations: 3.938 kB / 0.5029 GB, free: 0.9258 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.1871/0.3793, allocations: 1.659 MB / 0.5046 GB, free: 45.99 MB / 382.1 MB Notification: Performance of SimCode: time 0.001923/0.3812, allocations: 1.812 MB / 0.5063 GB, free: 44.96 MB / 382.1 MB Notification: Performance of Templates: time 0.02963/0.4109, allocations: 20.92 MB / 0.5267 GB, free: 37.3 MB / 382.1 MB make -j1 -f PowerSysPro_PowerSysPro.Examples.MediumNetworks.Network.makefile (rm -f PowerSysPro_PowerSysPro.Examples.MediumNetworks.Network.pipe ; mkfifo PowerSysPro_PowerSysPro.Examples.MediumNetworks.Network.pipe ; head -c 1048576 < PowerSysPro_PowerSysPro.Examples.MediumNetworks.Network.pipe >> ../files/PowerSysPro_PowerSysPro.Examples.MediumNetworks.Network.sim & ./PowerSysPro_PowerSysPro.Examples.MediumNetworks.Network -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerSysPro_PowerSysPro.Examples.MediumNetworks.Network.pipe 2>&1)