Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSysPro_PowerSysPro.Examples.MediumNetworks.Network.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.001054/0.001054, allocations: 83.34 kB / 20.47 MB, free: 4.109 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.001103/0.001103, allocations: 169 kB / 23.84 MB, free: 0.7344 MB / 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.984/0.984, allocations: 177.1 MB / 204.2 MB, free: 5.633 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.02462/0.02462, allocations: 4.495 MB / 265.2 MB, free: 8.555 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.Network,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="PowerSysPro_PowerSysPro.Examples.MediumNetworks.Network") translateModel(PowerSysPro.Examples.MediumNetworks.Network,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="PowerSysPro_PowerSysPro.Examples.MediumNetworks.Network") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.653e-06/1.653e-06, allocations: 0 / 336.5 MB, free: 13.27 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.6e-05/2.765e-05, allocations: 9.062 kB / 336.5 MB, free: 13.26 MB / 266.7 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.MediumNetworks.Network): time 0.004261/0.004289, allocations: 3.582 MB / 340.1 MB, free: 9.672 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.002842/0.00713, allocations: 1.991 MB / 342.1 MB, free: 7.664 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002833/0.007414, allocations: 8 kB / 342.1 MB, free: 7.656 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005517/0.007965, allocations: 226.4 kB / 342.3 MB, free: 7.434 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0008398/0.008805, allocations: 389.2 kB / 342.7 MB, free: 7.051 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002075/0.01088, allocations: 1.249 MB / 343.9 MB, free: 5.801 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0008307/0.01171, allocations: 0.7966 MB / 344.7 MB, free: 5 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002945/0.01201, allocations: 162.1 kB / 344.9 MB, free: 4.836 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004837/0.01249, allocations: 474.8 kB / 345.3 MB, free: 4.371 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004504/0.01294, allocations: 323 kB / 345.6 MB, free: 4.055 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001043/0.01304, allocations: 60 kB / 345.7 MB, free: 3.996 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005471/0.01359, allocations: 299.6 kB / 346 MB, free: 3.703 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 9.938e-05/0.01369, allocations: 163.3 kB / 346.2 MB, free: 3.543 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002335/0.01392, allocations: 259.3 kB / 346.4 MB, free: 3.289 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0008128/0.01474, allocations: 0.7706 MB / 347.2 MB, free: 2.516 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.388e-06/0.01474, allocations: 4 kB / 347.2 MB, free: 2.512 MB / 266.7 MB Notification: Performance of FrontEnd: time 8.11e-07/0.01474, allocations: 0 / 347.2 MB, free: 2.512 MB / 266.7 MB Notification: Performance of Transformations before backend: time 8.216e-06/0.01475, allocations: 0 / 347.2 MB, free: 2.512 MB / 266.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 126 * Number of variables: 126 Notification: Performance of Generate backend data structure: time 0.003947/0.0187, allocations: 2.222 MB / 349.4 MB, free: 252 kB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.54e-05/0.01873, allocations: 8.031 kB / 349.4 MB, free: 244 kB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001531/0.01889, allocations: 116.5 kB / 349.5 MB, free: 128 kB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004641/0.01935, allocations: 431 kB / 349.9 MB, free: 15.67 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.847e-05/0.01938, allocations: 45.38 kB / 350 MB, free: 15.63 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.984e-05/0.01946, allocations: 72.38 kB / 350.1 MB, free: 15.56 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008293/0.02029, allocations: 0.9577 MB / 351 MB, free: 14.48 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.393e-05/0.0203, allocations: 192 / 351 MB, free: 14.48 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.981e-05/0.02035, allocations: 24.38 kB / 351 MB, free: 14.45 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.318e-05/0.02036, allocations: 12.38 kB / 351.1 MB, free: 14.44 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000537/0.0209, allocations: 337.7 kB / 351.4 MB, free: 14.11 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002251/0.02315, allocations: 1.792 MB / 353.2 MB, free: 12.28 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008605/0.02401, allocations: 0.6692 MB / 353.8 MB, free: 11.6 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003716/0.02438, allocations: 270.6 kB / 354.1 MB, free: 11.34 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.921e-05/0.02446, allocations: 20.98 kB / 354.1 MB, free: 11.32 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.751e-05/0.0245, allocations: 50.39 kB / 354.2 MB, free: 11.26 MB / 282.7 MB Notification: Performance of pre-optimization done (n=89): time 1.984e-06/0.0245, allocations: 4 kB / 354.2 MB, free: 11.25 MB / 282.7 MB Notification: Performance of matching and sorting (n=89): time 0.007385/0.03189, allocations: 3.025 MB / 357.2 MB, free: 8.219 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.617e-05/0.03194, allocations: 111.8 kB / 357.3 MB, free: 8.086 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000354/0.0323, allocations: 462.5 kB / 357.8 MB, free: 7.617 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 6.176e-05/0.03236, allocations: 45.7 kB / 357.8 MB, free: 7.566 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001476/0.03251, allocations: 284.5 kB / 358.1 MB, free: 7.281 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001761/0.03268, allocations: 321.2 kB / 358.4 MB, free: 6.965 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002227/0.03291, allocations: 200.3 kB / 358.6 MB, free: 6.762 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.000159/0.03306, allocations: 0.5547 MB / 359.2 MB, free: 6.195 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004199/0.03348, allocations: 293.8 kB / 359.4 MB, free: 5.91 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005066/0.03399, allocations: 449.3 kB / 359.9 MB, free: 5.445 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009433/0.03493, allocations: 0.731 MB / 360.6 MB, free: 4.715 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.288e-06/0.03494, allocations: 0 / 360.6 MB, free: 4.715 MB / 282.7 MB Notification: Performance of matching and sorting (n=124) (initialization): time 0.003192/0.03813, allocations: 1.74 MB / 362.4 MB, free: 2.957 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.148e-05/0.03815, allocations: 8 kB / 362.4 MB, free: 2.949 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.647e-06/0.03816, allocations: 4 kB / 362.4 MB, free: 2.945 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004335/0.0425, allocations: 1.864 MB / 364.2 MB, free: 1.074 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003213/0.04282, allocations: 155.8 kB / 364.4 MB, free: 0.9219 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00679/0.04961, allocations: 4.797 MB / 369.2 MB, free: 12 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003624/0.04997, allocations: 95.22 kB / 369.3 MB, free: 11.91 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.928e-05/0.05002, allocations: 32 kB / 369.3 MB, free: 11.88 MB / 298.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 (87): * Single equations (assignments): 86 * 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 {(18,20)} Notification: Performance of prepare postOptimizeDAE: time 0.0002033/0.05022, allocations: 200.4 kB / 369.5 MB, free: 11.67 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001224/0.05034, allocations: 99.58 kB / 369.6 MB, free: 11.57 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003114/0.05346, allocations: 1.658 MB / 371.3 MB, free: 9.902 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.144e-06/0.05347, allocations: 12 kB / 371.3 MB, free: 9.891 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.944e-06/0.05347, allocations: 0 / 371.3 MB, free: 9.891 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.073e-06/0.05347, allocations: 3.984 kB / 371.3 MB, free: 9.887 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003685/0.05716, allocations: 2.333 MB / 373.6 MB, free: 7.512 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.457e-06/0.05716, allocations: 0 / 373.6 MB, free: 7.512 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002173/0.05738, allocations: 111.9 kB / 373.7 MB, free: 7.402 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004173/0.06155, allocations: 1.673 MB / 375.4 MB, free: 5.723 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.322e-05/0.0616, allocations: 16 kB / 375.4 MB, free: 5.707 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006499/0.0681, allocations: 4.709 MB / 380.1 MB, free: 0.8594 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.352e-06/0.0681, allocations: 0 / 380.1 MB, free: 0.8594 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003098/0.07119, allocations: 1.706 MB / 381.8 MB, free: 15.12 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.516e-05/0.07128, allocations: 87.25 kB / 381.9 MB, free: 15.04 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.446e-05/0.07134, allocations: 16 kB / 381.9 MB, free: 15.02 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002931/0.07164, allocations: 43.97 kB / 382 MB, free: 14.98 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001332/0.07177, allocations: 80.84 kB / 382 MB, free: 14.9 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.537e-05/0.07182, allocations: 31.98 kB / 382.1 MB, free: 14.87 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0002055/0.07202, allocations: 291 kB / 382.4 MB, free: 14.59 MB / 314.7 MB Notification: Performance of sort global known variables: time 8.1e-08/0.07202, allocations: 0 / 382.4 MB, free: 14.59 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0007/0.07272, allocations: 343.8 kB / 382.7 MB, free: 14.25 MB / 314.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 (66): * Single equations (assignments): 65 * 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 {(18,20)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002255/0.07295, allocations: 127.2 kB / 382.8 MB, free: 14.12 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.002367/0.07531, allocations: 1.505 MB / 384.3 MB, free: 12.59 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 3.817e-06/0.07532, allocations: 3.906 kB / 384.3 MB, free: 12.58 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001606/0.07692, allocations: 1.088 MB / 385.4 MB, free: 11.48 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003888/0.07731, allocations: 89.89 kB / 385.5 MB, free: 11.39 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00182/0.07913, allocations: 1.233 MB / 386.7 MB, free: 10.12 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000125/0.07926, allocations: 174.4 kB / 386.9 MB, free: 9.93 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0002013/0.07946, allocations: 96.83 kB / 387 MB, free: 9.836 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001129/0.07957, allocations: 56.48 kB / 387.1 MB, free: 9.781 MB / 314.7 MB Notification: Performance of SimCode: time 1.353e-06/0.07957, allocations: 0 / 387.1 MB, free: 9.781 MB / 314.7 MB Notification: Performance of Templates: time 0.02234/0.1019, allocations: 22.79 MB / 409.8 MB, free: 3.133 MB / 330.7 MB " [Timeout remaining time 660] make -j1 -f PowerSysPro_PowerSysPro.Examples.MediumNetworks.Network.makefile [Timeout 660] (rm -f PowerSysPro_PowerSysPro.Examples.MediumNetworks.Network.pipe ; mkfifo PowerSysPro_PowerSysPro.Examples.MediumNetworks.Network.pipe ; head -c 1048576 < PowerSysPro_PowerSysPro.Examples.MediumNetworks.Network.pipe >> ../files/PowerSysPro_PowerSysPro.Examples.MediumNetworks.Network.sim & ./PowerSysPro_PowerSysPro.Examples.MediumNetworks.Network -abortSlowSimulation -alarm=240 -lv LOG_STATS > PowerSysPro_PowerSysPro.Examples.MediumNetworks.Network.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.460791159886867]