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/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1/package.mo", uses=false) Using package PowerSysPro with version 2.3.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1/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) 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) 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/Complex 4.0.0+maint.om/package.mo): time 0.0009114/0.0009113, allocations: 170.1 kB / 16.8 MB, free: 5.027 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.312/1.312, allocations: 223.3 MB / 240.8 MB, free: 11.73 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001086/0.001086, allocations: 108.2 kB / 292 MB, free: 10.79 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1/package.mo): time 0.07143/0.07143, allocations: 8.095 MB / 351.2 MB, free: 15.57 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003526/0.0003527, allocations: 19.98 kB / 414.4 MB, free: 57.28 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09059/0.09096, allocations: 52.51 MB / 466.9 MB, free: 4.762 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2786/0.3696, allocations: 81.86 MB / 0.5359 GB, free: 3.66 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001875/0.3698, allocations: 70.91 kB / 0.5359 GB, free: 3.629 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02687/0.3967, allocations: 10.17 MB / 0.5459 GB, free: 11.33 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.804e-06/0.3967, allocations: 0 / 0.5459 GB, free: 11.33 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.639e-05/0.3968, allocations: 4 kB / 0.5459 GB, free: 11.32 MB / 362.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.002371/0.3991, allocations: 0.8391 MB / 0.5467 GB, free: 10.48 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.633e-05/0.3992, allocations: 8.031 kB / 0.5467 GB, free: 10.47 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.653e-05/0.3993, allocations: 36.56 kB / 0.5467 GB, free: 10.44 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004347/0.3997, allocations: 310.5 kB / 0.547 GB, free: 10.14 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002224/0.4, allocations: 107.8 kB / 0.5471 GB, free: 10.03 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.134e-05/0.4, allocations: 23.69 kB / 0.5472 GB, free: 10.02 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001542/0.4016, allocations: 0.7206 MB / 0.5479 GB, free: 9.457 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.475e-05/0.4016, allocations: 7.938 kB / 0.5479 GB, free: 9.449 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.516e-05/0.4017, allocations: 13.75 kB / 0.5479 GB, free: 9.445 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.538e-06/0.4017, allocations: 8 kB / 0.5479 GB, free: 9.438 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009548/0.4026, allocations: 470.2 kB / 0.5483 GB, free: 9.117 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002227/0.4049, allocations: 1.627 MB / 0.5499 GB, free: 7.758 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001513/0.4064, allocations: 0.7279 MB / 0.5506 GB, free: 7.059 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005877/0.407, allocations: 330.4 kB / 0.551 GB, free: 6.727 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.871e-05/0.4071, allocations: 12.14 kB / 0.551 GB, free: 6.715 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000396/0.4075, allocations: 277.3 kB / 0.5512 GB, free: 6.426 MB / 362.7 MB Notification: Performance of pre-optimization done (n=43): time 2.004e-06/0.4075, allocations: 0 / 0.5512 GB, free: 6.426 MB / 362.7 MB Notification: Performance of matching and sorting (n=43): time 0.003386/0.4109, allocations: 1.209 MB / 0.5524 GB, free: 5.191 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.549e-05/0.411, allocations: 144.5 kB / 0.5526 GB, free: 5.02 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002566/0.4113, allocations: 228.1 kB / 0.5528 GB, free: 4.785 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 4.26e-05/0.4113, allocations: 33.7 kB / 0.5528 GB, free: 4.746 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000111/0.4114, allocations: 160.5 kB / 0.553 GB, free: 4.586 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.202e-05/0.4115, allocations: 114.4 kB / 0.5531 GB, free: 4.473 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.265e-05/0.4116, allocations: 4 kB / 0.5531 GB, free: 4.469 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001321/0.4117, allocations: 342.8 kB / 0.5534 GB, free: 4.125 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002973/0.412, allocations: 172.8 kB / 0.5536 GB, free: 3.957 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003451/0.4124, allocations: 298.9 kB / 0.5538 GB, free: 3.613 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006223/0.413, allocations: 478.5 kB / 0.5543 GB, free: 3.098 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.554e-06/0.413, allocations: 4 kB / 0.5543 GB, free: 3.094 MB / 362.7 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.001348/0.4144, allocations: 0.6734 MB / 0.555 GB, free: 2.41 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.704e-05/0.4144, allocations: 8 kB / 0.555 GB, free: 2.402 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.143e-05/0.4144, allocations: 4 kB / 0.555 GB, free: 2.398 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001951/0.4164, allocations: 432.7 kB / 0.5554 GB, free: 1.973 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000283/0.4167, allocations: 79.83 kB / 0.5555 GB, free: 1.895 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001337/0.418, allocations: 0.8848 MB / 0.5563 GB, free: 0.9844 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003394/0.4184, allocations: 43.69 kB / 0.5564 GB, free: 0.9414 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.929e-05/0.4184, allocations: 19.98 kB / 0.5564 GB, free: 0.9219 MB / 362.7 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 ($whenCondition1,$PRE.varLoad.degradedMode,varLoad.degradedMode) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (42): * Single equations (assignments): 41 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {6 4} Notification: Performance of prepare postOptimizeDAE: time 0.0002035/0.4186, allocations: 165.6 kB / 0.5565 GB, free: 0.75 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006768/0.4193, allocations: 269.2 kB / 0.5568 GB, free: 492 kB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001037/0.4203, allocations: 0.5516 MB / 0.5573 GB, free: 15.91 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.756e-06/0.4204, allocations: 8.031 kB / 0.5574 GB, free: 15.91 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.071e-06/0.4204, allocations: 7.938 kB / 0.5574 GB, free: 15.9 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.078e-05/0.4204, allocations: 11.92 kB / 0.5574 GB, free: 15.89 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00319/0.4236, allocations: 1.52 MB / 0.5589 GB, free: 14.31 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.767e-06/0.4236, allocations: 4 kB / 0.5589 GB, free: 14.3 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004113/0.424, allocations: 83.88 kB / 0.5589 GB, free: 14.22 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001766/0.4258, allocations: 436.3 kB / 0.5594 GB, free: 13.79 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.702e-05/0.4259, allocations: 16.11 kB / 0.5594 GB, free: 13.78 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001274/0.4271, allocations: 0.8925 MB / 0.5602 GB, free: 12.86 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.783e-06/0.4272, allocations: 0 / 0.5602 GB, free: 12.86 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002444/0.4296, allocations: 1.004 MB / 0.5612 GB, free: 11.83 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001033/0.4297, allocations: 116.6 kB / 0.5613 GB, free: 11.7 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.227e-05/0.4298, allocations: 15.98 kB / 0.5613 GB, free: 11.68 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004065/0.4302, allocations: 43.97 kB / 0.5614 GB, free: 11.64 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.822e-05/0.4303, allocations: 31.89 kB / 0.5614 GB, free: 11.61 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.601e-05/0.4304, allocations: 12 kB / 0.5614 GB, free: 11.59 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001864/0.4305, allocations: 173.6 kB / 0.5616 GB, free: 11.43 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.5e-07/0.4306, allocations: 0 / 0.5616 GB, free: 11.43 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0004484/0.431, allocations: 107.8 kB / 0.5617 GB, free: 11.32 MB / 378.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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {6 5} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002095/0.4312, allocations: 127.2 kB / 0.5618 GB, free: 11.19 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.001676/0.4329, allocations: 0.6244 MB / 0.5624 GB, free: 10.57 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.076e-06/0.4329, allocations: 192 / 0.5624 GB, free: 10.57 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0009601/0.4339, allocations: 299.6 kB / 0.5627 GB, free: 10.27 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007471/0.4347, allocations: 185.1 kB / 0.5629 GB, free: 10.09 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002194/0.4369, allocations: 0.9243 MB / 0.5638 GB, free: 9.141 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003433/0.4372, allocations: 0.7813 MB / 0.5646 GB, free: 8.332 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0001785/0.4374, allocations: 46.94 kB / 0.5646 GB, free: 8.285 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.599e-05/0.4375, allocations: 39.36 kB / 0.5646 GB, free: 8.25 MB / 378.7 MB Notification: Performance of SimCode: time 4.41e-07/0.4375, allocations: 0 / 0.5646 GB, free: 8.25 MB / 378.7 MB Notification: Performance of Templates: time 0.009148/0.4467, allocations: 5.299 MB / 0.5698 GB, free: 2.965 MB / 378.7 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)