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/package.mo", uses=false) Using package PowerSysPro with version 2.3.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1/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.0007669/0.0007669, allocations: 101.6 kB / 16.07 MB, free: 32 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0008734/0.0008735, allocations: 184.8 kB / 16.97 MB, free: 6.875 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.549/1.549, allocations: 223.3 MB / 241 MB, free: 5.355 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1/package.mo): time 0.2098/0.2098, allocations: 8.088 MB / 300.2 MB, free: 2.926 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003741/0.0003741, allocations: 8 kB / 363.5 MB, free: 12.98 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1343/0.1347, allocations: 52.52 MB / 416 MB, free: 8.418 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.MediumNetworks.DoubleNetwork): time 0.005836/0.1406, allocations: 5.4 MB / 421.4 MB, free: 2.996 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.004678/0.1453, allocations: 2.31 MB / 423.7 MB, free: 0.668 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00117/0.1465, allocations: 20 kB / 423.7 MB, free: 0.6484 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001025/0.1476, allocations: 258.8 kB / 424 MB, free: 404 kB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.2482/0.3958, allocations: 0.5296 MB / 424.5 MB, free: 35.84 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003372/0.3992, allocations: 1.377 MB / 425.9 MB, free: 35.82 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.002357/0.4016, allocations: 1.24 MB / 427.1 MB, free: 35.82 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000524/0.4021, allocations: 339.7 kB / 427.5 MB, free: 35.77 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007782/0.4029, allocations: 495 kB / 428 MB, free: 35.69 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007621/0.4037, allocations: 0.6298 MB / 428.6 MB, free: 35.55 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001402/0.4038, allocations: 63.47 kB / 428.6 MB, free: 35.55 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009564/0.4048, allocations: 290.7 kB / 428.9 MB, free: 35.54 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001968/0.405, allocations: 204.9 kB / 429.1 MB, free: 35.48 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006181/0.4056, allocations: 0.5786 MB / 429.7 MB, free: 35.27 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001673/0.4073, allocations: 1.341 MB / 431 MB, free: 35.02 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.705e-06/0.4073, allocations: 0 / 431 MB, free: 35.02 MB / 350.1 MB Notification: Performance of FrontEnd: time 3.216e-06/0.4073, allocations: 3.25 kB / 431.1 MB, free: 35.02 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.355e-05/0.4074, allocations: 0 / 431.1 MB, free: 35.02 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.01193/0.4193, allocations: 2.978 MB / 434 MB, free: 34.21 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.921e-05/0.4194, allocations: 9.219 kB / 434 MB, free: 34.21 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005916/0.42, allocations: 136.6 kB / 434.2 MB, free: 34.14 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001176/0.4211, allocations: 0.6759 MB / 434.8 MB, free: 33.81 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.202e-05/0.4213, allocations: 69.97 kB / 434.9 MB, free: 33.81 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001908/0.4215, allocations: 98.59 kB / 435 MB, free: 33.81 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002261/0.4237, allocations: 1.341 MB / 436.4 MB, free: 33.72 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.952e-05/0.4238, allocations: 7.938 kB / 436.4 MB, free: 33.71 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001101/0.4239, allocations: 38.16 kB / 436.4 MB, free: 33.71 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.693e-05/0.4239, allocations: 23.39 kB / 436.4 MB, free: 33.71 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001674/0.4256, allocations: 1.281 MB / 437.7 MB, free: 33.7 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006388/0.432, allocations: 5.272 MB / 443 MB, free: 30.09 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002452/0.4345, allocations: 3.105 MB / 446.1 MB, free: 27.65 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001121/0.4356, allocations: 0.9784 MB / 447.1 MB, free: 27.17 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001436/0.4358, allocations: 37.44 kB / 447.1 MB, free: 27.17 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.276e-05/0.4358, allocations: 57.95 kB / 447.1 MB, free: 27.11 MB / 350.1 MB Notification: Performance of pre-optimization done (n=147): time 3.466e-06/0.4358, allocations: 0 / 447.1 MB, free: 27.11 MB / 350.1 MB Notification: Performance of matching and sorting (n=147): time 0.0267/0.4625, allocations: 7.049 MB / 454.2 MB, free: 25.2 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.205e-05/0.4627, allocations: 120.4 kB / 454.3 MB, free: 25.07 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009793/0.4637, allocations: 0.6396 MB / 455 MB, free: 24.79 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002752/0.4639, allocations: 63.05 kB / 455 MB, free: 24.73 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000211/0.4642, allocations: 342 kB / 455.4 MB, free: 24.46 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003883/0.4646, allocations: 0.4926 MB / 455.8 MB, free: 24.07 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001788/0.4647, allocations: 142.2 kB / 456 MB, free: 24 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 8.76e-05/0.4648, allocations: 349.4 kB / 456.3 MB, free: 23.68 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001206/0.4661, allocations: 0.8562 MB / 457.2 MB, free: 23.28 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001215/0.4673, allocations: 0.9718 MB / 458.2 MB, free: 22.82 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002528/0.4698, allocations: 1.942 MB / 460.1 MB, free: 21.79 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.091e-06/0.4698, allocations: 3.125 kB / 460.1 MB, free: 21.79 MB / 350.1 MB Notification: Performance of matching and sorting (n=198) (initialization): time 0.009957/0.4798, allocations: 3.824 MB / 463.9 MB, free: 20.28 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.352e-05/0.4799, allocations: 4.469 kB / 463.9 MB, free: 20.28 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.516e-05/0.4799, allocations: 1.344 kB / 463.9 MB, free: 20.28 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01277/0.4927, allocations: 3.947 MB / 467.9 MB, free: 19.87 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001161/0.4939, allocations: 230.3 kB / 468.1 MB, free: 19.84 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02107/0.515, allocations: 10.41 MB / 478.5 MB, free: 13.95 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001552/0.5166, allocations: 145.2 kB / 478.6 MB, free: 13.84 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001432/0.5167, allocations: 54.36 kB / 478.7 MB, free: 13.82 MB / 350.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.0005974/0.5173, allocations: 262.8 kB / 479 MB, free: 13.61 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002552/0.5176, allocations: 104.6 kB / 479.1 MB, free: 13.56 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01038/0.528, allocations: 3.803 MB / 482.9 MB, free: 12.02 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.441e-05/0.528, allocations: 17.36 kB / 482.9 MB, free: 12.02 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.469e-06/0.528, allocations: 0 / 482.9 MB, free: 12.02 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.369e-05/0.5281, allocations: 9.234 kB / 482.9 MB, free: 12.02 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0122/0.5403, allocations: 5.328 MB / 488.2 MB, free: 8.797 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.353e-06/0.5403, allocations: 3.938 kB / 488.2 MB, free: 8.793 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005405/0.5409, allocations: 183.6 kB / 488.4 MB, free: 8.633 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.009662/0.5505, allocations: 2.745 MB / 491.1 MB, free: 5.938 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002343/0.5508, allocations: 32 kB / 491.2 MB, free: 5.906 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01922/0.57, allocations: 10.21 MB / 0.4896 GB, free: 11.55 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.014e-06/0.5701, allocations: 4 kB / 0.4896 GB, free: 11.55 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01018/0.5803, allocations: 3.679 MB / 0.4932 GB, free: 7.844 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004493/0.5807, allocations: 203.3 kB / 0.4934 GB, free: 7.625 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002174/0.581, allocations: 24 kB / 0.4934 GB, free: 7.602 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00108/0.5821, allocations: 116.7 kB / 0.4936 GB, free: 7.496 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005272/0.5826, allocations: 122.4 kB / 0.4937 GB, free: 7.375 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001251/0.5827, allocations: 52 kB / 0.4937 GB, free: 7.324 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0006391/0.5834, allocations: 439 kB / 0.4941 GB, free: 6.898 MB / 366.1 MB Notification: Performance of sort global known variables: time 2.71e-07/0.5834, allocations: 0 / 0.4941 GB, free: 6.898 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.002023/0.5854, allocations: 0.5387 MB / 0.4947 GB, free: 6.359 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (106): * Single equations (assignments): 105 * 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 Backend phase and start with SimCode phase: time 0.0003663/0.5858, allocations: 162.3 kB / 0.4948 GB, free: 6.195 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.007426/0.5932, allocations: 3.116 MB / 0.4979 GB, free: 3.078 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 8.656e-06/0.5933, allocations: 8.656 kB / 0.4979 GB, free: 3.07 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00596/0.5992, allocations: 2.035 MB / 0.4999 GB, free: 1.023 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001132/0.6004, allocations: 142.9 kB / 0.5 GB, free: 0.8789 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003663/0.6041, allocations: 2.634 MB / 0.5026 GB, free: 14.23 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007035/0.6048, allocations: 1.088 MB / 0.5036 GB, free: 13.11 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0006067/0.6054, allocations: 143.5 kB / 0.5038 GB, free: 12.96 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002205/0.6056, allocations: 83.41 kB / 0.5039 GB, free: 12.88 MB / 382.1 MB Notification: Performance of SimCode: time 8.11e-07/0.6056, allocations: 4 kB / 0.5039 GB, free: 12.88 MB / 382.1 MB Notification: Performance of Templates: time 0.05065/0.6563, allocations: 33.71 MB / 0.5368 GB, free: 11.33 MB / 414.1 MB make -j1 -f PowerSysPro_PowerSysPro.Examples.MediumNetworks.DoubleNetwork.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: