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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0009117/0.0009117, allocations: 81.08 kB / 20.69 MB, free: 3.801 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.000868/0.000868, allocations: 169.7 kB / 24.1 MB, free: 412 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9936/0.9936, allocations: 177.1 MB / 204.5 MB, free: 5.5 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.1.3/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.1.3/package.mo): time 0.02535/0.02535, allocations: 4.49 MB / 265.6 MB, free: 8.395 MB / 250.7 MB " [Timeout remaining time 180] Using package PowerSysPro with version 2.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.1.3/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(PowerSysPro.Examples.MediumNetworks.DoubleNetwork,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="PowerSysPro_PowerSysPro.Examples.MediumNetworks.DoubleNetwork") translateModel(PowerSysPro.Examples.MediumNetworks.DoubleNetwork,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="PowerSysPro_PowerSysPro.Examples.MediumNetworks.DoubleNetwork") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.134e-06/2.134e-06, allocations: 0 / 336.9 MB, free: 12.98 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.138e-05/2.352e-05, allocations: 5.547 kB / 337 MB, free: 12.98 MB / 266.7 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.MediumNetworks.DoubleNetwork): time 0.004538/0.004561, allocations: 5.344 MB / 342.3 MB, free: 7.617 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.002165/0.006727, allocations: 2.353 MB / 344.6 MB, free: 5.246 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002658/0.006992, allocations: 16 kB / 344.7 MB, free: 5.23 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004025/0.007395, allocations: 313.8 kB / 345 MB, free: 4.922 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0006737/0.008069, allocations: 0.605 MB / 345.6 MB, free: 4.312 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001214/0.009283, allocations: 1.35 MB / 346.9 MB, free: 2.961 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0006613/0.009944, allocations: 1.31 MB / 348.2 MB, free: 1.645 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002535/0.0102, allocations: 269.6 kB / 348.5 MB, free: 1.363 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000364/0.01056, allocations: 0.7599 MB / 349.3 MB, free: 0.6016 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003577/0.01092, allocations: 0.5297 MB / 349.8 MB, free: 72 kB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001082/0.01103, allocations: 104 kB / 349.9 MB, free: 15.96 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004205/0.01145, allocations: 339.5 kB / 350.2 MB, free: 15.64 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001391/0.01159, allocations: 270.9 kB / 350.5 MB, free: 15.37 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000252/0.01184, allocations: 422.8 kB / 350.9 MB, free: 14.96 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0008119/0.01265, allocations: 1.129 MB / 352 MB, free: 13.82 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.515e-06/0.01265, allocations: 0 / 352 MB, free: 13.82 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.002e-06/0.01265, allocations: 0 / 352 MB, free: 13.82 MB / 282.7 MB Notification: Performance of Transformations before backend: time 8.385e-06/0.01266, allocations: 0 / 352 MB, free: 13.82 MB / 282.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.005877/0.01854, allocations: 3.287 MB / 355.3 MB, free: 10.5 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.105e-05/0.01858, allocations: 12.03 kB / 355.3 MB, free: 10.48 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00024/0.01882, allocations: 196.1 kB / 355.5 MB, free: 10.29 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006021/0.01942, allocations: 0.6066 MB / 356.1 MB, free: 9.652 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.373e-05/0.01947, allocations: 74.38 kB / 356.2 MB, free: 9.582 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001175/0.01958, allocations: 112.4 kB / 356.3 MB, free: 9.473 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001007/0.02059, allocations: 1.465 MB / 357.8 MB, free: 7.809 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.36e-05/0.0206, allocations: 192 / 357.8 MB, free: 7.809 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.86e-05/0.02067, allocations: 44.38 kB / 357.8 MB, free: 7.766 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.524e-05/0.02069, allocations: 27.92 kB / 357.8 MB, free: 7.738 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005314/0.02122, allocations: 425.5 kB / 358.3 MB, free: 7.324 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002915/0.02413, allocations: 2.655 MB / 360.9 MB, free: 4.637 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001068/0.0252, allocations: 1.1 MB / 362 MB, free: 3.562 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004056/0.02561, allocations: 378.1 kB / 362.4 MB, free: 3.195 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001144/0.02572, allocations: 45.28 kB / 362.4 MB, free: 3.148 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.315e-05/0.02578, allocations: 62.94 kB / 362.5 MB, free: 3.078 MB / 282.7 MB Notification: Performance of pre-optimization done (n=147): time 2.615e-06/0.02578, allocations: 0 / 362.5 MB, free: 3.078 MB / 282.7 MB Notification: Performance of matching and sorting (n=147): time 0.01246/0.03824, allocations: 5.327 MB / 367.8 MB, free: 13.73 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.098e-05/0.03829, allocations: 128 kB / 367.9 MB, free: 13.58 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004152/0.0387, allocations: 0.6279 MB / 368.6 MB, free: 12.94 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 7.952e-05/0.03878, allocations: 57.7 kB / 368.6 MB, free: 12.88 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001746/0.03896, allocations: 389.4 kB / 369 MB, free: 12.49 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005044/0.03946, allocations: 0.5111 MB / 369.5 MB, free: 11.97 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000299/0.03976, allocations: 309.1 kB / 369.8 MB, free: 11.66 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001147/0.03987, allocations: 0.5159 MB / 370.3 MB, free: 11.14 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003635/0.04024, allocations: 355.8 kB / 370.7 MB, free: 10.79 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004742/0.04071, allocations: 0.5469 MB / 371.2 MB, free: 10.23 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009008/0.04161, allocations: 0.9459 MB / 372.2 MB, free: 9.277 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.107e-06/0.04162, allocations: 0 / 372.2 MB, free: 9.277 MB / 298.7 MB Notification: Performance of matching and sorting (n=198) (initialization): time 0.004132/0.04575, allocations: 2.526 MB / 374.7 MB, free: 6.734 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.168e-05/0.04577, allocations: 8 kB / 374.7 MB, free: 6.727 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.248e-06/0.04578, allocations: 0 / 374.7 MB, free: 6.727 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.009195/0.05497, allocations: 3.785 MB / 378.5 MB, free: 2.934 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005874/0.05556, allocations: 223.6 kB / 378.7 MB, free: 2.715 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01165/0.06721, allocations: 6.692 MB / 385.4 MB, free: 11.92 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005964/0.06781, allocations: 135 kB / 385.5 MB, free: 11.79 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.236e-05/0.0679, allocations: 39.98 kB / 385.6 MB, free: 11.75 MB / 314.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.0002899/0.06819, allocations: 228.4 kB / 385.8 MB, free: 11.51 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000243/0.06843, allocations: 159.2 kB / 386 MB, free: 11.36 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005488/0.07392, allocations: 2.507 MB / 388.5 MB, free: 8.824 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.203e-05/0.07393, allocations: 16 kB / 388.5 MB, free: 8.809 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.205e-06/0.07393, allocations: 0 / 388.5 MB, free: 8.809 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.281e-05/0.07395, allocations: 7.969 kB / 388.5 MB, free: 8.801 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006632/0.08058, allocations: 3.394 MB / 391.9 MB, free: 5.371 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.919e-06/0.08058, allocations: 0 / 391.9 MB, free: 5.371 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004109/0.08099, allocations: 175.7 kB / 392 MB, free: 5.199 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.008121/0.08911, allocations: 2.956 MB / 395 MB, free: 2.234 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.05e-05/0.08919, allocations: 32 kB / 395 MB, free: 2.203 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01127/0.1005, allocations: 6.525 MB / 401.6 MB, free: 11.55 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.242e-06/0.1005, allocations: 0 / 401.6 MB, free: 11.55 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005319/0.1058, allocations: 2.492 MB / 404.1 MB, free: 9.027 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001406/0.1059, allocations: 126.9 kB / 404.2 MB, free: 8.902 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001159/0.106, allocations: 39.92 kB / 404.2 MB, free: 8.863 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006393/0.1067, allocations: 79.14 kB / 404.3 MB, free: 8.789 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002477/0.1069, allocations: 130.4 kB / 404.4 MB, free: 8.66 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.786e-05/0.107, allocations: 40 kB / 404.5 MB, free: 8.621 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0002882/0.1073, allocations: 374.8 kB / 404.8 MB, free: 8.254 MB / 330.7 MB Notification: Performance of sort global known variables: time 7e-08/0.1073, allocations: 0 / 404.8 MB, free: 8.254 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.001188/0.1085, allocations: 0.5271 MB / 405.4 MB, free: 7.727 MB / 330.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.0005543/0.1091, allocations: 167.6 kB / 405.5 MB, free: 7.555 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.003801/0.1129, allocations: 2.205 MB / 407.7 MB, free: 5.34 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 4.349e-06/0.1129, allocations: 0.6562 kB / 407.7 MB, free: 5.34 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002574/0.1154, allocations: 1.665 MB / 409.4 MB, free: 3.648 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004946/0.1159, allocations: 154.9 kB / 409.5 MB, free: 3.5 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002228/0.1182, allocations: 1.908 MB / 411.4 MB, free: 1.555 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001538/0.1183, allocations: 249.7 kB / 411.7 MB, free: 1.289 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0002596/0.1186, allocations: 147.5 kB / 411.8 MB, free: 1.141 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003785/0.1189, allocations: 318 kB / 412.1 MB, free: 0.8281 MB / 330.7 MB Notification: Performance of SimCode: time 7.02e-07/0.1189, allocations: 0 / 412.1 MB, free: 0.8281 MB / 330.7 MB Notification: Performance of Templates: time 0.1428/0.2617, allocations: 38.55 MB / 450.7 MB, free: 46.11 MB / 330.7 MB " [Timeout remaining time 660] make -j1 -f PowerSysPro_PowerSysPro.Examples.MediumNetworks.DoubleNetwork.makefile [Timeout 660] (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=240 -lv LOG_STATS > PowerSysPro_PowerSysPro.Examples.MediumNetworks.DoubleNetwork.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.559898555278778]