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.001452/0.001452, allocations: 79.36 kB / 20.47 MB, free: 4.105 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.001612/0.001612, allocations: 169 kB / 23.84 MB, free: 0.7305 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.064/1.064, allocations: 177.1 MB / 204.2 MB, free: 5.645 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.02311/0.02311, allocations: 4.48 MB / 265.2 MB, free: 8.57 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 1.233e-06/1.233e-06, allocations: 0 / 336.5 MB, free: 13.28 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.125e-05/1.249e-05, allocations: 2.312 kB / 336.5 MB, free: 13.28 MB / 266.7 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.VariableLoad): time 0.00211/0.002122, allocations: 2.394 MB / 338.9 MB, free: 10.88 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.00198/0.004102, allocations: 2.841 MB / 341.7 MB, free: 8.02 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.962e-05/0.004201, allocations: 4 kB / 341.7 MB, free: 8.016 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003724/0.004574, allocations: 162.9 kB / 341.9 MB, free: 7.855 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005164/0.00509, allocations: 337.9 kB / 342.2 MB, free: 7.523 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009534/0.006044, allocations: 1.217 MB / 343.4 MB, free: 6.305 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002989/0.006343, allocations: 430 kB / 343.8 MB, free: 5.883 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001252/0.006468, allocations: 88.83 kB / 343.9 MB, free: 5.797 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001322/0.0066, allocations: 239.4 kB / 344.2 MB, free: 5.562 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001668/0.006767, allocations: 159.5 kB / 344.3 MB, free: 5.406 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 3.46e-05/0.006801, allocations: 32 kB / 344.3 MB, free: 5.375 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003284/0.00713, allocations: 379.3 kB / 344.7 MB, free: 5.004 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 6.668e-05/0.007196, allocations: 87.66 kB / 344.8 MB, free: 4.918 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 7.555e-05/0.007272, allocations: 131.6 kB / 344.9 MB, free: 4.789 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004538/0.007726, allocations: 0.6307 MB / 345.6 MB, free: 4.156 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.523e-06/0.007727, allocations: 4 kB / 345.6 MB, free: 4.152 MB / 266.7 MB Notification: Performance of FrontEnd: time 5.31e-07/0.007728, allocations: 0 / 345.6 MB, free: 4.152 MB / 266.7 MB Notification: Performance of Transformations before backend: time 4.779e-06/0.007733, allocations: 0 / 345.6 MB, free: 4.152 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.002039/0.009772, allocations: 1.295 MB / 346.9 MB, free: 2.82 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.444e-05/0.009806, allocations: 15.97 kB / 346.9 MB, free: 2.805 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001001/0.009906, allocations: 68.66 kB / 346.9 MB, free: 2.738 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002683/0.01017, allocations: 284.1 kB / 347.2 MB, free: 2.43 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.834e-05/0.01022, allocations: 54.92 kB / 347.3 MB, free: 2.367 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.79e-05/0.01026, allocations: 32.38 kB / 347.3 MB, free: 2.336 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003649/0.01063, allocations: 486.8 kB / 347.8 MB, free: 1.801 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.009e-05/0.01064, allocations: 3.938 kB / 347.8 MB, free: 1.797 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.587e-05/0.01066, allocations: 15.98 kB / 347.8 MB, free: 1.781 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.007e-06/0.01067, allocations: 4 kB / 347.8 MB, free: 1.777 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002438/0.01091, allocations: 167.8 kB / 348 MB, free: 1.613 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001064/0.01198, allocations: 1.005 MB / 349 MB, free: 0.5742 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004265/0.01241, allocations: 311.5 kB / 349.3 MB, free: 260 kB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001406/0.01255, allocations: 119.6 kB / 349.4 MB, free: 136 kB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.306e-05/0.0126, allocations: 11.98 kB / 349.4 MB, free: 124 kB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003117/0.01291, allocations: 341.3 kB / 349.7 MB, free: 15.74 MB / 282.7 MB Notification: Performance of pre-optimization done (n=43): time 2.014e-06/0.01291, allocations: 0 / 349.7 MB, free: 15.74 MB / 282.7 MB Notification: Performance of matching and sorting (n=43): time 0.002111/0.01502, allocations: 0.8841 MB / 350.6 MB, free: 14.85 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.3e-05/0.01508, allocations: 110.8 kB / 350.7 MB, free: 14.71 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002374/0.01531, allocations: 334.2 kB / 351.1 MB, free: 14.37 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 3.904e-05/0.01535, allocations: 37.7 kB / 351.1 MB, free: 14.32 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001036/0.01546, allocations: 219.8 kB / 351.3 MB, free: 14.11 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.85e-05/0.01555, allocations: 154.7 kB / 351.5 MB, free: 13.95 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001264/0.01567, allocations: 111.8 kB / 351.6 MB, free: 13.84 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001655/0.01584, allocations: 0.5157 MB / 352.1 MB, free: 13.31 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002042/0.01604, allocations: 140.9 kB / 352.2 MB, free: 13.17 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000243/0.01628, allocations: 259.9 kB / 352.5 MB, free: 12.89 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004126/0.0167, allocations: 345.6 kB / 352.8 MB, free: 12.55 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.434e-06/0.0167, allocations: 0 / 352.8 MB, free: 12.55 MB / 282.7 MB Notification: Performance of matching and sorting (n=61) (initialization): time 0.0009718/0.01767, allocations: 0.6413 MB / 353.5 MB, free: 11.9 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.485e-05/0.01769, allocations: 4 kB / 353.5 MB, free: 11.89 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.481e-06/0.01769, allocations: 0 / 353.5 MB, free: 11.89 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001331/0.01902, allocations: 0.5029 MB / 354 MB, free: 11.39 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001595/0.01918, allocations: 71.91 kB / 354 MB, free: 11.32 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008696/0.02005, allocations: 1.071 MB / 355.1 MB, free: 10.22 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001547/0.02021, allocations: 43.67 kB / 355.1 MB, free: 10.18 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.602e-05/0.02023, allocations: 16 kB / 355.2 MB, free: 10.16 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.0001209/0.02035, allocations: 184.5 kB / 355.3 MB, free: 9.969 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.989e-05/0.02041, allocations: 47.77 kB / 355.4 MB, free: 9.922 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006699/0.02108, allocations: 488.9 kB / 355.9 MB, free: 9.426 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.31e-06/0.02109, allocations: 4 kB / 355.9 MB, free: 9.422 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.466e-06/0.02109, allocations: 0 / 355.9 MB, free: 9.422 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.641e-06/0.0211, allocations: 3.984 kB / 355.9 MB, free: 9.418 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002994/0.0214, allocations: 369.1 kB / 356.2 MB, free: 9.023 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.315e-06/0.0214, allocations: 0 / 356.2 MB, free: 9.023 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001023/0.0215, allocations: 55.91 kB / 356.3 MB, free: 8.969 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001201/0.0227, allocations: 490.9 kB / 356.8 MB, free: 8.484 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.816e-05/0.02273, allocations: 15.92 kB / 356.8 MB, free: 8.469 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008119/0.02354, allocations: 1.064 MB / 357.8 MB, free: 7.375 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.943e-06/0.02354, allocations: 8 kB / 357.9 MB, free: 7.367 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005878/0.02413, allocations: 470.2 kB / 358.3 MB, free: 6.879 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.929e-05/0.02417, allocations: 47.62 kB / 358.4 MB, free: 6.832 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.378e-05/0.02422, allocations: 12 kB / 358.4 MB, free: 6.82 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001256/0.02434, allocations: 15.98 kB / 358.4 MB, free: 6.805 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.481e-05/0.02441, allocations: 32.44 kB / 358.4 MB, free: 6.773 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.541e-05/0.02443, allocations: 16 kB / 358.4 MB, free: 6.758 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0001351/0.02457, allocations: 227 kB / 358.7 MB, free: 6.539 MB / 282.7 MB Notification: Performance of sort global known variables: time 7e-08/0.02457, allocations: 0 / 358.7 MB, free: 6.539 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0002925/0.02486, allocations: 143.8 kB / 358.8 MB, free: 6.398 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.001003/0.02586, allocations: 475.2 kB / 359.3 MB, free: 6.078 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0009012/0.02676, allocations: 498.2 kB / 359.7 MB, free: 5.59 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 3.065e-06/0.02677, allocations: 0 / 359.7 MB, free: 5.59 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005567/0.02732, allocations: 295.2 kB / 360 MB, free: 5.301 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002569/0.02758, allocations: 56.95 kB / 360.1 MB, free: 5.242 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001074/0.02865, allocations: 0.6501 MB / 360.7 MB, free: 4.57 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.096e-05/0.02871, allocations: 113.9 kB / 360.9 MB, free: 4.434 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0001179/0.02883, allocations: 58.92 kB / 360.9 MB, free: 4.375 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.256e-05/0.0289, allocations: 40.48 kB / 361 MB, free: 4.336 MB / 282.7 MB Notification: Performance of SimCode: time 1.012e-06/0.02891, allocations: 0 / 361 MB, free: 4.336 MB / 282.7 MB Notification: Performance of Templates: time 0.009399/0.0383, allocations: 8.337 MB / 369.3 MB, free: 12.07 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: 3.0691546532325447]