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.001074/0.001074, allocations: 81.08 kB / 20.7 MB, free: 3.801 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.001195/0.001195, allocations: 174 kB / 24.09 MB, free: 416 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 1.035/1.035, allocations: 177.1 MB / 204.5 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.02393/0.02393, allocations: 4.493 MB / 265.6 MB, free: 8.395 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.704e-06/1.704e-06, allocations: 0 / 336.9 MB, free: 13 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.165e-05/2.336e-05, allocations: 4.984 kB / 336.9 MB, free: 13 MB / 266.7 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.QfURegulation): time 0.003064/0.003087, allocations: 1.958 MB / 338.9 MB, free: 11.04 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.002072/0.005159, allocations: 1.668 MB / 340.6 MB, free: 9.355 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001411/0.0053, allocations: 7.938 kB / 340.6 MB, free: 9.348 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003437/0.005644, allocations: 135.1 kB / 340.7 MB, free: 9.215 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004971/0.006141, allocations: 234.5 kB / 340.9 MB, free: 8.984 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009616/0.007103, allocations: 1.112 MB / 342 MB, free: 7.867 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002886/0.007391, allocations: 378.4 kB / 342.4 MB, free: 7.496 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001239/0.007515, allocations: 72.28 kB / 342.5 MB, free: 7.422 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000205/0.00772, allocations: 235.5 kB / 342.7 MB, free: 7.191 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001609/0.007881, allocations: 163.5 kB / 342.9 MB, free: 7.031 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 3.456e-05/0.007916, allocations: 32 kB / 342.9 MB, free: 7 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002878/0.008203, allocations: 279.6 kB / 343.2 MB, free: 6.727 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 5.588e-05/0.008259, allocations: 95.66 kB / 343.3 MB, free: 6.633 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 7.636e-05/0.008336, allocations: 119.7 kB / 343.4 MB, free: 6.516 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003758/0.008711, allocations: 0.5179 MB / 343.9 MB, free: 5.996 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.422e-06/0.008713, allocations: 4 kB / 343.9 MB, free: 5.992 MB / 266.7 MB Notification: Performance of FrontEnd: time 6.41e-07/0.008713, allocations: 0 / 343.9 MB, free: 5.992 MB / 266.7 MB Notification: Performance of Transformations before backend: time 3.817e-06/0.008717, allocations: 4 kB / 343.9 MB, free: 5.988 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.001761/0.01048, allocations: 1.13 MB / 345 MB, free: 4.816 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.328e-05/0.01051, allocations: 12.03 kB / 345 MB, free: 4.805 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.86e-05/0.01059, allocations: 64.7 kB / 345.1 MB, free: 4.742 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001884/0.01078, allocations: 244.8 kB / 345.3 MB, free: 4.473 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001047/0.01088, allocations: 225.1 kB / 345.6 MB, free: 4.211 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.01e-05/0.01092, allocations: 36.38 kB / 345.6 MB, free: 4.176 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004746/0.0114, allocations: 0.5173 MB / 346.1 MB, free: 3.594 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.041e-05/0.01141, allocations: 192 / 346.1 MB, free: 3.594 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.516e-05/0.01143, allocations: 16.36 kB / 346.1 MB, free: 3.578 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.584e-06/0.01144, allocations: 8.125 kB / 346.1 MB, free: 3.57 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000161/0.0116, allocations: 131.3 kB / 346.3 MB, free: 3.441 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008822/0.01248, allocations: 1.004 MB / 347.3 MB, free: 2.398 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003398/0.01282, allocations: 329.9 kB / 347.6 MB, free: 2.039 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001141/0.01294, allocations: 123.5 kB / 347.7 MB, free: 1.906 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.721e-05/0.01301, allocations: 16 kB / 347.7 MB, free: 1.891 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001841/0.01319, allocations: 298.9 kB / 348 MB, free: 1.551 MB / 266.7 MB Notification: Performance of pre-optimization done (n=43): time 1.894e-06/0.01319, allocations: 3.984 kB / 348 MB, free: 1.547 MB / 266.7 MB Notification: Performance of matching and sorting (n=43): time 0.001174/0.01437, allocations: 0.6263 MB / 348.7 MB, free: 0.9102 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.718e-05/0.0144, allocations: 140.5 kB / 348.8 MB, free: 0.7422 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.74e-05/0.0145, allocations: 269.6 kB / 349.1 MB, free: 472 kB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.738e-05/0.01453, allocations: 37.7 kB / 349.1 MB, free: 428 kB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.559e-05/0.01458, allocations: 207.7 kB / 349.3 MB, free: 216 kB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.528e-05/0.01463, allocations: 111 kB / 349.4 MB, free: 104 kB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.751e-05/0.01471, allocations: 87.81 kB / 349.5 MB, free: 8 kB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001605/0.01487, allocations: 0.5117 MB / 350 MB, free: 15.48 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.709e-05/0.01496, allocations: 80.94 kB / 350.1 MB, free: 15.41 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001461/0.01511, allocations: 193 kB / 350.3 MB, free: 15.18 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002438/0.01535, allocations: 253.7 kB / 350.5 MB, free: 14.91 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.305e-06/0.01536, allocations: 0 / 350.5 MB, free: 14.91 MB / 282.7 MB Notification: Performance of matching and sorting (n=49) (initialization): time 0.0006815/0.01604, allocations: 485 kB / 351 MB, free: 14.43 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.633e-05/0.01605, allocations: 6.969 kB / 351 MB, free: 14.43 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.801e-06/0.01606, allocations: 0 / 351 MB, free: 14.43 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001033/0.01709, allocations: 395.2 kB / 351.4 MB, free: 14.04 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000161/0.01725, allocations: 67.91 kB / 351.5 MB, free: 13.97 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007608/0.01801, allocations: 0.9833 MB / 352.4 MB, free: 12.95 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000126/0.01814, allocations: 35.78 kB / 352.5 MB, free: 12.92 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.951e-05/0.01816, allocations: 15.98 kB / 352.5 MB, free: 12.9 MB / 282.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.0001068/0.01827, allocations: 180.5 kB / 352.7 MB, free: 12.71 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001225/0.01839, allocations: 117.4 kB / 352.8 MB, free: 12.59 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005007/0.01889, allocations: 357 kB / 353.1 MB, free: 12.23 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.799e-06/0.01889, allocations: 8 kB / 353.1 MB, free: 12.23 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.653e-06/0.0189, allocations: 4 kB / 353.1 MB, free: 12.22 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.949e-06/0.0189, allocations: 3.984 kB / 353.1 MB, free: 12.22 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009035/0.0198, allocations: 0.8374 MB / 354 MB, free: 11.34 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.477e-06/0.01981, allocations: 7.938 kB / 354 MB, free: 11.34 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001506/0.01996, allocations: 63.95 kB / 354 MB, free: 11.27 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009012/0.02086, allocations: 399.7 kB / 354.4 MB, free: 10.88 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.209e-05/0.02088, allocations: 15.92 kB / 354.5 MB, free: 10.86 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001014/0.0219, allocations: 0.995 MB / 355.4 MB, free: 9.836 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.354e-06/0.0219, allocations: 0 / 355.4 MB, free: 9.836 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001077/0.02298, allocations: 0.6398 MB / 356.1 MB, free: 9.16 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.282e-05/0.02304, allocations: 39.69 kB / 356.1 MB, free: 9.121 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.883e-05/0.0231, allocations: 8 kB / 356.1 MB, free: 9.113 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001952/0.02329, allocations: 31.97 kB / 356.2 MB, free: 9.082 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.587e-05/0.02335, allocations: 27.95 kB / 356.2 MB, free: 9.055 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.199e-05/0.02337, allocations: 8 kB / 356.2 MB, free: 9.047 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.000105/0.02347, allocations: 183.2 kB / 356.4 MB, free: 8.867 MB / 282.7 MB Notification: Performance of sort global known variables: time 7e-08/0.02348, allocations: 0 / 356.4 MB, free: 8.867 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0003107/0.02379, allocations: 107.9 kB / 356.5 MB, free: 8.762 MB / 282.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.0001987/0.02398, allocations: 127.1 kB / 356.6 MB, free: 8.629 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.000783/0.02477, allocations: 406.8 kB / 357 MB, free: 8.23 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 2.985e-06/0.02477, allocations: 0 / 357 MB, free: 8.23 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004778/0.02525, allocations: 243.8 kB / 357.2 MB, free: 7.988 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003402/0.02559, allocations: 88.77 kB / 357.3 MB, free: 7.902 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001482/0.02707, allocations: 0.6788 MB / 358 MB, free: 7.188 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.211e-05/0.02713, allocations: 106.2 kB / 358.1 MB, free: 7.062 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 9.376e-05/0.02723, allocations: 30.95 kB / 358.1 MB, free: 7.035 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001438/0.02737, allocations: 126.2 kB / 358.3 MB, free: 6.91 MB / 282.7 MB Notification: Performance of SimCode: time 7.42e-07/0.02737, allocations: 4 kB / 358.3 MB, free: 6.906 MB / 282.7 MB Notification: Performance of Templates: time 0.008012/0.03538, allocations: 6.168 MB / 364.4 MB, free: 0.7891 MB / 282.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.9407894988544285]