Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSysPro_PowerSysPro.Examples.DegradedModeForLoads.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.001962/0.001962, allocations: 88.98 kB / 20.25 MB, free: 4.176 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.002199/0.002199, allocations: 173.6 kB / 23.57 MB, free: 0.8555 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 1.552/1.552, allocations: 177.2 MB / 203.9 MB, free: 5.613 MB / 186.7 MB " [Timeout remaining time 178] 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.03809/0.03809, allocations: 4.484 MB / 264.9 MB, free: 8.598 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.DegradedModeForLoads,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="PowerSysPro_PowerSysPro.Examples.DegradedModeForLoads") translateModel(PowerSysPro.Examples.DegradedModeForLoads,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="PowerSysPro_PowerSysPro.Examples.DegradedModeForLoads") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.633e-06/1.633e-06, allocations: 0 / 335.7 MB, free: 13.62 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.609e-05/2.772e-05, allocations: 2.312 kB / 335.7 MB, free: 13.62 MB / 266.7 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.DegradedModeForLoads): time 0.001963/0.001991, allocations: 1.401 MB / 337.1 MB, free: 12.22 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001408/0.003399, allocations: 1.466 MB / 338.6 MB, free: 10.74 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.215e-05/0.003471, allocations: 4 kB / 338.6 MB, free: 10.74 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002875/0.003758, allocations: 111.3 kB / 338.7 MB, free: 10.63 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003612/0.004119, allocations: 155.1 kB / 338.9 MB, free: 10.48 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001235/0.005355, allocations: 0.8401 MB / 339.7 MB, free: 9.633 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002144/0.005569, allocations: 199 kB / 339.9 MB, free: 9.438 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001228/0.005692, allocations: 41.64 kB / 339.9 MB, free: 9.395 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001107/0.005803, allocations: 115.7 kB / 340.1 MB, free: 9.281 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001454/0.005948, allocations: 71.78 kB / 340.1 MB, free: 9.211 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 3.317e-05/0.005981, allocations: 16 kB / 340.1 MB, free: 9.195 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002949/0.006276, allocations: 235.5 kB / 340.4 MB, free: 8.965 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 3.766e-05/0.006314, allocations: 39.84 kB / 340.4 MB, free: 8.926 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 6.314e-05/0.006377, allocations: 59.83 kB / 340.5 MB, free: 8.867 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003874/0.006764, allocations: 394.8 kB / 340.8 MB, free: 8.48 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.025e-06/0.006767, allocations: 0 / 340.8 MB, free: 8.48 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.082e-06/0.006768, allocations: 3.938 kB / 340.9 MB, free: 8.477 MB / 266.7 MB Notification: Performance of Transformations before backend: time 4.999e-06/0.006773, allocations: 4 kB / 340.9 MB, free: 8.473 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: 37 * Number of variables: 37 Notification: Performance of Generate backend data structure: time 0.001792/0.008565, allocations: 0.7466 MB / 341.6 MB, free: 7.688 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.016e-05/0.008595, allocations: 8.031 kB / 341.6 MB, free: 7.68 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.706e-05/0.008682, allocations: 40.8 kB / 341.7 MB, free: 7.641 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000224/0.008906, allocations: 168.3 kB / 341.8 MB, free: 7.449 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.46e-05/0.008981, allocations: 97.66 kB / 341.9 MB, free: 7.336 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.967e-05/0.009011, allocations: 16.38 kB / 341.9 MB, free: 7.32 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003086/0.009319, allocations: 245.3 kB / 342.2 MB, free: 7.062 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.159e-05/0.009331, allocations: 4.188 kB / 342.2 MB, free: 7.059 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.279e-05/0.009354, allocations: 12.36 kB / 342.2 MB, free: 7.047 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.314e-06/0.009361, allocations: 12.11 kB / 342.2 MB, free: 7.035 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002559/0.009617, allocations: 147.9 kB / 342.3 MB, free: 6.891 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001194/0.01081, allocations: 0.7372 MB / 343.1 MB, free: 6.117 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004899/0.0113, allocations: 203 kB / 343.3 MB, free: 5.906 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001334/0.01143, allocations: 99.61 kB / 343.4 MB, free: 5.805 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001037/0.01154, allocations: 11.98 kB / 343.4 MB, free: 5.793 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002635/0.0118, allocations: 223 kB / 343.6 MB, free: 5.551 MB / 266.7 MB Notification: Performance of pre-optimization done (n=22): time 1.252e-06/0.0118, allocations: 0 / 343.6 MB, free: 5.551 MB / 266.7 MB Notification: Performance of matching and sorting (n=22): time 0.001548/0.01335, allocations: 0.5036 MB / 344.1 MB, free: 5.039 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.153e-05/0.01337, allocations: 59.39 kB / 344.2 MB, free: 4.969 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001539/0.01353, allocations: 244.4 kB / 344.4 MB, free: 4.715 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.154e-05/0.01355, allocations: 33.7 kB / 344.4 MB, free: 4.676 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.055e-05/0.01361, allocations: 191.2 kB / 344.6 MB, free: 4.484 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.348e-05/0.01365, allocations: 79.33 kB / 344.7 MB, free: 4.406 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.929e-05/0.01375, allocations: 67.62 kB / 344.8 MB, free: 4.328 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 7.192e-05/0.01382, allocations: 0.504 MB / 345.3 MB, free: 3.812 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001545/0.01398, allocations: 108.5 kB / 345.4 MB, free: 3.707 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001703/0.01415, allocations: 164.3 kB / 345.5 MB, free: 3.527 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003179/0.01446, allocations: 290.7 kB / 345.8 MB, free: 3.223 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.134e-06/0.01447, allocations: 4 kB / 345.8 MB, free: 3.219 MB / 266.7 MB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0009151/0.01538, allocations: 464.8 kB / 346.3 MB, free: 2.754 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.569e-05/0.0154, allocations: 8 kB / 346.3 MB, free: 2.746 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.071e-06/0.0154, allocations: 0 / 346.3 MB, free: 2.746 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008935/0.0163, allocations: 195.6 kB / 346.5 MB, free: 2.551 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001617/0.01646, allocations: 39.92 kB / 346.5 MB, free: 2.512 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005647/0.01702, allocations: 1.007 MB / 347.5 MB, free: 1.473 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001848/0.01721, allocations: 23.89 kB / 347.5 MB, free: 1.449 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.506e-05/0.01723, allocations: 15.98 kB / 347.6 MB, free: 1.434 MB / 266.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 3 (load.degradedMode,$PRE.load.degradedMode,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (27): * Single equations (assignments): 26 * 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 {(3,5)} Notification: Performance of prepare postOptimizeDAE: time 0.0001109/0.01734, allocations: 184.4 kB / 347.7 MB, free: 1.242 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.312e-05/0.01739, allocations: 23.91 kB / 347.8 MB, free: 1.219 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006643/0.01805, allocations: 366.2 kB / 348.1 MB, free: 0.8516 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.569e-06/0.01806, allocations: 3.938 kB / 348.1 MB, free: 0.8477 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.068e-06/0.01806, allocations: 4 kB / 348.1 MB, free: 0.8438 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.348e-06/0.01806, allocations: 3.984 kB / 348.1 MB, free: 0.8398 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000198/0.01826, allocations: 252.5 kB / 348.4 MB, free: 0.5586 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.804e-06/0.01826, allocations: 0 / 348.4 MB, free: 0.5586 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.239e-05/0.01836, allocations: 19.98 kB / 348.4 MB, free: 0.5391 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000723/0.01908, allocations: 211.4 kB / 348.6 MB, free: 336 kB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.871e-05/0.0191, allocations: 3.984 kB / 348.6 MB, free: 332 kB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00121/0.02031, allocations: 1.019 MB / 349.6 MB, free: 15.27 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.303e-06/0.02031, allocations: 0 / 349.6 MB, free: 15.27 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007816/0.02109, allocations: 383.1 kB / 350 MB, free: 14.88 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.841e-05/0.02113, allocations: 15.91 kB / 350 MB, free: 14.86 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.489e-05/0.02118, allocations: 15.94 kB / 350 MB, free: 14.84 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001511/0.02133, allocations: 8 kB / 350 MB, free: 14.84 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.898e-05/0.0214, allocations: 11.97 kB / 350.1 MB, free: 14.82 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.696e-05/0.02142, allocations: 12 kB / 350.1 MB, free: 14.81 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0001872/0.02161, allocations: 178 kB / 350.2 MB, free: 14.64 MB / 282.7 MB Notification: Performance of sort global known variables: time 8e-08/0.02161, allocations: 0 / 350.2 MB, free: 14.64 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.000318/0.02193, allocations: 59.94 kB / 350.3 MB, free: 14.58 MB / 282.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: 2 ($whenCondition1,load.degradedMode) * Number of discrete states: 1 (load.degradedMode) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (16): * Single equations (assignments): 15 * 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 {(4,5)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002367/0.02216, allocations: 123.2 kB / 350.4 MB, free: 14.45 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0008407/0.023, allocations: 297.2 kB / 350.7 MB, free: 14.16 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 2.825e-06/0.02301, allocations: 0 / 350.7 MB, free: 14.16 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005829/0.02359, allocations: 175.7 kB / 350.9 MB, free: 13.98 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002706/0.02386, allocations: 21.7 kB / 350.9 MB, free: 13.96 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009749/0.02484, allocations: 390.8 kB / 351.3 MB, free: 13.56 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001278/0.02496, allocations: 120.7 kB / 351.4 MB, free: 13.41 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 9.581e-05/0.02506, allocations: 29.61 kB / 351.4 MB, free: 13.39 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.04e-05/0.02512, allocations: 24.5 kB / 351.5 MB, free: 13.36 MB / 282.7 MB Notification: Performance of SimCode: time 7.32e-07/0.02512, allocations: 0 / 351.5 MB, free: 13.36 MB / 282.7 MB Notification: Performance of Templates: time 0.008474/0.03359, allocations: 3.381 MB / 354.8 MB, free: 10.02 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f PowerSysPro_PowerSysPro.Examples.DegradedModeForLoads.makefile [Timeout 660] (rm -f PowerSysPro_PowerSysPro.Examples.DegradedModeForLoads.pipe ; mkfifo PowerSysPro_PowerSysPro.Examples.DegradedModeForLoads.pipe ; head -c 1048576 < PowerSysPro_PowerSysPro.Examples.DegradedModeForLoads.pipe >> ../files/PowerSysPro_PowerSysPro.Examples.DegradedModeForLoads.sim & ./PowerSysPro_PowerSysPro.Examples.DegradedModeForLoads -abortSlowSimulation -alarm=240 -lv LOG_STATS > PowerSysPro_PowerSysPro.Examples.DegradedModeForLoads.pipe 2>&1) [Timeout 240] [Calling os._exit(0), Time elapsed: 4.596942979027517]