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.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1-master/package.mo", uses=false) Using package PowerSysPro with version 2.3.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(PowerSysPro.Examples.QfURegulation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSysPro_PowerSysPro.Examples.QfURegulation") translateModel(PowerSysPro.Examples.QfURegulation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSysPro_PowerSysPro.Examples.QfURegulation") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00112/0.00112, allocations: 107.2 kB / 16.69 MB, free: 6.363 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00116/0.00116, allocations: 182 kB / 17.61 MB, free: 5.746 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.324/1.324, allocations: 222.9 MB / 241.3 MB, free: 15.43 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1-master/package.mo): time 0.04935/0.04935, allocations: 8.101 MB / 299.5 MB, free: 6.895 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001196/0.001196, allocations: 67.89 kB / 361.9 MB, free: 8.508 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2105/0.2117, allocations: 51.52 MB / 413.4 MB, free: 25.79 MB / 302.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.QfURegulation): time 0.002929/0.2147, allocations: 2.077 MB / 415.5 MB, free: 23.71 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.002077/0.2168, allocations: 1.625 MB / 417.1 MB, free: 22.07 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001087/0.2169, allocations: 4 kB / 417.1 MB, free: 22.06 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003965/0.2173, allocations: 119.5 kB / 417.2 MB, free: 21.95 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005374/0.2179, allocations: 211 kB / 417.4 MB, free: 21.74 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00154/0.2194, allocations: 1.14 MB / 418.6 MB, free: 20.59 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003691/0.2198, allocations: 374.6 kB / 418.9 MB, free: 20.23 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001805/0.22, allocations: 105.7 kB / 419 MB, free: 20.12 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002017/0.2202, allocations: 167.5 kB / 419.2 MB, free: 19.95 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002152/0.2204, allocations: 199.2 kB / 419.4 MB, free: 19.76 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 4.381e-05/0.2205, allocations: 32 kB / 419.4 MB, free: 19.73 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003822/0.2209, allocations: 295.8 kB / 419.7 MB, free: 19.44 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 8.453e-05/0.221, allocations: 83.67 kB / 419.8 MB, free: 19.36 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001296/0.2211, allocations: 183.2 kB / 420 MB, free: 19.18 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003569/0.2215, allocations: 411.1 kB / 420.4 MB, free: 18.77 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.659e-06/0.2215, allocations: 0 / 420.4 MB, free: 18.77 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.773e-06/0.2215, allocations: 3.938 kB / 420.4 MB, free: 18.77 MB / 302.1 MB Notification: Performance of Transformations before backend: time 5.871e-06/0.2215, allocations: 4 kB / 420.4 MB, free: 18.77 MB / 302.1 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.003573/0.2251, allocations: 1.104 MB / 421.5 MB, free: 17.61 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.892e-05/0.2251, allocations: 15.89 kB / 421.5 MB, free: 17.59 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.449e-05/0.2252, allocations: 36.56 kB / 421.5 MB, free: 17.56 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000293/0.2255, allocations: 291.7 kB / 421.8 MB, free: 17.23 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001865/0.2257, allocations: 104.5 kB / 421.9 MB, free: 17.12 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.273e-05/0.2258, allocations: 32.31 kB / 422 MB, free: 17.09 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001396/0.2272, allocations: 0.7136 MB / 422.7 MB, free: 16.36 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.257e-05/0.2272, allocations: 3.938 kB / 422.7 MB, free: 16.35 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.597e-05/0.2273, allocations: 20 kB / 422.7 MB, free: 16.33 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.885e-06/0.2273, allocations: 4 kB / 422.7 MB, free: 16.33 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008745/0.2282, allocations: 453.4 kB / 423.1 MB, free: 15.88 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001783/0.23, allocations: 1.545 MB / 424.7 MB, free: 14.21 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001388/0.2314, allocations: 0.699 MB / 425.4 MB, free: 13.46 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005332/0.2319, allocations: 330.4 kB / 425.7 MB, free: 13.13 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001402/0.2321, allocations: 93.3 kB / 425.8 MB, free: 13.02 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003732/0.2325, allocations: 273.4 kB / 426.1 MB, free: 12.74 MB / 302.1 MB Notification: Performance of pre-optimization done (n=43): time 2.314e-06/0.2325, allocations: 3.938 kB / 426.1 MB, free: 12.73 MB / 302.1 MB Notification: Performance of matching and sorting (n=43): time 0.003437/0.2359, allocations: 1.22 MB / 427.3 MB, free: 11.49 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.285e-05/0.236, allocations: 144.5 kB / 427.4 MB, free: 11.32 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001859/0.2362, allocations: 224 kB / 427.6 MB, free: 11.08 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 4.346e-05/0.2362, allocations: 37.7 kB / 427.7 MB, free: 11.04 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.822e-05/0.2363, allocations: 156.7 kB / 427.8 MB, free: 10.88 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.946e-05/0.2364, allocations: 118.5 kB / 428 MB, free: 10.77 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001321/0.2365, allocations: 90.23 kB / 428 MB, free: 10.67 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 5.599e-05/0.2366, allocations: 338.8 kB / 428.4 MB, free: 10.33 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002591/0.2369, allocations: 205 kB / 428.6 MB, free: 10.13 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003168/0.2372, allocations: 336.4 kB / 428.9 MB, free: 9.75 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005641/0.2377, allocations: 0.5453 MB / 429.4 MB, free: 9.16 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.337e-06/0.2378, allocations: 0 / 429.4 MB, free: 9.16 MB / 302.1 MB Notification: Performance of matching and sorting (n=61) (initialization): time 0.001402/0.2392, allocations: 0.7903 MB / 430.2 MB, free: 8.359 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.117e-05/0.2392, allocations: 12 kB / 430.2 MB, free: 8.348 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.795e-06/0.2392, allocations: 4 kB / 430.3 MB, free: 8.344 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002184/0.2414, allocations: 468.3 kB / 430.7 MB, free: 7.883 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003166/0.2417, allocations: 87.83 kB / 430.8 MB, free: 7.797 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001364/0.2431, allocations: 0.9036 MB / 431.7 MB, free: 6.867 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003532/0.2435, allocations: 55.45 kB / 431.8 MB, free: 6.812 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.844e-05/0.2435, allocations: 24 kB / 431.8 MB, free: 6.789 MB / 302.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * 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 (52): * Single equations (assignments): 51 * 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.0001852/0.2437, allocations: 165.7 kB / 431.9 MB, free: 6.617 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006208/0.2443, allocations: 245.3 kB / 432.2 MB, free: 6.371 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009985/0.2453, allocations: 0.5826 MB / 432.8 MB, free: 5.781 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.823e-06/0.2454, allocations: 4 kB / 432.8 MB, free: 5.777 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.782e-06/0.2454, allocations: 7.938 kB / 432.8 MB, free: 5.77 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.362e-06/0.2454, allocations: 3.984 kB / 432.8 MB, free: 5.766 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002175/0.2476, allocations: 1.362 MB / 434.1 MB, free: 4.344 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.328e-06/0.2476, allocations: 0 / 434.1 MB, free: 4.344 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000357/0.248, allocations: 87.88 kB / 434.2 MB, free: 4.258 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001997/0.25, allocations: 460.3 kB / 434.7 MB, free: 3.805 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.111e-05/0.25, allocations: 12 kB / 434.7 MB, free: 3.793 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001345/0.2514, allocations: 0.9036 MB / 435.6 MB, free: 2.863 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.755e-06/0.2514, allocations: 4 kB / 435.6 MB, free: 2.859 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002381/0.2538, allocations: 1.009 MB / 436.6 MB, free: 1.824 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.74e-05/0.2538, allocations: 104.7 kB / 436.7 MB, free: 1.703 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.596e-05/0.2539, allocations: 12 kB / 436.7 MB, free: 1.691 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004242/0.2544, allocations: 55.89 kB / 436.8 MB, free: 1.637 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.668e-05/0.2544, allocations: 23.97 kB / 436.8 MB, free: 1.613 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.58e-05/0.2545, allocations: 12 kB / 436.8 MB, free: 1.602 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001321/0.2546, allocations: 167.1 kB / 437 MB, free: 1.438 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.81e-07/0.2546, allocations: 0 / 437 MB, free: 1.438 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0004539/0.2551, allocations: 111.8 kB / 437.1 MB, free: 1.328 MB / 302.1 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.0001956/0.2553, allocations: 135.3 kB / 437.2 MB, free: 1.184 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.001821/0.2571, allocations: 0.7133 MB / 437.9 MB, free: 480 kB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 3.145e-06/0.2571, allocations: 3.938 kB / 437.9 MB, free: 476 kB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001047/0.2582, allocations: 332.6 kB / 438.2 MB, free: 144 kB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000743/0.2589, allocations: 168.2 kB / 438.4 MB, free: 15.97 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002442/0.2614, allocations: 0.9915 MB / 439.4 MB, free: 14.95 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003136/0.2617, allocations: 0.7848 MB / 440.2 MB, free: 14.14 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001103/0.2618, allocations: 35.42 kB / 440.2 MB, free: 14.1 MB / 318.1 MB Notification: Performance of SimCode: time 7.62e-07/0.2619, allocations: 0 / 440.2 MB, free: 14.1 MB / 318.1 MB Notification: Performance of Templates: time 0.008414/0.2703, allocations: 5.828 MB / 446.1 MB, free: 8.262 MB / 318.1 MB make -j1 -f PowerSysPro_PowerSysPro.Examples.QfURegulation.makefile (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=480 -lv LOG_STATS > PowerSysPro_PowerSysPro.Examples.QfURegulation.pipe 2>&1)