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.001523/0.001523, allocations: 103 kB / 16.98 MB, free: 6.18 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.001695/0.001695, allocations: 187.3 kB / 17.91 MB, free: 5.281 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.415/1.415, allocations: 222.9 MB / 241.6 MB, free: 15.27 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1-master/package.mo): time 0.05216/0.05216, allocations: 8.091 MB / 299.9 MB, free: 6.758 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001425/0.001425, allocations: 59.91 kB / 362.4 MB, free: 8.168 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2356/0.2371, allocations: 51.51 MB / 413.9 MB, free: 25.62 MB / 302.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.QfURegulation): time 0.002804/0.2399, allocations: 2.051 MB / 416 MB, free: 23.57 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.002041/0.242, allocations: 1.629 MB / 417.6 MB, free: 21.93 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001592/0.2422, allocations: 12 kB / 417.6 MB, free: 21.92 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004065/0.2426, allocations: 139.3 kB / 417.7 MB, free: 21.78 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005797/0.2432, allocations: 230.6 kB / 418 MB, free: 21.55 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001655/0.2449, allocations: 1.212 MB / 419.2 MB, free: 20.34 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004378/0.2453, allocations: 366.6 kB / 419.5 MB, free: 19.98 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001885/0.2455, allocations: 117.6 kB / 419.6 MB, free: 19.86 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002423/0.2458, allocations: 171.5 kB / 419.8 MB, free: 19.69 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002442/0.246, allocations: 191.2 kB / 420 MB, free: 19.5 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 5.309e-05/0.2461, allocations: 36 kB / 420 MB, free: 19.47 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004583/0.2466, allocations: 287.8 kB / 420.3 MB, free: 19.19 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 8.118e-05/0.2467, allocations: 91.67 kB / 420.4 MB, free: 19.1 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001362/0.2468, allocations: 175.1 kB / 420.6 MB, free: 18.93 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005414/0.2474, allocations: 0.5493 MB / 421.1 MB, free: 18.38 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.777e-06/0.2474, allocations: 0 / 421.1 MB, free: 18.38 MB / 302.1 MB Notification: Performance of FrontEnd: time 9.82e-07/0.2474, allocations: 0 / 421.1 MB, free: 18.38 MB / 302.1 MB Notification: Performance of Transformations before backend: time 6.732e-06/0.2474, allocations: 0 / 421.1 MB, free: 18.38 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.003761/0.2512, allocations: 1.107 MB / 422.2 MB, free: 17.21 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.899e-05/0.2512, allocations: 15.88 kB / 422.2 MB, free: 17.2 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001024/0.2513, allocations: 44.56 kB / 422.3 MB, free: 17.16 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003221/0.2516, allocations: 295.6 kB / 422.6 MB, free: 16.83 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001959/0.2518, allocations: 100.5 kB / 422.7 MB, free: 16.72 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.125e-05/0.2519, allocations: 28.38 kB / 422.7 MB, free: 16.69 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001427/0.2533, allocations: 0.7098 MB / 423.4 MB, free: 15.96 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.473e-05/0.2534, allocations: 7.875 kB / 423.4 MB, free: 15.95 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.338e-05/0.2534, allocations: 16 kB / 423.4 MB, free: 15.94 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.656e-06/0.2534, allocations: 7.984 kB / 423.4 MB, free: 15.93 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009246/0.2544, allocations: 445.5 kB / 423.9 MB, free: 15.49 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00184/0.2562, allocations: 1.557 MB / 425.4 MB, free: 13.8 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00147/0.2577, allocations: 0.7038 MB / 426.1 MB, free: 13.05 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005458/0.2583, allocations: 322.4 kB / 426.5 MB, free: 12.73 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001359/0.2584, allocations: 89.09 kB / 426.5 MB, free: 12.62 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003512/0.2588, allocations: 272.9 kB / 426.8 MB, free: 12.34 MB / 302.1 MB Notification: Performance of pre-optimization done (n=43): time 1.904e-06/0.2588, allocations: 0 / 426.8 MB, free: 12.34 MB / 302.1 MB Notification: Performance of matching and sorting (n=43): time 0.003474/0.2623, allocations: 1.222 MB / 428 MB, free: 11.09 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.514e-05/0.2624, allocations: 144.5 kB / 428.2 MB, free: 10.92 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002072/0.2626, allocations: 223.9 kB / 428.4 MB, free: 10.68 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 4.676e-05/0.2626, allocations: 41.69 kB / 428.4 MB, free: 10.64 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.34e-05/0.2627, allocations: 156.9 kB / 428.6 MB, free: 10.48 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.889e-05/0.2628, allocations: 102.5 kB / 428.7 MB, free: 10.38 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001319/0.2629, allocations: 98.23 kB / 428.8 MB, free: 10.28 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 6.043e-05/0.263, allocations: 346.7 kB / 429.1 MB, free: 9.93 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000257/0.2633, allocations: 201.1 kB / 429.3 MB, free: 9.73 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003042/0.2636, allocations: 332.5 kB / 429.6 MB, free: 9.355 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005663/0.2641, allocations: 0.5452 MB / 430.2 MB, free: 8.766 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.036e-06/0.2642, allocations: 4 kB / 430.2 MB, free: 8.762 MB / 302.1 MB Notification: Performance of matching and sorting (n=61) (initialization): time 0.001394/0.2656, allocations: 0.7864 MB / 431 MB, free: 7.965 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.979e-05/0.2656, allocations: 10.34 kB / 431 MB, free: 7.957 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.307e-06/0.2656, allocations: 4 kB / 431 MB, free: 7.953 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002124/0.2677, allocations: 472.3 kB / 431.5 MB, free: 7.488 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003044/0.2681, allocations: 87.89 kB / 431.5 MB, free: 7.402 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001311/0.2694, allocations: 0.9113 MB / 432.4 MB, free: 6.465 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003671/0.2698, allocations: 51.47 kB / 432.5 MB, free: 6.414 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.586e-05/0.2698, allocations: 24.14 kB / 432.5 MB, free: 6.391 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.0001902/0.27, allocations: 157.8 kB / 432.7 MB, free: 6.227 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006407/0.2707, allocations: 257.1 kB / 432.9 MB, free: 5.969 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009571/0.2716, allocations: 0.5748 MB / 433.5 MB, free: 5.387 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.935e-06/0.2716, allocations: 12.08 kB / 433.5 MB, free: 5.375 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.506e-06/0.2717, allocations: 7.938 kB / 433.5 MB, free: 5.367 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.572e-06/0.2717, allocations: 0 / 433.5 MB, free: 5.367 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002245/0.2739, allocations: 1.365 MB / 434.9 MB, free: 3.941 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.671e-06/0.2739, allocations: 4 kB / 434.9 MB, free: 3.938 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003602/0.2743, allocations: 75.89 kB / 435 MB, free: 3.863 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001916/0.2762, allocations: 464.4 kB / 435.4 MB, free: 3.406 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.26e-05/0.2763, allocations: 12 kB / 435.4 MB, free: 3.395 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001291/0.2776, allocations: 0.9158 MB / 436.3 MB, free: 2.453 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.814e-06/0.2776, allocations: 0 / 436.3 MB, free: 2.453 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00236/0.28, allocations: 1 MB / 437.3 MB, free: 1.426 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.741e-05/0.2801, allocations: 112.7 kB / 437.5 MB, free: 1.297 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.695e-05/0.2802, allocations: 8 kB / 437.5 MB, free: 1.289 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004237/0.2806, allocations: 55.94 kB / 437.5 MB, free: 1.234 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.015e-05/0.2807, allocations: 27.89 kB / 437.5 MB, free: 1.207 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.536e-05/0.2807, allocations: 16 kB / 437.6 MB, free: 1.191 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001375/0.2809, allocations: 171.1 kB / 437.7 MB, free: 1.023 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.2809, allocations: 0 / 437.7 MB, free: 1.023 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0004707/0.2813, allocations: 107.8 kB / 437.8 MB, free: 0.918 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.0002018/0.2816, allocations: 127.2 kB / 438 MB, free: 0.7812 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.001875/0.2834, allocations: 0.7257 MB / 438.7 MB, free: 56 kB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 3.296e-06/0.2835, allocations: 0 / 438.7 MB, free: 56 kB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001157/0.2846, allocations: 323.9 kB / 439 MB, free: 15.74 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008004/0.2854, allocations: 159.9 kB / 439.2 MB, free: 15.58 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002611/0.2881, allocations: 0.8818 MB / 440 MB, free: 14.66 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003618/0.2885, allocations: 0.777 MB / 440.8 MB, free: 13.86 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001312/0.2886, allocations: 35.42 kB / 440.9 MB, free: 13.83 MB / 318.1 MB Notification: Performance of SimCode: time 5.21e-07/0.2886, allocations: 3.938 kB / 440.9 MB, free: 13.82 MB / 318.1 MB Notification: Performance of Templates: time 0.008425/0.297, allocations: 5.828 MB / 446.7 MB, free: 7.984 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)