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.001141/0.001141, allocations: 106.5 kB / 16.45 MB, free: 6.434 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.001213/0.001213, allocations: 186.4 kB / 17.38 MB, free: 5.656 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.338/1.338, allocations: 222.9 MB / 241.1 MB, free: 15.06 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1/package.mo): time 0.04935/0.04935, allocations: 8.099 MB / 299.3 MB, free: 6.617 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001191/0.001191, allocations: 59.91 kB / 414.5 MB, free: 21.7 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1128/0.114, allocations: 51.51 MB / 466 MB, free: 2.133 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.MediumNetworks.DoubleNetwork): time 0.006814/0.1209, allocations: 5.912 MB / 471.9 MB, free: 12.2 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.00427/0.1252, allocations: 2.341 MB / 474.3 MB, free: 9.844 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004214/0.1256, allocations: 16 kB / 474.3 MB, free: 9.828 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006835/0.1263, allocations: 313.9 kB / 474.6 MB, free: 9.52 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001284/0.1277, allocations: 0.6132 MB / 475.2 MB, free: 8.902 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002637/0.1303, allocations: 1.451 MB / 476.6 MB, free: 7.457 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001604/0.1319, allocations: 1.307 MB / 478 MB, free: 6.145 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005598/0.1325, allocations: 409 kB / 478.4 MB, free: 5.719 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005546/0.1331, allocations: 0.5409 MB / 478.9 MB, free: 5.176 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00078/0.1338, allocations: 0.6924 MB / 479.6 MB, free: 4.48 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001649/0.134, allocations: 107.9 kB / 479.7 MB, free: 4.375 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007677/0.1348, allocations: 343.7 kB / 480 MB, free: 4.039 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002111/0.135, allocations: 259 kB / 480.3 MB, free: 3.785 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005493/0.1356, allocations: 0.6101 MB / 480.9 MB, free: 3.172 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001564/0.1371, allocations: 1.428 MB / 482.3 MB, free: 1.738 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.096e-06/0.1372, allocations: 0 / 482.3 MB, free: 1.738 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.433e-06/0.1372, allocations: 4 kB / 482.3 MB, free: 1.734 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.732e-05/0.1372, allocations: 0 / 482.3 MB, free: 1.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: 206 * Number of variables: 206 Notification: Performance of Generate backend data structure: time 0.01227/0.1495, allocations: 3.188 MB / 485.5 MB, free: 14.49 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.515e-05/0.1495, allocations: 12.03 kB / 485.5 MB, free: 14.48 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000292/0.1498, allocations: 140.1 kB / 485.7 MB, free: 14.34 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001031/0.1509, allocations: 0.676 MB / 486.3 MB, free: 13.62 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.109e-05/0.1509, allocations: 78.31 kB / 486.4 MB, free: 13.55 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001541/0.1511, allocations: 96.38 kB / 486.5 MB, free: 13.46 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0021/0.1532, allocations: 1.35 MB / 487.9 MB, free: 12.09 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.781e-05/0.1532, allocations: 0 / 487.9 MB, free: 12.09 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001033/0.1534, allocations: 36 kB / 487.9 MB, free: 12.05 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.846e-05/0.1534, allocations: 23.98 kB / 487.9 MB, free: 12.03 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001913/0.1553, allocations: 1.277 MB / 489.2 MB, free: 10.75 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006648/0.162, allocations: 5.223 MB / 494.4 MB, free: 5.07 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003029/0.165, allocations: 3.108 MB / 497.5 MB, free: 1.676 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00128/0.1663, allocations: 0.9732 MB / 498.5 MB, free: 0.7031 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001553/0.1665, allocations: 33.27 kB / 498.5 MB, free: 0.6719 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.142e-05/0.1665, allocations: 64.05 kB / 498.6 MB, free: 0.6016 MB / 366.1 MB Notification: Performance of pre-optimization done (n=147): time 2.975e-06/0.1665, allocations: 3.938 kB / 498.6 MB, free: 0.5977 MB / 366.1 MB Notification: Performance of matching and sorting (n=147): time 0.0276/0.1941, allocations: 7.07 MB / 0.4938 GB, free: 9.488 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.885e-05/0.1943, allocations: 124.1 kB / 0.4939 GB, free: 9.344 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009166/0.1952, allocations: 0.641 MB / 0.4946 GB, free: 8.695 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002051/0.1954, allocations: 61.7 kB / 0.4946 GB, free: 8.629 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002527/0.1957, allocations: 342.7 kB / 0.4949 GB, free: 8.293 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004733/0.1962, allocations: 0.515 MB / 0.4954 GB, free: 7.773 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005308/0.1967, allocations: 271.6 kB / 0.4957 GB, free: 7.5 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001549/0.1969, allocations: 345.9 kB / 0.496 GB, free: 7.156 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001282/0.1981, allocations: 0.8552 MB / 0.4969 GB, free: 6.301 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001331/0.1995, allocations: 0.9846 MB / 0.4978 GB, free: 5.316 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002655/0.2022, allocations: 1.932 MB / 0.4997 GB, free: 3.387 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.228e-06/0.2022, allocations: 0 / 0.4997 GB, free: 3.387 MB / 382.1 MB Notification: Performance of matching and sorting (n=198) (initialization): time 0.2299/0.4321, allocations: 3.833 MB / 0.5035 GB, free: 43.48 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.658e-05/0.4321, allocations: 5.5 kB / 0.5035 GB, free: 43.48 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.45e-05/0.4322, allocations: 0.6562 kB / 0.5035 GB, free: 43.48 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01307/0.4453, allocations: 3.932 MB / 0.5073 GB, free: 43.45 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001116/0.4464, allocations: 226.1 kB / 0.5075 GB, free: 43.44 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02335/0.4698, allocations: 11.45 MB / 0.5187 GB, free: 37.82 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00121/0.471, allocations: 143.5 kB / 0.5188 GB, free: 37.75 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000196/0.4712, allocations: 55.53 kB / 0.5189 GB, free: 37.73 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.0005563/0.4718, allocations: 265.2 kB / 0.5191 GB, free: 37.51 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002848/0.4721, allocations: 111.3 kB / 0.5193 GB, free: 37.46 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009362/0.4815, allocations: 3.796 MB / 0.523 GB, free: 35.95 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.275e-05/0.4815, allocations: 15.88 kB / 0.523 GB, free: 35.95 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.717e-06/0.4815, allocations: 0 / 0.523 GB, free: 35.95 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.616e-05/0.4815, allocations: 10.78 kB / 0.523 GB, free: 35.95 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01004/0.4916, allocations: 5.313 MB / 0.5282 GB, free: 33.67 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.997e-06/0.4916, allocations: 3.281 kB / 0.5282 GB, free: 33.67 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005311/0.4922, allocations: 180.9 kB / 0.5284 GB, free: 33.64 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.009308/0.5015, allocations: 2.72 MB / 0.531 GB, free: 32 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001615/0.5017, allocations: 39.98 kB / 0.531 GB, free: 31.96 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01862/0.5203, allocations: 11.25 MB / 0.542 GB, free: 20.59 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.795e-06/0.5203, allocations: 0 / 0.542 GB, free: 20.59 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008623/0.529, allocations: 3.669 MB / 0.5456 GB, free: 16.89 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002445/0.5292, allocations: 208.5 kB / 0.5458 GB, free: 16.69 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001864/0.5294, allocations: 28 kB / 0.5458 GB, free: 16.66 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001036/0.5305, allocations: 99.7 kB / 0.5459 GB, free: 16.57 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000341/0.5308, allocations: 126.4 kB / 0.5461 GB, free: 16.45 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001169/0.531, allocations: 47.98 kB / 0.5461 GB, free: 16.4 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0005082/0.5315, allocations: 443 kB / 0.5465 GB, free: 15.97 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.5315, allocations: 0 / 0.5465 GB, free: 15.97 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001419/0.5329, allocations: 0.5351 MB / 0.547 GB, free: 15.44 MB / 382.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.0002711/0.5332, allocations: 154.1 kB / 0.5472 GB, free: 15.28 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.006443/0.5396, allocations: 3.202 MB / 0.5503 GB, free: 12.07 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 4.438e-06/0.5397, allocations: 0.6562 kB / 0.5503 GB, free: 12.07 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004707/0.5444, allocations: 2.118 MB / 0.5524 GB, free: 9.949 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008616/0.5452, allocations: 144.9 kB / 0.5525 GB, free: 9.812 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003214/0.5485, allocations: 2.216 MB / 0.5547 GB, free: 7.602 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000409/0.5489, allocations: 1.088 MB / 0.5558 GB, free: 6.484 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0004326/0.5493, allocations: 151.5 kB / 0.5559 GB, free: 6.332 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001993/0.5495, allocations: 87.34 kB / 0.556 GB, free: 6.246 MB / 382.1 MB Notification: Performance of SimCode: time 1.473e-06/0.5495, allocations: 0 / 0.556 GB, free: 6.246 MB / 382.1 MB Notification: Performance of Templates: time 0.05487/0.6044, allocations: 37.04 MB / 0.5922 GB, free: 1.344 MB / 414.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)