Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_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.0.1/package.mo", uses=false) Using package OpenIPSL with version 3.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/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.SixthOrder_AVRII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRII") translateModel(OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRII") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001296/0.001296, allocations: 109.3 kB / 16.37 MB, free: 6.48 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.332/1.332, allocations: 222.9 MB / 240 MB, free: 4.609 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.001304/0.001304, allocations: 191.5 kB / 290.3 MB, free: 2.324 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.4469/0.4469, allocations: 78.54 MB / 419 MB, free: 3.262 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001486/0.001486, allocations: 83.88 kB / 498.9 MB, free: 5.727 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1453/0.1468, allocations: 68.18 MB / 0.5538 GB, free: 1.492 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRII): time 0.2263/0.3731, allocations: 6.699 MB / 0.5603 GB, free: 35.94 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.003451/0.3766, allocations: 2.009 MB / 0.5623 GB, free: 35.39 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004421/0.3771, allocations: 11.47 kB / 0.5623 GB, free: 35.39 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000651/0.3777, allocations: 245 kB / 0.5625 GB, free: 35.39 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00153/0.3793, allocations: 0.8131 MB / 0.5633 GB, free: 35.23 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001066/0.3804, allocations: 0.642 MB / 0.564 GB, free: 35.16 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.001226/0.3816, allocations: 1.674 MB / 0.5656 GB, free: 34.85 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003793/0.382, allocations: 321 kB / 0.5659 GB, free: 34.8 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005546/0.3825, allocations: 0.6871 MB / 0.5666 GB, free: 34.62 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007269/0.3833, allocations: 0.8826 MB / 0.5674 GB, free: 34.4 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001567/0.3834, allocations: 133.5 kB / 0.5676 GB, free: 34.4 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004102/0.3839, allocations: 268.9 kB / 0.5678 GB, free: 34.39 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002348/0.3841, allocations: 355.1 kB / 0.5682 GB, free: 34.3 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004413/0.3846, allocations: 0.695 MB / 0.5688 GB, free: 34.05 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001155/0.3857, allocations: 1.73 MB / 0.5705 GB, free: 33.66 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.087e-06/0.3857, allocations: 4.156 kB / 0.5705 GB, free: 33.66 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.614e-06/0.3857, allocations: 0 / 0.5705 GB, free: 33.66 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.514e-05/0.3858, allocations: 0 / 0.5705 GB, free: 33.66 MB / 430.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 192 * Number of variables: 192 Notification: Performance of Generate backend data structure: time 0.007796/0.3936, allocations: 2.784 MB / 0.5732 GB, free: 32.66 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.467e-05/0.3936, allocations: 8.719 kB / 0.5733 GB, free: 32.66 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004556/0.3982, allocations: 0.7778 MB / 0.574 GB, free: 32.57 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001197/0.3994, allocations: 0.9168 MB / 0.5749 GB, free: 32.16 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002105/0.3996, allocations: 266.1 kB / 0.5752 GB, free: 31.97 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001451/0.3998, allocations: 94.97 kB / 0.5753 GB, free: 31.96 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001714/0.4015, allocations: 1.102 MB / 0.5763 GB, free: 31.88 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.907e-05/0.4015, allocations: 3.844 kB / 0.5763 GB, free: 31.88 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.2e-05/0.4016, allocations: 35.22 kB / 0.5764 GB, free: 31.88 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.433e-05/0.4016, allocations: 24.59 kB / 0.5764 GB, free: 31.88 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001684/0.4033, allocations: 1.001 MB / 0.5774 GB, free: 31.87 MB / 430.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.005204/0.4085, allocations: 3.895 MB / 0.5812 GB, free: 29.82 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006425/0.415, allocations: 2.397 MB / 0.5835 GB, free: 28.98 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001224/0.4162, allocations: 0.6985 MB / 0.5842 GB, free: 28.71 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001127/0.4163, allocations: 21.03 kB / 0.5842 GB, free: 28.7 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001404/0.4177, allocations: 0.83 MB / 0.585 GB, free: 28.38 MB / 430.1 MB Notification: Performance of pre-optimization done (n=98): time 2.285e-06/0.4177, allocations: 0 / 0.585 GB, free: 28.38 MB / 430.1 MB Notification: Performance of matching and sorting (n=98): time 0.02649/0.4442, allocations: 7.089 MB / 0.592 GB, free: 26.97 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.793e-05/0.4443, allocations: 117.3 kB / 0.5921 GB, free: 26.84 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00187/0.4462, allocations: 1.15 MB / 0.5932 GB, free: 26.36 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001672/0.4464, allocations: 42.86 kB / 0.5932 GB, free: 26.32 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003136/0.4467, allocations: 0.4999 MB / 0.5937 GB, free: 25.92 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003269/0.447, allocations: 363 kB / 0.5941 GB, free: 25.64 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005572/0.4476, allocations: 300 kB / 0.5943 GB, free: 25.5 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 6.482e-05/0.4477, allocations: 301.1 kB / 0.5946 GB, free: 25.2 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00162/0.4493, allocations: 0.7949 MB / 0.5954 GB, free: 24.91 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001641/0.451, allocations: 0.9734 MB / 0.5964 GB, free: 24.46 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.02545/0.4764, allocations: 5.922 MB / 0.6021 GB, free: 22.66 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.132e-05/0.4765, allocations: 0 / 0.6021 GB, free: 22.66 MB / 430.1 MB Notification: Performance of matching and sorting (n=204) (initialization): time 0.01387/0.4903, allocations: 4.514 MB / 0.6066 GB, free: 21.24 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.458e-05/0.4904, allocations: 57.91 kB / 0.6066 GB, free: 21.18 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.749e-05/0.4905, allocations: 3.375 kB / 0.6066 GB, free: 21.18 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005759/0.4962, allocations: 1.668 MB / 0.6082 GB, free: 20.44 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001489/0.4977, allocations: 296.4 kB / 0.6085 GB, free: 20.37 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01908/0.5168, allocations: 8.62 MB / 0.6169 GB, free: 13.57 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002221/0.5191, allocations: 210.5 kB / 0.6171 GB, free: 13.36 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002975/0.5194, allocations: 56.92 kB / 0.6172 GB, free: 13.3 MB / 430.1 MB Warning: Assuming fixed start value for the following 4 variables: order6.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 order6.delta:VARIABLE(flow=false start = order6.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 (171): * Single equations (assignments): 168 * 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 {(20,14,23.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0008203/0.5202, allocations: 299 kB / 0.6175 GB, free: 13 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003943/0.5206, allocations: 135.2 kB / 0.6176 GB, free: 12.86 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01099/0.5316, allocations: 3.91 MB / 0.6214 GB, free: 8.93 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.829e-06/0.5317, allocations: 16 kB / 0.6214 GB, free: 8.914 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.067e-05/0.5317, allocations: 8 kB / 0.6215 GB, free: 8.906 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.546e-05/0.5317, allocations: 8.672 kB / 0.6215 GB, free: 8.898 MB / 430.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 postOpt removeSimpleEquations (simulation): time 0.01286/0.5446, allocations: 5.553 MB / 0.6269 GB, free: 3.23 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.334e-06/0.5446, allocations: 0 / 0.6269 GB, free: 3.23 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006113/0.5452, allocations: 107.8 kB / 0.627 GB, free: 3.125 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004701/0.5499, allocations: 1.593 MB / 0.6285 GB, free: 1.527 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001161/0.5501, allocations: 24.5 kB / 0.6286 GB, free: 1.504 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0194/0.5695, allocations: 9.627 MB / 0.638 GB, free: 7.586 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.996e-06/0.5695, allocations: 0 / 0.638 GB, free: 7.586 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01387/0.5834, allocations: 4.809 MB / 0.6427 GB, free: 2.742 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006595/0.5841, allocations: 227.2 kB / 0.6429 GB, free: 2.5 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003799/0.5844, allocations: 23.94 kB / 0.6429 GB, free: 2.477 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001401/0.5859, allocations: 111.9 kB / 0.643 GB, free: 2.367 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005672/0.5864, allocations: 202.3 kB / 0.6432 GB, free: 2.168 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.665e-05/0.5865, allocations: 26.3 kB / 0.6432 GB, free: 2.145 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.001357/0.5879, allocations: 0.7712 MB / 0.644 GB, free: 1.367 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.5879, allocations: 0 / 0.644 GB, free: 1.367 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.001728/0.5897, allocations: 487.6 kB / 0.6444 GB, free: 0.8906 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 12 (order2.delta,order2.w,order6.delta,order6.w,order6.e1q,order6.e1d,order6.e2q,order6.e2d,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 (66): * Single equations (assignments): 63 * 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.0003315/0.59, allocations: 136 kB / 0.6446 GB, free: 0.75 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.006717/0.5967, allocations: 2.632 MB / 0.6471 GB, free: 14.08 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 2.715e-06/0.5967, allocations: 0 / 0.6471 GB, free: 14.08 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004114/0.6009, allocations: 1.617 MB / 0.6487 GB, free: 12.44 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001066/0.6019, allocations: 115.8 kB / 0.6488 GB, free: 12.33 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004468/0.6064, allocations: 2.42 MB / 0.6512 GB, free: 9.926 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007798/0.6072, allocations: 1.136 MB / 0.6523 GB, free: 8.758 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0004798/0.6077, allocations: 121.7 kB / 0.6524 GB, free: 8.641 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003109/0.608, allocations: 79.41 kB / 0.6525 GB, free: 8.562 MB / 462.1 MB Notification: Performance of SimCode: time 3.21e-07/0.608, allocations: 0 / 0.6525 GB, free: 8.562 MB / 462.1 MB Notification: Performance of Templates: time 0.04067/0.6487, allocations: 24.49 MB / 0.6764 GB, free: 296 kB / 478.1 MB make -j1 -f OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRII.makefile (rm -f OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRII.pipe ; mkfifo OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRII.pipe ; head -c 1048576 < OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRII.pipe >> ../files/OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRII.sim & ./OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRII -abortSlowSimulation -alarm=480 -s gbode -lv LOG_STATS > OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRII.pipe 2>&1)