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/ModelicaServices 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/Complex 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 Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.006487/0.006487, allocations: 102.2 kB / 15.73 MB, free: 6.484 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.445/1.445, allocations: 222.9 MB / 239.4 MB, free: 4.547 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001593/0.001594, allocations: 184.5 kB / 289.7 MB, free: 2.27 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.5445/0.5445, allocations: 91.9 MB / 431.7 MB, free: 9.164 MB / 302.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001397/0.001397, allocations: 79.22 kB / 0.5727 GB, free: 33.62 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1631/0.1645, allocations: 71.27 MB / 0.6423 GB, free: 3.574 MB / 446.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRII): time 0.006732/0.1713, allocations: 6.529 MB / 0.6487 GB, free: 13.02 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.003361/0.1747, allocations: 1.955 MB / 0.6506 GB, free: 11.06 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000342/0.175, allocations: 12 kB / 0.6506 GB, free: 11.05 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006256/0.1757, allocations: 233.9 kB / 0.6509 GB, free: 10.82 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001635/0.1773, allocations: 0.8511 MB / 0.6517 GB, free: 9.965 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001077/0.1784, allocations: 0.6328 MB / 0.6523 GB, free: 9.336 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.001295/0.1797, allocations: 1.581 MB / 0.6538 GB, free: 7.75 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004306/0.1801, allocations: 326.4 kB / 0.6542 GB, free: 7.422 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007217/0.1809, allocations: 0.6535 MB / 0.6548 GB, free: 6.766 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008134/0.1817, allocations: 0.8362 MB / 0.6556 GB, free: 5.926 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001512/0.1818, allocations: 120 kB / 0.6557 GB, free: 5.809 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004085/0.1823, allocations: 251.9 kB / 0.656 GB, free: 5.562 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002885/0.1826, allocations: 330.6 kB / 0.6563 GB, free: 5.238 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005686/0.1831, allocations: 0.6719 MB / 0.6569 GB, free: 4.562 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001448/0.1846, allocations: 1.654 MB / 0.6586 GB, free: 2.902 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.568e-06/0.1846, allocations: 0 / 0.6586 GB, free: 2.902 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.503e-06/0.1846, allocations: 4 kB / 0.6586 GB, free: 2.898 MB / 462.1 MB Notification: Performance of Transformations before backend: time 1.594e-05/0.1846, allocations: 0 / 0.6586 GB, free: 2.898 MB / 462.1 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.008426/0.1931, allocations: 2.688 MB / 0.6612 GB, free: 144 kB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.592e-05/0.1931, allocations: 12.03 kB / 0.6612 GB, free: 132 kB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00491/0.198, allocations: 0.7749 MB / 0.662 GB, free: 15.35 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001305/0.1993, allocations: 0.8824 MB / 0.6628 GB, free: 14.41 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002837/0.1996, allocations: 264.2 kB / 0.6631 GB, free: 14.12 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001537/0.1998, allocations: 80 kB / 0.6631 GB, free: 14.04 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002067/0.2019, allocations: 1.082 MB / 0.6642 GB, free: 12.95 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.796e-05/0.2019, allocations: 0 / 0.6642 GB, free: 12.95 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.38e-05/0.202, allocations: 32 kB / 0.6642 GB, free: 12.91 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.446e-05/0.202, allocations: 16 kB / 0.6642 GB, free: 12.9 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001963/0.204, allocations: 0.9877 MB / 0.6652 GB, free: 11.91 MB / 478.1 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.006039/0.21, allocations: 3.804 MB / 0.6689 GB, free: 7.922 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00731/0.2174, allocations: 2.365 MB / 0.6712 GB, free: 5.461 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001306/0.2187, allocations: 0.6761 MB / 0.6719 GB, free: 4.781 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.112e-05/0.2188, allocations: 16.98 kB / 0.6719 GB, free: 4.766 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001539/0.2203, allocations: 0.8176 MB / 0.6727 GB, free: 3.93 MB / 478.1 MB Notification: Performance of pre-optimization done (n=95): time 2.776e-06/0.2203, allocations: 0 / 0.6727 GB, free: 3.93 MB / 478.1 MB Notification: Performance of matching and sorting (n=95): time 0.02858/0.2489, allocations: 7.186 MB / 0.6797 GB, free: 12.68 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.769e-05/0.249, allocations: 123.7 kB / 0.6798 GB, free: 12.54 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001694/0.2507, allocations: 1.091 MB / 0.6809 GB, free: 11.43 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001345/0.2509, allocations: 53.67 kB / 0.681 GB, free: 11.37 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004098/0.2513, allocations: 492.8 kB / 0.6814 GB, free: 10.88 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003697/0.2517, allocations: 351.1 kB / 0.6818 GB, free: 10.54 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005255/0.2522, allocations: 279.4 kB / 0.682 GB, free: 10.26 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 9.13e-05/0.2523, allocations: 305.1 kB / 0.6823 GB, free: 9.957 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001626/0.2539, allocations: 0.7535 MB / 0.6831 GB, free: 9.203 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001742/0.2557, allocations: 0.9303 MB / 0.684 GB, free: 8.234 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.02321/0.2789, allocations: 5.56 MB / 0.6894 GB, free: 2.59 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.819e-06/0.2789, allocations: 0 / 0.6894 GB, free: 2.59 MB / 494.1 MB Notification: Performance of matching and sorting (n=192) (initialization): time 0.01389/0.2928, allocations: 4.356 MB / 0.6937 GB, free: 14.2 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 7.087e-05/0.2929, allocations: 64.28 kB / 0.6937 GB, free: 14.13 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.323e-05/0.293, allocations: 4 kB / 0.6937 GB, free: 14.12 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005884/0.2988, allocations: 1.592 MB / 0.6953 GB, free: 12.53 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0014/0.3003, allocations: 271.6 kB / 0.6955 GB, free: 12.27 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02218/0.3225, allocations: 8.494 MB / 0.7038 GB, free: 3.617 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00209/0.3246, allocations: 206.7 kB / 0.704 GB, free: 3.414 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002822/0.3249, allocations: 59.91 kB / 0.7041 GB, free: 3.355 MB / 0.4981 GB 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.0008373/0.3257, allocations: 312.5 kB / 0.7044 GB, free: 3.035 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004295/0.3262, allocations: 118.5 kB / 0.7045 GB, free: 2.918 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01307/0.3393, allocations: 3.877 MB / 0.7083 GB, free: 15.02 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.653e-05/0.3393, allocations: 12 kB / 0.7083 GB, free: 15 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.286e-05/0.3393, allocations: 4 kB / 0.7083 GB, free: 15 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.875e-05/0.3393, allocations: 7.984 kB / 0.7083 GB, free: 14.99 MB / 0.5137 GB 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.01507/0.3544, allocations: 5.444 MB / 0.7136 GB, free: 9.434 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.905e-06/0.3545, allocations: 3.984 kB / 0.7136 GB, free: 9.43 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005557/0.355, allocations: 99.84 kB / 0.7137 GB, free: 9.332 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005739/0.3608, allocations: 1.611 MB / 0.7153 GB, free: 7.715 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001131/0.3609, allocations: 20 kB / 0.7153 GB, free: 7.695 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02203/0.3829, allocations: 9.64 MB / 0.7247 GB, free: 13.76 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.348e-06/0.383, allocations: 4 kB / 0.7247 GB, free: 13.76 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01683/0.3998, allocations: 4.727 MB / 0.7293 GB, free: 8.996 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005264/0.4004, allocations: 223.3 kB / 0.7296 GB, free: 8.758 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003353/0.4007, allocations: 23.94 kB / 0.7296 GB, free: 8.734 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001325/0.4021, allocations: 107.9 kB / 0.7297 GB, free: 8.629 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006367/0.4027, allocations: 192.7 kB / 0.7299 GB, free: 8.438 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.721e-05/0.4028, allocations: 24 kB / 0.7299 GB, free: 8.414 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.001286/0.4041, allocations: 0.7393 MB / 0.7306 GB, free: 7.668 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1.6e-07/0.4041, allocations: 0 / 0.7306 GB, free: 7.668 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.001749/0.4059, allocations: 471.7 kB / 0.7311 GB, free: 7.207 MB / 0.5294 GB 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.0003193/0.4062, allocations: 141.6 kB / 0.7312 GB, free: 7.059 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.00673/0.413, allocations: 2.521 MB / 0.7337 GB, free: 4.496 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 4.368e-06/0.413, allocations: 0 / 0.7337 GB, free: 4.496 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.004554/0.4175, allocations: 1.599 MB / 0.7352 GB, free: 2.859 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001209/0.4188, allocations: 120.5 kB / 0.7353 GB, free: 2.738 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004592/0.4234, allocations: 2.2 MB / 0.7375 GB, free: 0.5117 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007937/0.4242, allocations: 1.116 MB / 0.7386 GB, free: 15.37 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.0004828/0.4247, allocations: 124 kB / 0.7387 GB, free: 15.24 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003089/0.425, allocations: 83.41 kB / 0.7388 GB, free: 15.16 MB / 0.545 GB Notification: Performance of SimCode: time 5.11e-07/0.425, allocations: 0 / 0.7388 GB, free: 15.16 MB / 0.545 GB Notification: Performance of Templates: time 0.04352/0.4685, allocations: 23.81 MB / 0.762 GB, free: 7.355 MB / 0.5606 GB 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)