Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSysPro_PowerSysPro.Examples.MediumNetworks.DoubleNetwork.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.DoubleNetwork,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSysPro_PowerSysPro.Examples.MediumNetworks.DoubleNetwork") translateModel(PowerSysPro.Examples.MediumNetworks.DoubleNetwork,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSysPro_PowerSysPro.Examples.MediumNetworks.DoubleNetwork") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001096/0.001096, allocations: 106.8 kB / 17.13 MB, free: 5.961 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.001118/0.001118, allocations: 195.2 kB / 18.07 MB, free: 5.039 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.3/1.3, allocations: 222.9 MB / 241.8 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1-master/package.mo): time 0.04641/0.04641, allocations: 8.101 MB / 300 MB, free: 6.652 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001171/0.001171, allocations: 63.91 kB / 415.2 MB, free: 21.72 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08301/0.08419, allocations: 51.52 MB / 466.7 MB, free: 2.152 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.MediumNetworks.DoubleNetwork): time 0.006358/0.09058, allocations: 5.9 MB / 472.6 MB, free: 12.23 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.004832/0.09544, allocations: 2.337 MB / 474.9 MB, free: 9.879 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001295/0.09677, allocations: 16 kB / 475 MB, free: 9.863 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009537/0.09774, allocations: 325.8 kB / 475.3 MB, free: 9.543 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001861/0.09966, allocations: 0.6055 MB / 475.9 MB, free: 8.934 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002765/0.1024, allocations: 1.459 MB / 477.3 MB, free: 7.48 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001529/0.104, allocations: 1.303 MB / 478.6 MB, free: 6.172 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005146/0.1045, allocations: 413 kB / 479 MB, free: 5.742 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004683/0.105, allocations: 0.537 MB / 479.6 MB, free: 5.203 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007126/0.1057, allocations: 0.7002 MB / 480.3 MB, free: 4.5 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001503/0.1059, allocations: 104 kB / 480.4 MB, free: 4.398 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000578/0.1064, allocations: 343.8 kB / 480.7 MB, free: 4.062 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001927/0.1066, allocations: 262.9 kB / 481 MB, free: 3.805 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004994/0.1072, allocations: 0.6063 MB / 481.6 MB, free: 3.195 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001272/0.1084, allocations: 1.421 MB / 483 MB, free: 1.77 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.406e-06/0.1084, allocations: 0 / 483 MB, free: 1.77 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.423e-06/0.1085, allocations: 0 / 483 MB, free: 1.77 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.15e-05/0.1085, allocations: 4 kB / 483 MB, free: 1.766 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: 206 * Number of variables: 206 Notification: Performance of Generate backend data structure: time 0.01215/0.1206, allocations: 3.147 MB / 486.2 MB, free: 14.57 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.431e-05/0.1207, allocations: 8.031 kB / 486.2 MB, free: 14.56 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002806/0.121, allocations: 139.4 kB / 486.3 MB, free: 14.42 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009708/0.122, allocations: 0.6754 MB / 487 MB, free: 13.7 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.347e-05/0.122, allocations: 78.36 kB / 487 MB, free: 13.63 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001578/0.1222, allocations: 96.38 kB / 487.1 MB, free: 13.54 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002018/0.1242, allocations: 1.346 MB / 488.5 MB, free: 12.17 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.02e-05/0.1242, allocations: 0 / 488.5 MB, free: 12.17 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001206/0.1244, allocations: 40 kB / 488.5 MB, free: 12.13 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.906e-05/0.1244, allocations: 20 kB / 488.5 MB, free: 12.11 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001934/0.1263, allocations: 1.281 MB / 489.8 MB, free: 10.83 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006611/0.133, allocations: 5.215 MB / 495 MB, free: 5.156 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002829/0.1358, allocations: 3.104 MB / 498.1 MB, free: 1.766 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001215/0.137, allocations: 0.9732 MB / 499.1 MB, free: 0.793 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000133/0.1372, allocations: 41.25 kB / 499.2 MB, free: 0.7539 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.163e-05/0.1372, allocations: 59.98 kB / 499.2 MB, free: 0.6875 MB / 366.1 MB Notification: Performance of pre-optimization done (n=147): time 3.566e-06/0.1372, allocations: 3.938 kB / 499.2 MB, free: 0.6836 MB / 366.1 MB Notification: Performance of matching and sorting (n=147): time 0.0276/0.1648, allocations: 7.069 MB / 0.4944 GB, free: 9.578 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.856e-05/0.1649, allocations: 120.1 kB / 0.4945 GB, free: 9.438 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008288/0.1658, allocations: 0.6447 MB / 0.4952 GB, free: 8.785 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001701/0.166, allocations: 61.7 kB / 0.4952 GB, free: 8.719 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002553/0.1662, allocations: 338.4 kB / 0.4955 GB, free: 8.383 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004192/0.1666, allocations: 496.6 kB / 0.496 GB, free: 7.891 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004725/0.1671, allocations: 275.6 kB / 0.4963 GB, free: 7.613 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001402/0.1673, allocations: 349.9 kB / 0.4966 GB, free: 7.266 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001263/0.1685, allocations: 0.8552 MB / 0.4975 GB, free: 6.41 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001383/0.1699, allocations: 0.9807 MB / 0.4984 GB, free: 5.43 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00282/0.1728, allocations: 1.939 MB / 0.5003 GB, free: 3.492 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.27e-06/0.1728, allocations: 0 / 0.5003 GB, free: 3.492 MB / 382.1 MB Notification: Performance of matching and sorting (n=198) (initialization): time 0.2088/0.3816, allocations: 3.819 MB / 0.504 GB, free: 43.46 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.639e-05/0.3817, allocations: 5.188 kB / 0.504 GB, free: 43.46 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.118e-05/0.3817, allocations: 0.9375 kB / 0.504 GB, free: 43.46 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01193/0.3936, allocations: 3.935 MB / 0.5079 GB, free: 43.43 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009284/0.3946, allocations: 227.1 kB / 0.5081 GB, free: 43.43 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02043/0.415, allocations: 11.43 MB / 0.5193 GB, free: 37.83 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001101/0.4162, allocations: 141.2 kB / 0.5194 GB, free: 37.76 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001132/0.4163, allocations: 51.08 kB / 0.5194 GB, free: 37.75 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 (135): * Single equations (assignments): 134 * 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 {(32,32)} Notification: Performance of prepare postOptimizeDAE: time 0.0004196/0.4167, allocations: 260.9 kB / 0.5197 GB, free: 37.54 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002007/0.4169, allocations: 108.7 kB / 0.5198 GB, free: 37.48 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009522/0.4265, allocations: 3.801 MB / 0.5235 GB, free: 35.96 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.753e-05/0.4265, allocations: 7.359 kB / 0.5235 GB, free: 35.96 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.899e-06/0.4265, allocations: 0 / 0.5235 GB, free: 35.96 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001902/0.4267, allocations: 206.4 kB / 0.5237 GB, free: 35.78 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001476/0.4269, allocations: 23.97 kB / 0.5237 GB, free: 35.76 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009273/0.4278, allocations: 94.22 kB / 0.5238 GB, free: 35.73 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003295/0.4281, allocations: 197.8 kB / 0.524 GB, free: 35.72 MB / 382.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.007194/0.4353, allocations: 3.011 MB / 0.527 GB, free: 34.54 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.003252/0.4386, allocations: 2.784 MB / 0.5297 GB, free: 33.13 MB / 382.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0009615/0.4396, allocations: 0.7652 MB / 0.5304 GB, free: 32.77 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.000488/0.4401, allocations: 438.4 kB / 0.5308 GB, free: 32.4 MB / 382.1 MB Notification: Performance of Backend: time 6.31e-07/0.4401, allocations: 0 / 0.5308 GB, free: 32.4 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.006456/0.4465, allocations: 2.582 MB / 0.5334 GB, free: 30.13 MB / 382.1 MB Notification: Performance of SimCode: time 0.002555/0.4491, allocations: 2.684 MB / 0.536 GB, free: 27.62 MB / 382.1 MB Notification: Performance of Templates: time 0.03436/0.4835, allocations: 32.62 MB / 0.5678 GB, free: 11.22 MB / 398.1 MB make -j1 -f PowerSysPro_PowerSysPro.Examples.MediumNetworks.DoubleNetwork.makefile (rm -f PowerSysPro_PowerSysPro.Examples.MediumNetworks.DoubleNetwork.pipe ; mkfifo PowerSysPro_PowerSysPro.Examples.MediumNetworks.DoubleNetwork.pipe ; head -c 1048576 < PowerSysPro_PowerSysPro.Examples.MediumNetworks.DoubleNetwork.pipe >> ../files/PowerSysPro_PowerSysPro.Examples.MediumNetworks.DoubleNetwork.sim & ./PowerSysPro_PowerSysPro.Examples.MediumNetworks.DoubleNetwork -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerSysPro_PowerSysPro.Examples.MediumNetworks.DoubleNetwork.pipe 2>&1)