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.001141/0.001141, allocations: 112 kB / 17.13 MB, free: 5.898 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.001158/0.001158, allocations: 195.3 kB / 18.07 MB, free: 4.977 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.311/1.311, 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.04464/0.04464, allocations: 8.093 MB / 300 MB, free: 6.625 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001169/0.001169, allocations: 59.91 kB / 415.2 MB, free: 21.7 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07506/0.07624, allocations: 51.52 MB / 466.7 MB, free: 2.137 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.MediumNetworks.DoubleNetwork): time 0.006182/0.08246, allocations: 5.911 MB / 472.6 MB, free: 12.21 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.003278/0.08576, allocations: 2.333 MB / 474.9 MB, free: 9.859 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002975/0.08607, allocations: 16 kB / 474.9 MB, free: 9.844 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005759/0.08666, allocations: 325.8 kB / 475.3 MB, free: 9.523 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001082/0.08776, allocations: 0.6055 MB / 475.9 MB, free: 8.914 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002674/0.09045, allocations: 1.455 MB / 477.3 MB, free: 7.465 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001361/0.09182, allocations: 1.303 MB / 478.6 MB, free: 6.156 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005941/0.09242, allocations: 409 kB / 479 MB, free: 5.73 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006987/0.09313, allocations: 0.5409 MB / 479.6 MB, free: 5.188 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007727/0.09391, allocations: 0.7041 MB / 480.3 MB, free: 4.48 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001529/0.09407, allocations: 100 kB / 480.4 MB, free: 4.383 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006249/0.09471, allocations: 351.7 kB / 480.7 MB, free: 4.039 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001993/0.09492, allocations: 262.9 kB / 481 MB, free: 3.781 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000545/0.09547, allocations: 0.6063 MB / 481.6 MB, free: 3.172 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001468/0.09694, allocations: 1.421 MB / 483 MB, free: 1.746 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.821e-06/0.09696, allocations: 4 kB / 483 MB, free: 1.742 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.633e-06/0.09697, allocations: 0 / 483 MB, free: 1.742 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.314e-05/0.09699, allocations: 0 / 483 MB, free: 1.742 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.01245/0.1094, allocations: 3.143 MB / 486.1 MB, free: 14.55 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.754e-05/0.1095, allocations: 15.89 kB / 486.2 MB, free: 14.53 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002578/0.1098, allocations: 135.4 kB / 486.3 MB, free: 14.4 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009678/0.1107, allocations: 0.691 MB / 487 MB, free: 13.66 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.641e-05/0.1108, allocations: 70.38 kB / 487.1 MB, free: 13.6 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001521/0.1109, allocations: 96.38 kB / 487.1 MB, free: 13.5 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002067/0.113, allocations: 1.346 MB / 488.5 MB, free: 12.14 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.625e-05/0.113, allocations: 0 / 488.5 MB, free: 12.14 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001211/0.1132, allocations: 40 kB / 488.5 MB, free: 12.1 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.755e-05/0.1132, allocations: 24 kB / 488.6 MB, free: 12.07 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001865/0.1151, allocations: 1.277 MB / 489.8 MB, free: 10.8 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006444/0.1215, allocations: 5.207 MB / 495 MB, free: 5.133 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002889/0.1244, allocations: 3.104 MB / 498.1 MB, free: 1.742 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001256/0.1257, allocations: 0.981 MB / 499.1 MB, free: 0.7617 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001418/0.1258, allocations: 41.25 kB / 499.2 MB, free: 0.7227 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.983e-05/0.1259, allocations: 63.92 kB / 499.2 MB, free: 0.6523 MB / 366.1 MB Notification: Performance of pre-optimization done (n=147): time 3.186e-06/0.1259, allocations: 0 / 499.2 MB, free: 0.6523 MB / 366.1 MB Notification: Performance of matching and sorting (n=147): time 0.02781/0.1537, allocations: 7.061 MB / 0.4944 GB, free: 9.555 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.603e-05/0.1538, allocations: 124.1 kB / 0.4945 GB, free: 9.41 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008858/0.1547, allocations: 0.6408 MB / 0.4952 GB, free: 8.762 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001661/0.1549, allocations: 65.7 kB / 0.4952 GB, free: 8.691 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002503/0.1552, allocations: 334.4 kB / 0.4955 GB, free: 8.359 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004123/0.1556, allocations: 0.4888 MB / 0.496 GB, free: 7.863 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005201/0.1561, allocations: 275.6 kB / 0.4963 GB, free: 7.586 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001306/0.1563, allocations: 353.9 kB / 0.4966 GB, free: 7.234 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001317/0.1576, allocations: 0.8552 MB / 0.4975 GB, free: 6.379 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001411/0.159, allocations: 0.9767 MB / 0.4984 GB, free: 5.402 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002839/0.1618, allocations: 1.936 MB / 0.5003 GB, free: 3.469 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.699e-06/0.1619, allocations: 0 / 0.5003 GB, free: 3.469 MB / 382.1 MB Notification: Performance of matching and sorting (n=198) (initialization): time 0.1851/0.347, allocations: 3.819 MB / 0.504 GB, free: 43.46 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.724e-05/0.3471, allocations: 6.109 kB / 0.504 GB, free: 43.46 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.09e-05/0.3471, allocations: 0 / 0.504 GB, free: 43.46 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01177/0.3589, allocations: 3.935 MB / 0.5079 GB, free: 43.44 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009301/0.3598, allocations: 227.6 kB / 0.5081 GB, free: 43.44 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02067/0.3805, allocations: 11.43 MB / 0.5193 GB, free: 37.82 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001098/0.3816, allocations: 134.7 kB / 0.5194 GB, free: 37.76 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001126/0.3817, allocations: 55.67 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.0004118/0.3822, allocations: 268.7 kB / 0.5197 GB, free: 37.53 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002013/0.3824, allocations: 112.2 kB / 0.5198 GB, free: 37.47 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009435/0.3918, allocations: 3.789 MB / 0.5235 GB, free: 35.97 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.484e-05/0.3918, allocations: 7.594 kB / 0.5235 GB, free: 35.97 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.498e-06/0.3918, allocations: 0 / 0.5235 GB, free: 35.97 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001452/0.392, allocations: 202.5 kB / 0.5237 GB, free: 35.79 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001595/0.3922, allocations: 23.94 kB / 0.5237 GB, free: 35.77 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009609/0.3931, allocations: 86.2 kB / 0.5238 GB, free: 35.75 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002972/0.3934, allocations: 210 kB / 0.524 GB, free: 35.73 MB / 382.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.00734/0.4008, allocations: 3.024 MB / 0.527 GB, free: 34.54 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.003391/0.4042, allocations: 2.771 MB / 0.5297 GB, free: 33.14 MB / 382.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.000878/0.4051, allocations: 0.7666 MB / 0.5304 GB, free: 32.76 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0004756/0.4056, allocations: 442.7 kB / 0.5308 GB, free: 32.39 MB / 382.1 MB Notification: Performance of Backend: time 5.31e-07/0.4056, allocations: 3.938 kB / 0.5308 GB, free: 32.39 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.006532/0.4121, allocations: 2.576 MB / 0.5334 GB, free: 30.12 MB / 382.1 MB Notification: Performance of SimCode: time 0.00228/0.4144, allocations: 2.679 MB / 0.536 GB, free: 27.61 MB / 382.1 MB Notification: Performance of Templates: time 0.03517/0.4496, allocations: 32.63 MB / 0.5678 GB, free: 11.17 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)