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/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/ModelicaServices 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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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) 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/Complex 4.0.0+maint.om/package.mo): time 0.00106/0.00106, allocations: 186.9 kB / 16.68 MB, free: 5.082 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.419/1.419, allocations: 222.9 MB / 240.3 MB, free: 11 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009675/0.0009676, allocations: 110.8 kB / 290.6 MB, free: 10.94 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1/package.mo): time 0.04794/0.04794, allocations: 8.09 MB / 348.8 MB, free: 0.6953 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001016/0.001016, allocations: 51.19 kB / 411.1 MB, free: 57.59 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09054/0.09158, allocations: 51.53 MB / 462.6 MB, free: 6.055 MB / 298.7 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.MediumNetworks.DoubleNetwork): time 0.004516/0.09612, allocations: 5.86 MB / 468.5 MB, free: 176 kB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.003468/0.09962, allocations: 2.33 MB / 470.8 MB, free: 13.82 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003663/0.1, allocations: 16 kB / 470.8 MB, free: 13.81 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006111/0.1006, allocations: 262.8 kB / 471.1 MB, free: 13.55 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00108/0.1017, allocations: 0.536 MB / 471.6 MB, free: 13.01 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002506/0.1043, allocations: 1.412 MB / 473 MB, free: 11.61 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.001586/0.1058, allocations: 1.26 MB / 474.3 MB, free: 10.34 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004885/0.1063, allocations: 338.3 kB / 474.6 MB, free: 9.996 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006615/0.107, allocations: 0.5135 MB / 475.1 MB, free: 9.48 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000721/0.1077, allocations: 0.6768 MB / 475.8 MB, free: 8.801 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001286/0.1079, allocations: 72 kB / 475.9 MB, free: 8.73 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006598/0.1086, allocations: 311.8 kB / 476.2 MB, free: 8.426 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001934/0.1088, allocations: 238.8 kB / 476.4 MB, free: 8.191 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0005166/0.1093, allocations: 0.5789 MB / 477 MB, free: 7.609 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001284/0.1106, allocations: 1.382 MB / 478.4 MB, free: 6.223 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.047e-06/0.1106, allocations: 0 / 478.4 MB, free: 6.223 MB / 314.7 MB Notification: Performance of FrontEnd: time 9.21e-07/0.1106, allocations: 0 / 478.4 MB, free: 6.223 MB / 314.7 MB Notification: Performance of Transformations before backend: time 1.203e-05/0.1106, allocations: 0 / 478.4 MB, free: 6.223 MB / 314.7 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.01275/0.1234, allocations: 3.161 MB / 481.5 MB, free: 3.012 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.906e-05/0.1234, allocations: 12.03 kB / 481.6 MB, free: 3 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003477/0.1238, allocations: 135.4 kB / 481.7 MB, free: 2.867 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00115/0.125, allocations: 0.6677 MB / 482.4 MB, free: 2.156 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.733e-05/0.125, allocations: 74.38 kB / 482.4 MB, free: 2.086 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001619/0.1252, allocations: 96.38 kB / 482.5 MB, free: 1.992 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002036/0.1272, allocations: 1.346 MB / 483.9 MB, free: 0.625 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.16e-05/0.1273, allocations: 3.938 kB / 483.9 MB, free: 0.6211 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001051/0.1274, allocations: 40 kB / 483.9 MB, free: 0.582 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.752e-05/0.1274, allocations: 24 kB / 483.9 MB, free: 0.5586 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.188/0.3154, allocations: 1.275 MB / 485.2 MB, free: 27.21 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007494/0.3229, allocations: 5.237 MB / 490.4 MB, free: 23.61 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003192/0.3262, allocations: 3.108 MB / 493.6 MB, free: 21.18 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001298/0.3275, allocations: 0.9811 MB / 494.5 MB, free: 20.71 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001619/0.3277, allocations: 37.69 kB / 494.6 MB, free: 20.7 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.414e-05/0.3278, allocations: 61.22 kB / 494.6 MB, free: 20.64 MB / 314.7 MB Notification: Performance of pre-optimization done (n=147): time 4.118e-06/0.3278, allocations: 0 / 494.6 MB, free: 20.64 MB / 314.7 MB Notification: Performance of matching and sorting (n=147): time 0.02833/0.3561, allocations: 7.068 MB / 0.4899 GB, free: 18.18 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.378e-05/0.3562, allocations: 121.6 kB / 0.4901 GB, free: 18.06 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009044/0.3571, allocations: 0.6389 MB / 0.4907 GB, free: 17.68 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003057/0.3575, allocations: 63.89 kB / 0.4907 GB, free: 17.62 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001878/0.3577, allocations: 336.3 kB / 0.4911 GB, free: 17.35 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003706/0.358, allocations: 0.4905 MB / 0.4915 GB, free: 16.92 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005238/0.3586, allocations: 275 kB / 0.4918 GB, free: 16.76 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 7.506e-05/0.3587, allocations: 347.7 kB / 0.4921 GB, free: 16.42 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001205/0.3599, allocations: 0.856 MB / 0.493 GB, free: 15.95 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001359/0.3612, allocations: 0.9786 MB / 0.4939 GB, free: 15.41 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002744/0.364, allocations: 1.936 MB / 0.4958 GB, free: 14.34 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.334e-06/0.364, allocations: 0 / 0.4958 GB, free: 14.34 MB / 314.7 MB Notification: Performance of matching and sorting (n=198) (initialization): time 0.01018/0.3742, allocations: 3.825 MB / 0.4995 GB, free: 12.17 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.272e-05/0.3743, allocations: 11.47 kB / 0.4996 GB, free: 12.16 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.26e-05/0.3743, allocations: 0 / 0.4996 GB, free: 12.16 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01081/0.3851, allocations: 3.936 MB / 0.5034 GB, free: 9.344 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009706/0.3861, allocations: 223.7 kB / 0.5036 GB, free: 9.125 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01883/0.405, allocations: 10.43 MB / 0.5138 GB, free: 14.61 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001496/0.4065, allocations: 138.5 kB / 0.5139 GB, free: 14.48 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001277/0.4067, allocations: 55.91 kB / 0.514 GB, free: 14.42 MB / 330.7 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.0005403/0.4072, allocations: 266.8 kB / 0.5142 GB, free: 14.15 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002305/0.4074, allocations: 110.7 kB / 0.5144 GB, free: 14.04 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01047/0.4179, allocations: 3.787 MB / 0.5181 GB, free: 10.24 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.519e-05/0.418, allocations: 20 kB / 0.5181 GB, free: 10.22 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.586e-06/0.418, allocations: 0 / 0.5181 GB, free: 10.22 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.123e-05/0.4181, allocations: 11.97 kB / 0.5181 GB, free: 10.21 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01219/0.4302, allocations: 5.321 MB / 0.5233 GB, free: 4.855 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.469e-05/0.4303, allocations: 7.984 kB / 0.5233 GB, free: 4.848 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006502/0.431, allocations: 171.8 kB / 0.5234 GB, free: 4.68 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01078/0.4417, allocations: 2.723 MB / 0.5261 GB, free: 1.953 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002497/0.442, allocations: 43.86 kB / 0.5262 GB, free: 1.91 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01981/0.4618, allocations: 10.24 MB / 0.5361 GB, free: 7.539 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.205e-06/0.4619, allocations: 0 / 0.5361 GB, free: 7.539 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0119/0.4738, allocations: 5.521 MB / 0.5415 GB, free: 1.953 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002888/0.4741, allocations: 203.3 kB / 0.5417 GB, free: 1.734 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001449/0.4743, allocations: 32 kB / 0.5418 GB, free: 1.703 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001039/0.4753, allocations: 91.86 kB / 0.5419 GB, free: 1.613 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004948/0.4758, allocations: 126.3 kB / 0.542 GB, free: 1.488 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001116/0.4759, allocations: 47.98 kB / 0.542 GB, free: 1.441 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0005801/0.4765, allocations: 439 kB / 0.5424 GB, free: 1.012 MB / 346.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.4765, allocations: 0 / 0.5424 GB, free: 1.012 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.001667/0.4782, allocations: 0.5399 MB / 0.543 GB, free: 484 kB / 346.7 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.0003504/0.4786, allocations: 159.6 kB / 0.5431 GB, free: 320 kB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.007571/0.4862, allocations: 3.121 MB / 0.5462 GB, free: 13.19 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 7.204e-06/0.4862, allocations: 0.6562 kB / 0.5462 GB, free: 13.19 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.005636/0.4918, allocations: 2.062 MB / 0.5482 GB, free: 11.12 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001054/0.4929, allocations: 142.9 kB / 0.5483 GB, free: 10.98 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004948/0.4979, allocations: 3.346 MB / 0.5516 GB, free: 7.605 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008598/0.4987, allocations: 1.123 MB / 0.5527 GB, free: 6.449 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0005977/0.4993, allocations: 151.5 kB / 0.5528 GB, free: 6.297 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002163/0.4996, allocations: 87.41 kB / 0.5529 GB, free: 6.211 MB / 362.7 MB Notification: Performance of SimCode: time 8.62e-07/0.4996, allocations: 0 / 0.5529 GB, free: 6.211 MB / 362.7 MB Notification: Performance of Templates: time 0.05078/0.5504, allocations: 36.4 MB / 0.5885 GB, free: 1.953 MB / 394.7 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)