Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSysPro_PowerSysPro.Examples.VariableLoad.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.002305/0.002305, allocations: 83.69 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.002171/0.002171, allocations: 169.2 kB / 23.57 MB, free: 0.8516 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.556/1.556, allocations: 177.1 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.05498/0.05498, allocations: 4.488 MB / 264.8 MB, free: 8.594 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.VariableLoad,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="PowerSysPro_PowerSysPro.Examples.VariableLoad") translateModel(PowerSysPro.Examples.VariableLoad,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="PowerSysPro_PowerSysPro.Examples.VariableLoad") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.164e-06/2.164e-06, allocations: 4 kB / 335.7 MB, free: 13.62 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.574e-05/2.79e-05, allocations: 6.25 kB / 335.7 MB, free: 13.61 MB / 266.7 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.VariableLoad): time 0.00287/0.002898, allocations: 2.361 MB / 338.1 MB, free: 11.25 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.002933/0.005831, allocations: 2.783 MB / 340.9 MB, free: 8.445 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001502/0.005981, allocations: 8 kB / 340.9 MB, free: 8.438 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.00047/0.006451, allocations: 170.7 kB / 341.1 MB, free: 8.27 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0007082/0.007159, allocations: 346 kB / 341.4 MB, free: 7.93 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001763/0.008922, allocations: 1.214 MB / 342.6 MB, free: 6.711 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004357/0.009358, allocations: 430 kB / 343 MB, free: 6.289 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001536/0.009511, allocations: 80.84 kB / 343.1 MB, free: 6.211 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001923/0.009704, allocations: 243.4 kB / 343.3 MB, free: 5.973 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002179/0.009922, allocations: 159.6 kB / 343.5 MB, free: 5.816 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 5.321e-05/0.009975, allocations: 35.94 kB / 343.5 MB, free: 5.781 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006534/0.01063, allocations: 375.4 kB / 343.9 MB, free: 5.414 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 8.887e-05/0.01072, allocations: 91.66 kB / 344 MB, free: 5.324 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001107/0.01083, allocations: 127.6 kB / 344.1 MB, free: 5.199 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0007594/0.01159, allocations: 0.7243 MB / 344.8 MB, free: 4.473 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.737e-06/0.01159, allocations: 0 / 344.8 MB, free: 4.473 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.493e-06/0.01159, allocations: 0 / 344.8 MB, free: 4.473 MB / 266.7 MB Notification: Performance of Transformations before backend: time 7.024e-06/0.0116, allocations: 0 / 344.8 MB, free: 4.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: 66 * Number of variables: 66 Notification: Performance of Generate backend data structure: time 0.003887/0.01549, allocations: 1.329 MB / 346.2 MB, free: 3.105 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.781e-05/0.01552, allocations: 12.03 kB / 346.2 MB, free: 3.094 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001508/0.01567, allocations: 64.66 kB / 346.2 MB, free: 3.031 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003657/0.01604, allocations: 271.4 kB / 346.5 MB, free: 2.738 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.226e-05/0.01609, allocations: 54.92 kB / 346.6 MB, free: 2.676 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.41e-05/0.01615, allocations: 32.38 kB / 346.6 MB, free: 2.645 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000608/0.01675, allocations: 0.577 MB / 347.2 MB, free: 2.008 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.631e-05/0.01677, allocations: 3.938 kB / 347.2 MB, free: 2.004 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.078e-05/0.01681, allocations: 12 kB / 347.2 MB, free: 1.992 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.676e-06/0.01682, allocations: 11.94 kB / 347.2 MB, free: 1.98 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004662/0.01729, allocations: 278.5 kB / 347.5 MB, free: 1.707 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00186/0.01915, allocations: 1.103 MB / 348.6 MB, free: 0.5703 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007386/0.01989, allocations: 424.3 kB / 349 MB, free: 144 kB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003217/0.02021, allocations: 199.7 kB / 349.2 MB, free: 15.94 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.982e-05/0.02029, allocations: 15.94 kB / 349.2 MB, free: 15.93 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006389/0.02093, allocations: 429.4 kB / 349.6 MB, free: 15.46 MB / 282.7 MB Notification: Performance of pre-optimization done (n=43): time 2.274e-06/0.02093, allocations: 4 kB / 349.6 MB, free: 15.46 MB / 282.7 MB Notification: Performance of matching and sorting (n=43): time 0.004636/0.02556, allocations: 1.216 MB / 350.8 MB, free: 14.23 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001001/0.02566, allocations: 106.8 kB / 350.9 MB, free: 14.1 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005268/0.02619, allocations: 386.2 kB / 351.3 MB, free: 13.71 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 6.176e-05/0.02625, allocations: 37.7 kB / 351.4 MB, free: 13.66 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002108/0.02646, allocations: 227.8 kB / 351.6 MB, free: 13.44 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000178/0.02664, allocations: 158.7 kB / 351.7 MB, free: 13.28 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002248/0.02687, allocations: 123.8 kB / 351.9 MB, free: 13.15 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.000318/0.02718, allocations: 0.5352 MB / 352.4 MB, free: 12.61 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004365/0.02762, allocations: 232.9 kB / 352.6 MB, free: 12.38 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005889/0.02821, allocations: 355.8 kB / 353 MB, free: 12 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009651/0.02918, allocations: 0.5368 MB / 353.5 MB, free: 11.46 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.777e-06/0.02918, allocations: 0 / 353.5 MB, free: 11.46 MB / 282.7 MB Notification: Performance of matching and sorting (n=61) (initialization): time 0.002301/0.03148, allocations: 0.8796 MB / 354.4 MB, free: 10.57 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.164e-05/0.0315, allocations: 8 kB / 354.4 MB, free: 10.57 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.137e-05/0.03151, allocations: 3.984 kB / 354.4 MB, free: 10.56 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002894/0.03441, allocations: 0.6133 MB / 355 MB, free: 9.945 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003625/0.03477, allocations: 71.91 kB / 355.1 MB, free: 9.875 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002095/0.03686, allocations: 1.351 MB / 356.4 MB, free: 8.492 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000402/0.03727, allocations: 51.66 kB / 356.5 MB, free: 8.441 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.162e-05/0.03732, allocations: 16 kB / 356.5 MB, free: 8.426 MB / 282.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: 3 (varLoad.degradedMode,$PRE.varLoad.degradedMode,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (46): * Single equations (assignments): 45 * 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 {(7,9)} Notification: Performance of prepare postOptimizeDAE: time 0.0002813/0.0376, allocations: 200.5 kB / 356.7 MB, free: 8.219 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001278/0.03773, allocations: 55.75 kB / 356.7 MB, free: 8.164 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001573/0.0393, allocations: 0.7196 MB / 357.5 MB, free: 7.426 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.176e-05/0.03931, allocations: 8 kB / 357.5 MB, free: 7.418 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.938e-06/0.03932, allocations: 0 / 357.5 MB, free: 7.418 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.516e-06/0.03932, allocations: 3.984 kB / 357.5 MB, free: 7.414 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006345/0.03996, allocations: 421.2 kB / 357.9 MB, free: 6.969 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.815e-06/0.03996, allocations: 0 / 357.9 MB, free: 6.969 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002024/0.04016, allocations: 55.91 kB / 357.9 MB, free: 6.914 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002799/0.04296, allocations: 0.5888 MB / 358.5 MB, free: 6.32 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.922e-05/0.04301, allocations: 11.94 kB / 358.5 MB, free: 6.309 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002084/0.0451, allocations: 1.373 MB / 359.9 MB, free: 4.906 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.293e-06/0.0451, allocations: 0 / 359.9 MB, free: 4.906 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001393/0.04649, allocations: 0.7053 MB / 360.6 MB, free: 4.172 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000107/0.0466, allocations: 47.62 kB / 360.7 MB, free: 4.125 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.371e-05/0.04667, allocations: 8 kB / 360.7 MB, free: 4.117 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003272/0.047, allocations: 19.94 kB / 360.7 MB, free: 4.098 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001126/0.04711, allocations: 32.44 kB / 360.7 MB, free: 4.066 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.666e-05/0.04716, allocations: 15.98 kB / 360.7 MB, free: 4.051 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0003135/0.04747, allocations: 255 kB / 361 MB, free: 3.805 MB / 282.7 MB Notification: Performance of sort global known variables: time 9e-08/0.04747, allocations: 0 / 361 MB, free: 3.805 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.000514/0.04799, allocations: 147.8 kB / 361.1 MB, free: 3.66 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,varLoad.degradedMode) * Number of discrete states: 1 (varLoad.degradedMode) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (33): * Single equations (assignments): 32 * 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 {(7,10)} Notification: Performance of Backend phase and start with SimCode phase: time 0.003038/0.05102, allocations: 0.5081 MB / 361.6 MB, free: 3.336 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.002011/0.05303, allocations: 0.6662 MB / 362.3 MB, free: 2.668 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 3.707e-06/0.05304, allocations: 0 / 362.3 MB, free: 2.668 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00124/0.05428, allocations: 379.3 kB / 362.7 MB, free: 2.297 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004783/0.05476, allocations: 61.27 kB / 362.7 MB, free: 2.238 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001667/0.05642, allocations: 0.7312 MB / 363.5 MB, free: 1.48 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002751/0.0567, allocations: 190.5 kB / 363.7 MB, free: 1.27 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0002308/0.05693, allocations: 62.91 kB / 363.7 MB, free: 1.203 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001144/0.05704, allocations: 40.48 kB / 363.8 MB, free: 1.164 MB / 282.7 MB Notification: Performance of SimCode: time 2.094e-06/0.05705, allocations: 0 / 363.8 MB, free: 1.164 MB / 282.7 MB Notification: Performance of Templates: time 0.01658/0.07363, allocations: 7.753 MB / 371.5 MB, free: 9.484 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f PowerSysPro_PowerSysPro.Examples.VariableLoad.makefile [Timeout 660] (rm -f PowerSysPro_PowerSysPro.Examples.VariableLoad.pipe ; mkfifo PowerSysPro_PowerSysPro.Examples.VariableLoad.pipe ; head -c 1048576 < PowerSysPro_PowerSysPro.Examples.VariableLoad.pipe >> ../files/PowerSysPro_PowerSysPro.Examples.VariableLoad.sim & ./PowerSysPro_PowerSysPro.Examples.VariableLoad -abortSlowSimulation -alarm=240 -lv LOG_STATS > PowerSysPro_PowerSysPro.Examples.VariableLoad.pipe 2>&1) [Timeout 240] [Calling os._exit(0), Time elapsed: 4.787673740996979]