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.001264/0.001264, allocations: 79.94 kB / 20.76 MB, free: 3.73 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.001478/0.001478, allocations: 173 kB / 24.18 MB, free: 320 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.929/0.929, allocations: 177.1 MB / 204.6 MB, free: 5.496 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.02405/0.02405, allocations: 4.481 MB / 265.6 MB, free: 8.457 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.112e-06/1.112e-06, allocations: 0 / 283.7 MB, free: 6.348 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.199e-05/1.311e-05, allocations: 2.312 kB / 283.7 MB, free: 6.344 MB / 266.7 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.VariableLoad): time 0.002518/0.002531, allocations: 2.362 MB / 286 MB, free: 3.98 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.00243/0.004961, allocations: 2.868 MB / 288.9 MB, free: 1.09 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001068/0.005068, allocations: 4 kB / 288.9 MB, free: 1.086 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003752/0.005443, allocations: 178.8 kB / 289.1 MB, free: 0.9102 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005445/0.005987, allocations: 337.9 kB / 289.4 MB, free: 0.5781 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.1082/0.1142, allocations: 1.216 MB / 290.6 MB, free: 19.41 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005683/0.1147, allocations: 429.7 kB / 291 MB, free: 19.33 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001645/0.1149, allocations: 88.58 kB / 291.1 MB, free: 19.32 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002335/0.1151, allocations: 240.7 kB / 291.4 MB, free: 19.3 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002365/0.1154, allocations: 158.6 kB / 291.5 MB, free: 19.29 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 4.389e-05/0.1154, allocations: 34.19 kB / 291.6 MB, free: 19.28 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00066/0.1161, allocations: 376.3 kB / 291.9 MB, free: 19.28 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 8.892e-05/0.1161, allocations: 90.64 kB / 292 MB, free: 19.26 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001166/0.1163, allocations: 127.1 kB / 292.1 MB, free: 19.24 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0007551/0.117, allocations: 0.6338 MB / 292.8 MB, free: 19.18 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.637e-06/0.117, allocations: 0 / 292.8 MB, free: 19.18 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.182e-06/0.117, allocations: 3.656 kB / 292.8 MB, free: 19.18 MB / 266.7 MB Notification: Performance of Transformations before backend: time 7.033e-06/0.117, allocations: 1.281 kB / 292.8 MB, free: 19.18 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.00226/0.1193, allocations: 1.219 MB / 294 MB, free: 18.75 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.042e-05/0.1193, allocations: 9.953 kB / 294 MB, free: 18.75 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.527e-05/0.1194, allocations: 56.98 kB / 294.1 MB, free: 18.75 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002433/0.1197, allocations: 217 kB / 294.3 MB, free: 18.58 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.273e-05/0.1197, allocations: 53.69 kB / 294.3 MB, free: 18.55 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.105e-05/0.1197, allocations: 35.91 kB / 294.4 MB, free: 18.55 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003346/0.1201, allocations: 450.5 kB / 294.8 MB, free: 18.26 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.558e-06/0.1201, allocations: 3.719 kB / 294.8 MB, free: 18.26 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.417e-05/0.1201, allocations: 18.92 kB / 294.8 MB, free: 18.26 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.565e-06/0.1201, allocations: 6.625 kB / 294.8 MB, free: 18.26 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001796/0.1203, allocations: 121.3 kB / 294.9 MB, free: 18.25 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001026/0.1213, allocations: 0.6904 MB / 295.6 MB, free: 18.04 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003488/0.1217, allocations: 300.2 kB / 295.9 MB, free: 17.97 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001079/0.1218, allocations: 78.48 kB / 296 MB, free: 17.96 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.689e-05/0.1218, allocations: 12.3 kB / 296 MB, free: 17.96 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002371/0.1221, allocations: 322.5 kB / 296.3 MB, free: 17.75 MB / 266.7 MB Notification: Performance of pre-optimization done (n=43): time 1.623e-06/0.1221, allocations: 0 / 296.3 MB, free: 17.75 MB / 266.7 MB Notification: Performance of matching and sorting (n=43): time 0.00173/0.1238, allocations: 0.7321 MB / 297.1 MB, free: 17.68 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.345e-05/0.1238, allocations: 109.1 kB / 297.2 MB, free: 17.55 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001844/0.124, allocations: 275.1 kB / 297.4 MB, free: 17.43 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 3.327e-05/0.124, allocations: 38.41 kB / 297.5 MB, free: 17.39 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.491e-05/0.1241, allocations: 149.5 kB / 297.6 MB, free: 17.28 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.608e-05/0.1242, allocations: 153 kB / 297.8 MB, free: 17.18 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000109/0.1243, allocations: 95.23 kB / 297.9 MB, free: 17.17 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 4.754e-05/0.1243, allocations: 345.3 kB / 298.2 MB, free: 16.86 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001221/0.1244, allocations: 103.8 kB / 298.3 MB, free: 16.84 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001414/0.1246, allocations: 188.9 kB / 298.5 MB, free: 16.76 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002947/0.1249, allocations: 268.5 kB / 298.8 MB, free: 16.73 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.006e-06/0.1249, allocations: 3.938 kB / 298.8 MB, free: 16.73 MB / 266.7 MB Notification: Performance of matching and sorting (n=61) (initialization): time 0.0007531/0.1256, allocations: 479.2 kB / 299.2 MB, free: 16.66 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.498e-05/0.1257, allocations: 6.5 kB / 299.2 MB, free: 16.66 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.66e-06/0.1257, allocations: 1.344 kB / 299.2 MB, free: 16.66 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001207/0.1269, allocations: 479.4 kB / 299.7 MB, free: 16.63 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001584/0.127, allocations: 71.8 kB / 299.8 MB, free: 16.63 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000567/0.1276, allocations: 0.7536 MB / 300.5 MB, free: 16.1 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001474/0.1277, allocations: 36.92 kB / 300.6 MB, free: 16.08 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.351e-05/0.1278, allocations: 15.55 kB / 300.6 MB, free: 16.08 MB / 266.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 9.32e-05/0.1279, allocations: 140.1 kB / 300.7 MB, free: 15.96 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.818e-05/0.1279, allocations: 34.72 kB / 300.7 MB, free: 15.96 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004376/0.1283, allocations: 366.4 kB / 301.1 MB, free: 15.89 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.96e-06/0.1283, allocations: 12.06 kB / 301.1 MB, free: 15.88 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.834e-06/0.1283, allocations: 1.344 kB / 301.1 MB, free: 15.88 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.179e-06/0.1284, allocations: 3.141 kB / 301.1 MB, free: 15.88 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002411/0.1286, allocations: 273.3 kB / 301.4 MB, free: 15.79 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.204e-06/0.1286, allocations: 0 / 301.4 MB, free: 15.79 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001008/0.1287, allocations: 53.19 kB / 301.4 MB, free: 15.79 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001053/0.1298, allocations: 477 kB / 301.9 MB, free: 15.75 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.265e-05/0.1298, allocations: 5.375 kB / 301.9 MB, free: 15.75 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005401/0.1303, allocations: 0.763 MB / 302.7 MB, free: 15.18 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.253e-06/0.1303, allocations: 0 / 302.7 MB, free: 15.18 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003713/0.1307, allocations: 333.9 kB / 303 MB, free: 15.06 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.816e-05/0.1307, allocations: 45.27 kB / 303 MB, free: 15.03 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.888e-05/0.1308, allocations: 12.12 kB / 303.1 MB, free: 15.02 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001139/0.1309, allocations: 14.94 kB / 303.1 MB, free: 15.02 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.858e-05/0.1309, allocations: 28.97 kB / 303.1 MB, free: 15.02 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.013e-05/0.1309, allocations: 16.58 kB / 303.1 MB, free: 15.01 MB / 266.7 MB Notification: Performance of sorting global known variables: time 8.429e-05/0.131, allocations: 96.52 kB / 303.2 MB, free: 14.99 MB / 266.7 MB Notification: Performance of sort global known variables: time 7.1e-08/0.131, allocations: 1.531 kB / 303.2 MB, free: 14.99 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0002916/0.1313, allocations: 144.4 kB / 303.3 MB, free: 14.96 MB / 266.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.001177/0.1325, allocations: 0.595 MB / 303.9 MB, free: 14.78 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0006474/0.1331, allocations: 394.6 kB / 304.3 MB, free: 14.72 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 6.642e-06/0.1332, allocations: 3.688 kB / 304.3 MB, free: 14.72 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003835/0.1335, allocations: 255.6 kB / 304.6 MB, free: 14.64 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000186/0.1337, allocations: 69.73 kB / 304.7 MB, free: 14.6 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009042/0.1346, allocations: 0.6553 MB / 305.3 MB, free: 14.16 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.131e-05/0.1347, allocations: 101.6 kB / 305.4 MB, free: 14.07 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0001132/0.1348, allocations: 56.09 kB / 305.5 MB, free: 14.04 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001334/0.1349, allocations: 121.9 kB / 305.6 MB, free: 13.98 MB / 266.7 MB Notification: Performance of SimCode: time 6.21e-07/0.1349, allocations: 7.938 kB / 305.6 MB, free: 13.97 MB / 266.7 MB Notification: Performance of Templates: time 0.00805/0.143, allocations: 8.353 MB / 313.9 MB, free: 6.016 MB / 266.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: 2.745917296037078]