Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSysPro_PowerSysPro.Examples.QfURegulation.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.001196/0.001196, allocations: 80.06 kB / 20.76 MB, free: 3.727 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.0009225/0.0009225, allocations: 177 kB / 24.19 MB, free: 312 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.9573/0.9573, allocations: 177.1 MB / 204.6 MB, free: 5.449 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.02205/0.02205, allocations: 4.487 MB / 265.6 MB, free: 8.406 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.QfURegulation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="PowerSysPro_PowerSysPro.Examples.QfURegulation") translateModel(PowerSysPro.Examples.QfURegulation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="PowerSysPro_PowerSysPro.Examples.QfURegulation") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.252e-06/1.252e-06, allocations: 3.938 kB / 283.7 MB, free: 6.301 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.42e-05/1.545e-05, allocations: 2.312 kB / 283.7 MB, free: 6.297 MB / 266.7 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.QfURegulation): time 0.002151/0.002167, allocations: 1.959 MB / 285.6 MB, free: 4.34 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.002038/0.004205, allocations: 1.699 MB / 287.3 MB, free: 2.625 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.443e-05/0.004299, allocations: 4 kB / 287.3 MB, free: 2.621 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000324/0.004623, allocations: 147.1 kB / 287.5 MB, free: 2.477 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004988/0.005122, allocations: 238.5 kB / 287.7 MB, free: 2.242 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001413/0.006535, allocations: 1.151 MB / 288.9 MB, free: 1.086 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003819/0.006916, allocations: 374.4 kB / 289.2 MB, free: 0.7188 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001374/0.007054, allocations: 86.89 kB / 289.3 MB, free: 0.6328 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002462/0.0073, allocations: 231.4 kB / 289.5 MB, free: 416 kB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000201/0.007501, allocations: 155.6 kB / 289.7 MB, free: 260 kB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 4.115e-05/0.007542, allocations: 32 kB / 289.7 MB, free: 228 kB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.1095/0.1171, allocations: 284.7 kB / 290 MB, free: 19.11 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001516/0.1172, allocations: 86 kB / 290.1 MB, free: 19.11 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001989/0.1174, allocations: 122 kB / 290.2 MB, free: 19.11 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0009472/0.1184, allocations: 0.5175 MB / 290.7 MB, free: 19.11 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.117e-06/0.1184, allocations: 2.219 kB / 290.7 MB, free: 19.11 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.402e-06/0.1184, allocations: 0 / 290.7 MB, free: 19.11 MB / 266.7 MB Notification: Performance of Transformations before backend: time 9.688e-06/0.1184, allocations: 2.562 kB / 290.7 MB, free: 19.11 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: 67 * Number of variables: 67 Notification: Performance of Generate backend data structure: time 0.002707/0.1211, allocations: 1.041 MB / 291.8 MB, free: 18.76 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.542e-05/0.1211, allocations: 9.938 kB / 291.8 MB, free: 18.76 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001102/0.1212, allocations: 55 kB / 291.8 MB, free: 18.76 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002556/0.1215, allocations: 186.5 kB / 292 MB, free: 18.6 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001261/0.1216, allocations: 223 kB / 292.2 MB, free: 18.38 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.105e-05/0.1217, allocations: 32.62 kB / 292.3 MB, free: 18.38 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006393/0.1223, allocations: 0.5207 MB / 292.8 MB, free: 18.13 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.258e-05/0.1223, allocations: 192 / 292.8 MB, free: 18.13 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.551e-05/0.1224, allocations: 13.53 kB / 292.8 MB, free: 18.13 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.026e-05/0.1224, allocations: 11.86 kB / 292.8 MB, free: 18.12 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002539/0.1226, allocations: 118.4 kB / 292.9 MB, free: 18.12 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00116/0.1238, allocations: 0.7206 MB / 293.6 MB, free: 17.84 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000472/0.1243, allocations: 342 kB / 294 MB, free: 17.71 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001579/0.1244, allocations: 98.58 kB / 294.1 MB, free: 17.69 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.734e-05/0.1245, allocations: 14.95 kB / 294.1 MB, free: 17.69 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002334/0.1247, allocations: 284.8 kB / 294.4 MB, free: 17.5 MB / 266.7 MB Notification: Performance of pre-optimization done (n=43): time 1.954e-06/0.1247, allocations: 1.594 kB / 294.4 MB, free: 17.5 MB / 266.7 MB Notification: Performance of matching and sorting (n=43): time 0.001505/0.1262, allocations: 0.5483 MB / 294.9 MB, free: 17.43 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.211e-05/0.1263, allocations: 140.2 kB / 295.1 MB, free: 17.27 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001515/0.1264, allocations: 216.5 kB / 295.3 MB, free: 17.15 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 3.331e-05/0.1265, allocations: 36.48 kB / 295.3 MB, free: 17.12 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.764e-05/0.1265, allocations: 149.4 kB / 295.4 MB, free: 17 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.349e-05/0.1266, allocations: 106.5 kB / 295.6 MB, free: 16.94 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001142/0.1267, allocations: 80.66 kB / 295.6 MB, free: 16.92 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 4.782e-05/0.1268, allocations: 341.3 kB / 296 MB, free: 16.6 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000121/0.1269, allocations: 72.78 kB / 296 MB, free: 16.59 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001418/0.127, allocations: 161.4 kB / 296.2 MB, free: 16.51 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002855/0.1273, allocations: 226.1 kB / 296.4 MB, free: 16.46 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.976e-06/0.1273, allocations: 0 / 296.4 MB, free: 16.46 MB / 266.7 MB Notification: Performance of matching and sorting (n=49) (initialization): time 0.0007353/0.128, allocations: 395.3 kB / 296.8 MB, free: 16.4 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.56e-05/0.1281, allocations: 5.844 kB / 296.8 MB, free: 16.4 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.811e-06/0.1281, allocations: 1.156 kB / 296.8 MB, free: 16.4 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001268/0.1293, allocations: 385.8 kB / 297.2 MB, free: 16.37 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001944/0.1295, allocations: 60.42 kB / 297.2 MB, free: 16.37 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007117/0.1302, allocations: 0.7033 MB / 297.9 MB, free: 15.85 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000167/0.1304, allocations: 45.55 kB / 298 MB, free: 15.82 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.565e-05/0.1304, allocations: 11.59 kB / 298 MB, free: 15.82 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 (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 (40): * Single equations (assignments): 39 * 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,3)} Notification: Performance of prepare postOptimizeDAE: time 0.0001027/0.1305, allocations: 138.7 kB / 298.1 MB, free: 15.71 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001409/0.1307, allocations: 99.34 kB / 298.2 MB, free: 15.67 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004884/0.1312, allocations: 296.1 kB / 298.5 MB, free: 15.62 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.011e-06/0.1312, allocations: 5.406 kB / 298.5 MB, free: 15.62 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.917e-06/0.1312, allocations: 8.094 kB / 298.5 MB, free: 15.62 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.392e-06/0.1312, allocations: 6.422 kB / 298.5 MB, free: 15.62 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009396/0.1321, allocations: 0.6912 MB / 299.2 MB, free: 15.35 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.524e-06/0.1321, allocations: 2 kB / 299.2 MB, free: 15.35 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001696/0.1323, allocations: 73.27 kB / 299.3 MB, free: 15.35 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008977/0.1332, allocations: 377.7 kB / 299.7 MB, free: 15.32 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.491e-05/0.1332, allocations: 11.61 kB / 299.7 MB, free: 15.32 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005156/0.1337, allocations: 0.7093 MB / 300.4 MB, free: 14.8 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.064e-06/0.1337, allocations: 2.391 kB / 300.4 MB, free: 14.8 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007331/0.1345, allocations: 0.5606 MB / 301 MB, free: 14.57 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.276e-05/0.1345, allocations: 34.75 kB / 301 MB, free: 14.55 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.037e-05/0.1345, allocations: 17.11 kB / 301 MB, free: 14.54 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001494/0.1347, allocations: 27.02 kB / 301 MB, free: 14.54 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.144e-05/0.1347, allocations: 21.77 kB / 301.1 MB, free: 14.54 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.245e-05/0.1347, allocations: 16.73 kB / 301.1 MB, free: 14.54 MB / 266.7 MB Notification: Performance of sorting global known variables: time 5.687e-05/0.1348, allocations: 70.89 kB / 301.1 MB, free: 14.52 MB / 266.7 MB Notification: Performance of sort global known variables: time 7.1e-08/0.1348, allocations: 0 / 301.1 MB, free: 14.52 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0002656/0.1351, allocations: 104.5 kB / 301.2 MB, free: 14.52 MB / 266.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (38): * Single equations (assignments): 37 * 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,4)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001653/0.1352, allocations: 119.8 kB / 301.4 MB, free: 14.44 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0006544/0.1359, allocations: 373.4 kB / 301.7 MB, free: 14.41 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 6.562e-06/0.1359, allocations: 2.844 kB / 301.7 MB, free: 14.41 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000412/0.1363, allocations: 226.9 kB / 302 MB, free: 14.38 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002831/0.1366, allocations: 84.59 kB / 302 MB, free: 14.37 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001235/0.1378, allocations: 0.6758 MB / 302.7 MB, free: 14.07 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.517e-05/0.1379, allocations: 109.1 kB / 302.8 MB, free: 14 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 9.374e-05/0.138, allocations: 35.28 kB / 302.9 MB, free: 13.99 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001368/0.1381, allocations: 101.9 kB / 302.9 MB, free: 13.95 MB / 266.7 MB Notification: Performance of SimCode: time 7.01e-07/0.1381, allocations: 4 kB / 303 MB, free: 13.94 MB / 266.7 MB Notification: Performance of Templates: time 0.007025/0.1451, allocations: 6.17 MB / 309.1 MB, free: 10.02 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f PowerSysPro_PowerSysPro.Examples.QfURegulation.makefile [Timeout 660] (rm -f PowerSysPro_PowerSysPro.Examples.QfURegulation.pipe ; mkfifo PowerSysPro_PowerSysPro.Examples.QfURegulation.pipe ; head -c 1048576 < PowerSysPro_PowerSysPro.Examples.QfURegulation.pipe >> ../files/PowerSysPro_PowerSysPro.Examples.QfURegulation.sim & ./PowerSysPro_PowerSysPro.Examples.QfURegulation -abortSlowSimulation -alarm=240 -lv LOG_STATS > PowerSysPro_PowerSysPro.Examples.QfURegulation.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 2.747865227982402]