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.001364/0.001364, allocations: 107.8 kB / 17.07 MB, free: 5.68 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.001208/0.001208, allocations: 194.9 kB / 18.01 MB, free: 5.02 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.463/1.463, allocations: 222.9 MB / 241.7 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1-master/package.mo): time 0.05776/0.05776, allocations: 8.097 MB / 300 MB, free: 6.652 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001357/0.001357, allocations: 63.91 kB / 363.2 MB, free: 7.402 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2112/0.2126, allocations: 51.52 MB / 414.7 MB, free: 25.44 MB / 302.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.QfURegulation): time 0.002574/0.2152, allocations: 2.05 MB / 416.7 MB, free: 23.39 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001595/0.2168, allocations: 1.637 MB / 418.4 MB, free: 21.74 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.279e-05/0.2169, allocations: 4 kB / 418.4 MB, free: 21.73 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003288/0.2173, allocations: 139.2 kB / 418.5 MB, free: 21.6 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004829/0.2178, allocations: 226.8 kB / 418.7 MB, free: 21.38 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001532/0.2193, allocations: 1.225 MB / 420 MB, free: 20.14 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003197/0.2196, allocations: 374.5 kB / 420.3 MB, free: 19.78 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001638/0.2198, allocations: 111.7 kB / 420.4 MB, free: 19.66 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001867/0.22, allocations: 163.5 kB / 420.6 MB, free: 19.5 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002083/0.2202, allocations: 195.2 kB / 420.8 MB, free: 19.31 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 4.26e-05/0.2203, allocations: 32 kB / 420.8 MB, free: 19.28 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003727/0.2207, allocations: 291.7 kB / 421.1 MB, free: 18.99 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 7.828e-05/0.2208, allocations: 83.73 kB / 421.2 MB, free: 18.91 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001348/0.2209, allocations: 179.1 kB / 421.4 MB, free: 18.73 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005005/0.2214, allocations: 0.5626 MB / 421.9 MB, free: 18.18 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.703e-06/0.2214, allocations: 0 / 421.9 MB, free: 18.18 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.134e-06/0.2214, allocations: 3.938 kB / 421.9 MB, free: 18.17 MB / 302.1 MB Notification: Performance of Transformations before backend: time 1.153e-05/0.2214, allocations: 4 kB / 421.9 MB, free: 18.17 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.003481/0.2249, allocations: 1.104 MB / 423 MB, free: 17.01 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.153e-05/0.225, allocations: 11.89 kB / 423 MB, free: 17 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001023/0.2251, allocations: 40.56 kB / 423.1 MB, free: 16.96 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003318/0.2254, allocations: 296.2 kB / 423.4 MB, free: 16.63 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001939/0.2256, allocations: 104.5 kB / 423.5 MB, free: 16.52 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.696e-05/0.2257, allocations: 28.38 kB / 423.5 MB, free: 16.49 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001409/0.2271, allocations: 0.7176 MB / 424.2 MB, free: 15.75 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.439e-05/0.2271, allocations: 3.938 kB / 424.2 MB, free: 15.75 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.839e-05/0.2272, allocations: 12 kB / 424.2 MB, free: 15.74 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.877e-06/0.2272, allocations: 11.94 kB / 424.2 MB, free: 15.73 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008577/0.2281, allocations: 449.4 kB / 424.7 MB, free: 15.29 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001754/0.2298, allocations: 1.534 MB / 426.2 MB, free: 13.62 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00132/0.2312, allocations: 0.7115 MB / 426.9 MB, free: 12.86 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005108/0.2317, allocations: 330.4 kB / 427.3 MB, free: 12.53 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001292/0.2318, allocations: 85.09 kB / 427.3 MB, free: 12.43 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003387/0.2322, allocations: 277.1 kB / 427.6 MB, free: 12.14 MB / 302.1 MB Notification: Performance of pre-optimization done (n=43): time 2.335e-06/0.2322, allocations: 0 / 427.6 MB, free: 12.14 MB / 302.1 MB Notification: Performance of matching and sorting (n=43): time 0.003268/0.2355, allocations: 1.222 MB / 428.8 MB, free: 10.89 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.158e-05/0.2355, allocations: 141 kB / 429 MB, free: 10.72 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001754/0.2357, allocations: 224 kB / 429.2 MB, free: 10.49 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 4.112e-05/0.2358, allocations: 37.7 kB / 429.2 MB, free: 10.45 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.48e-05/0.2358, allocations: 156.9 kB / 429.4 MB, free: 10.29 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.07e-05/0.2359, allocations: 110.5 kB / 429.5 MB, free: 10.18 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001279/0.236, allocations: 90.23 kB / 429.6 MB, free: 10.09 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 5.359e-05/0.2361, allocations: 342.8 kB / 429.9 MB, free: 9.742 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002556/0.2364, allocations: 205 kB / 430.1 MB, free: 9.539 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003156/0.2367, allocations: 336.5 kB / 430.4 MB, free: 9.16 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005447/0.2372, allocations: 0.5374 MB / 431 MB, free: 8.578 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.327e-06/0.2372, allocations: 0 / 431 MB, free: 8.578 MB / 302.1 MB Notification: Performance of matching and sorting (n=61) (initialization): time 0.001339/0.2386, allocations: 0.7941 MB / 431.8 MB, free: 7.773 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.598e-05/0.2386, allocations: 12 kB / 431.8 MB, free: 7.762 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.805e-06/0.2386, allocations: 0 / 431.8 MB, free: 7.762 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001985/0.2406, allocations: 468.3 kB / 432.2 MB, free: 7.301 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003045/0.2409, allocations: 87.89 kB / 432.3 MB, free: 7.215 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001239/0.2422, allocations: 0.9074 MB / 433.2 MB, free: 6.281 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003211/0.2425, allocations: 51.47 kB / 433.3 MB, free: 6.23 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.817e-05/0.2426, allocations: 23.98 kB / 433.3 MB, free: 6.207 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.0001643/0.2427, allocations: 165.7 kB / 433.5 MB, free: 6.035 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005997/0.2433, allocations: 253.2 kB / 433.7 MB, free: 5.781 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009345/0.2443, allocations: 0.5826 MB / 434.3 MB, free: 5.191 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.472e-06/0.2443, allocations: 4 kB / 434.3 MB, free: 5.188 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.261e-06/0.2443, allocations: 0 / 434.3 MB, free: 5.188 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.85e-06/0.2443, allocations: 4 kB / 434.3 MB, free: 5.184 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002135/0.2465, allocations: 1.37 MB / 435.7 MB, free: 3.754 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.978e-06/0.2465, allocations: 0 / 435.7 MB, free: 3.754 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003482/0.2468, allocations: 79.89 kB / 435.7 MB, free: 3.676 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001845/0.2487, allocations: 464.3 kB / 436.2 MB, free: 3.219 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.913e-05/0.2487, allocations: 12 kB / 436.2 MB, free: 3.207 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00123/0.25, allocations: 0.9036 MB / 437.1 MB, free: 2.277 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.815e-06/0.25, allocations: 3.938 kB / 437.1 MB, free: 2.273 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002218/0.2522, allocations: 1.005 MB / 438.1 MB, free: 1.238 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.81e-05/0.2523, allocations: 108.7 kB / 438.2 MB, free: 1.113 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.006e-05/0.2524, allocations: 11.94 kB / 438.2 MB, free: 1.102 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004193/0.2528, allocations: 51.89 kB / 438.3 MB, free: 1.051 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.096e-05/0.2529, allocations: 23.97 kB / 438.3 MB, free: 1.027 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.596e-05/0.2529, allocations: 12 kB / 438.3 MB, free: 1.016 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001232/0.253, allocations: 167.1 kB / 438.5 MB, free: 0.8516 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.51e-07/0.253, allocations: 0 / 438.5 MB, free: 0.8516 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0004487/0.2535, allocations: 111.8 kB / 438.6 MB, free: 0.7422 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.000205/0.2537, allocations: 131.2 kB / 438.7 MB, free: 0.6016 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.001681/0.2554, allocations: 0.7058 MB / 439.4 MB, free: 15.89 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.815e-06/0.2554, allocations: 0 / 439.4 MB, free: 15.89 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001067/0.2565, allocations: 316.3 kB / 439.7 MB, free: 15.59 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007332/0.2572, allocations: 176 kB / 439.9 MB, free: 15.41 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002204/0.2595, allocations: 0.8467 MB / 440.8 MB, free: 14.55 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004302/0.2599, allocations: 0.781 MB / 441.5 MB, free: 13.74 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0001497/0.2601, allocations: 42.94 kB / 441.6 MB, free: 13.7 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.324e-05/0.2602, allocations: 31.42 kB / 441.6 MB, free: 13.67 MB / 318.1 MB Notification: Performance of SimCode: time 3.2e-07/0.2602, allocations: 0 / 441.6 MB, free: 13.67 MB / 318.1 MB Notification: Performance of Templates: time 0.01023/0.2704, allocations: 5.81 MB / 447.4 MB, free: 7.875 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 -s gbode -lv LOG_STATS > PowerSysPro_PowerSysPro.Examples.QfURegulation.pipe 2>&1)