Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRII.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/OpenIPSL 3.1.0-master/package.mo", uses=false) Using package OpenIPSL with version 3.1.0-dev (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/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(OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRII") translateModel(OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRII") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001539/0.001539, allocations: 182 kB / 15.98 MB, free: 5.77 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.29/1.29, allocations: 222.9 MB / 239.7 MB, free: 10.99 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.0009811/0.0009809, allocations: 111.2 kB / 289.9 MB, free: 10.94 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.4207/0.4207, allocations: 78.48 MB / 418.5 MB, free: 8.777 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001256/0.001256, allocations: 67.89 kB / 497.4 MB, free: 10.7 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2694/0.2707, allocations: 68.13 MB / 0.5523 GB, free: 20.24 MB / 378.7 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRII): time 0.005148/0.2759, allocations: 6.806 MB / 0.559 GB, free: 13.41 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.003095/0.279, allocations: 2.001 MB / 0.5609 GB, free: 11.4 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004434/0.2795, allocations: 8 kB / 0.5609 GB, free: 11.39 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005877/0.2801, allocations: 190.8 kB / 0.5611 GB, free: 11.21 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001423/0.2816, allocations: 0.7131 MB / 0.5618 GB, free: 10.5 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009373/0.2825, allocations: 0.5872 MB / 0.5624 GB, free: 9.914 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.000886/0.2834, allocations: 1.51 MB / 0.5638 GB, free: 8.398 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003208/0.2837, allocations: 295.4 kB / 0.5641 GB, free: 8.102 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004391/0.2842, allocations: 0.5949 MB / 0.5647 GB, free: 7.504 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005719/0.2848, allocations: 0.7815 MB / 0.5655 GB, free: 6.719 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001261/0.2849, allocations: 72 kB / 0.5655 GB, free: 6.648 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003588/0.2853, allocations: 199.9 kB / 0.5657 GB, free: 6.453 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001967/0.2855, allocations: 278.7 kB / 0.566 GB, free: 6.18 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003505/0.2858, allocations: 0.6249 MB / 0.5666 GB, free: 5.551 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0008897/0.2867, allocations: 1.592 MB / 0.5682 GB, free: 3.953 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.697e-06/0.2867, allocations: 0 / 0.5682 GB, free: 3.953 MB / 378.7 MB Notification: Performance of FrontEnd: time 8.72e-07/0.2867, allocations: 0 / 0.5682 GB, free: 3.953 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.231e-05/0.2868, allocations: 4 kB / 0.5682 GB, free: 3.949 MB / 378.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 189 * Number of variables: 189 Notification: Performance of Generate backend data structure: time 0.007692/0.2945, allocations: 2.688 MB / 0.5708 GB, free: 1.195 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.534e-05/0.2945, allocations: 8.031 kB / 0.5708 GB, free: 1.188 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004491/0.299, allocations: 0.7826 MB / 0.5716 GB, free: 412 kB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001321/0.3003, allocations: 0.8786 MB / 0.5724 GB, free: 15.47 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002612/0.3006, allocations: 256.2 kB / 0.5727 GB, free: 15.18 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001494/0.3008, allocations: 83.94 kB / 0.5727 GB, free: 15.1 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002011/0.3028, allocations: 1.094 MB / 0.5738 GB, free: 13.99 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.73e-05/0.3028, allocations: 0 / 0.5738 GB, free: 13.99 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.654e-05/0.3029, allocations: 35.94 kB / 0.5738 GB, free: 13.96 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.569e-05/0.3029, allocations: 19.98 kB / 0.5739 GB, free: 13.94 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001961/0.3049, allocations: 0.9838 MB / 0.5748 GB, free: 12.95 MB / 394.7 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005999/0.3109, allocations: 3.82 MB / 0.5786 GB, free: 8.953 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007526/0.3184, allocations: 2.364 MB / 0.5809 GB, free: 6.496 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001393/0.3199, allocations: 0.6722 MB / 0.5815 GB, free: 5.816 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001142/0.32, allocations: 24.97 kB / 0.5815 GB, free: 5.793 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001574/0.3216, allocations: 0.8098 MB / 0.5823 GB, free: 4.965 MB / 394.7 MB Notification: Performance of pre-optimization done (n=95): time 3.346e-06/0.3216, allocations: 0 / 0.5823 GB, free: 4.965 MB / 394.7 MB Notification: Performance of matching and sorting (n=95): time 0.0291/0.3507, allocations: 7.19 MB / 0.5894 GB, free: 13.71 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.107e-05/0.3508, allocations: 119.8 kB / 0.5895 GB, free: 13.57 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001515/0.3523, allocations: 1.091 MB / 0.5905 GB, free: 12.46 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001712/0.3525, allocations: 45.64 kB / 0.5906 GB, free: 12.41 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000322/0.3528, allocations: 496.8 kB / 0.5911 GB, free: 11.92 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000318/0.3531, allocations: 351.1 kB / 0.5914 GB, free: 11.57 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004602/0.3536, allocations: 283.4 kB / 0.5917 GB, free: 11.29 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 6.735e-05/0.3537, allocations: 301.1 kB / 0.5919 GB, free: 10.99 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001518/0.3552, allocations: 0.7613 MB / 0.5927 GB, free: 10.23 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00162/0.3568, allocations: 0.9264 MB / 0.5936 GB, free: 9.262 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0232/0.3801, allocations: 5.557 MB / 0.599 GB, free: 3.621 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.337e-06/0.3801, allocations: 4 kB / 0.599 GB, free: 3.617 MB / 410.7 MB Notification: Performance of matching and sorting (n=192) (initialization): time 0.01394/0.3941, allocations: 4.356 MB / 0.6033 GB, free: 15.23 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.38e-05/0.3942, allocations: 63.34 kB / 0.6033 GB, free: 15.16 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.565e-05/0.3942, allocations: 7.938 kB / 0.6033 GB, free: 15.15 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005748/0.4, allocations: 1.584 MB / 0.6049 GB, free: 13.56 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001348/0.4013, allocations: 279.6 kB / 0.6052 GB, free: 13.29 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01846/0.4198, allocations: 7.839 MB / 0.6128 GB, free: 5.305 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001825/0.4217, allocations: 198.7 kB / 0.613 GB, free: 5.109 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001618/0.4218, allocations: 55.97 kB / 0.6131 GB, free: 5.055 MB / 426.7 MB Warning: Assuming fixed start value for the following 4 variables: order3.w:VARIABLE(flow=false start = 1.0 fixed = true ) "Rotor speed [pu]" type: Real order2.w:VARIABLE(flow=false start = 1.0 fixed = true ) "Rotor speed [pu]" type: Real order2.delta:VARIABLE(flow=false start = order2.delta0 unit = "rad" fixed = true ) "Rotor angle" type: Real order3.delta:VARIABLE(flow=false start = order3.delta0 unit = "rad" fixed = true ) "Rotor angle" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * Number of states: 0 () * Number of discrete variables: 2 ($whenCondition2,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (160): * Single equations (assignments): 157 * Array equations: 0 * Algorithm blocks: 2 * 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): 1 system {(19,14,24.4%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0005827/0.4224, allocations: 304.2 kB / 0.6133 GB, free: 4.742 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000216/0.4227, allocations: 126.4 kB / 0.6135 GB, free: 4.617 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01317/0.4358, allocations: 3.873 MB / 0.6172 GB, free: 0.7109 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.906e-05/0.4359, allocations: 12 kB / 0.6173 GB, free: 0.6992 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.254e-05/0.4359, allocations: 4 kB / 0.6173 GB, free: 0.6953 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.164e-05/0.4359, allocations: 11.97 kB / 0.6173 GB, free: 0.6836 MB / 426.7 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0153/0.4512, allocations: 5.442 MB / 0.6226 GB, free: 11.13 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.148e-05/0.4513, allocations: 3.938 kB / 0.6226 GB, free: 11.13 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000631/0.4519, allocations: 103.8 kB / 0.6227 GB, free: 11.03 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005911/0.4579, allocations: 1.614 MB / 0.6243 GB, free: 9.406 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002356/0.4581, allocations: 19.98 kB / 0.6243 GB, free: 9.387 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01992/0.4781, allocations: 8.791 MB / 0.6329 GB, free: 320 kB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.836e-06/0.4781, allocations: 0 / 0.6329 GB, free: 320 kB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.09507/0.5732, allocations: 33.01 MB / 0.6651 GB, free: 14.79 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003702/0.5736, allocations: 235.3 kB / 0.6653 GB, free: 14.54 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003095/0.5739, allocations: 16 kB / 0.6653 GB, free: 14.52 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001319/0.5753, allocations: 107.8 kB / 0.6655 GB, free: 14.41 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006545/0.576, allocations: 192.7 kB / 0.6656 GB, free: 14.23 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001243/0.5761, allocations: 31.92 kB / 0.6657 GB, free: 14.2 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.001167/0.5773, allocations: 0.7315 MB / 0.6664 GB, free: 13.46 MB / 490.7 MB Notification: Performance of sort global known variables: time 2.01e-07/0.5773, allocations: 0 / 0.6664 GB, free: 13.46 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.002122/0.5794, allocations: 0.6519 MB / 0.667 GB, free: 12.8 MB / 490.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 9 (order2.delta,order2.w,order3.delta,order3.w,order3.e1q,aVRTypeII.ExcitationSystem.x_scaled[1],aVRTypeII.derivativeBlock.x,aVRTypeII.firstOrder2.y,aVRTypeII.simpleLagLim.state) * Number of discrete variables: 2 ($whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (63): * Single equations (assignments): 60 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(20,12,23.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,6)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002975/0.5797, allocations: 135.3 kB / 0.6671 GB, free: 12.66 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.006578/0.5863, allocations: 2.517 MB / 0.6696 GB, free: 10.1 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 4.318e-06/0.5863, allocations: 0 / 0.6696 GB, free: 10.1 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.004516/0.5909, allocations: 1.588 MB / 0.6712 GB, free: 8.477 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00122/0.5921, allocations: 115.4 kB / 0.6713 GB, free: 8.367 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008421/0.6005, allocations: 4.073 MB / 0.6752 GB, free: 4.219 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008481/0.6014, allocations: 1.164 MB / 0.6764 GB, free: 3.027 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.0006287/0.6021, allocations: 128 kB / 0.6765 GB, free: 2.898 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003861/0.6025, allocations: 79.41 kB / 0.6766 GB, free: 2.82 MB / 490.7 MB Notification: Performance of SimCode: time 8.01e-07/0.6025, allocations: 0 / 0.6766 GB, free: 2.82 MB / 490.7 MB Notification: Performance of Templates: time 0.252/0.8545, allocations: 31.78 MB / 0.7076 GB, free: 99.63 MB / 490.7 MB make -j1 -f OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRII.makefile (rm -f OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRII.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRII.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRII.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRII.sim & ./OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRII -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRII.pipe 2>&1)