Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRII.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0/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/Modelica 3.2.3+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 2.0.0/package.mo", uses=false) Using package OpenIPSL with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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) Using package Modelica_Synchronous with version 0.93.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0/package.mo) Running command: translateModel(OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRII") translateModel(OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRII") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0/package.mo): time 0.07032/0.07032, allocations: 12.2 MB / 27.43 MB, free: 1.379 MB / 19.63 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009373/0.0009374, allocations: 120.3 kB / 30.94 MB, free: 4.656 MB / 26.18 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.195/1.195, allocations: 205.1 MB / 239.4 MB, free: 10.9 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001351/0.001351, allocations: 188.5 kB / 289.6 MB, free: 15.84 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo): time 0.4189/0.4189, allocations: 78.5 MB / 418.1 MB, free: 31.74 MB / 318.1 MB Notification: Modelica_Synchronous requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: OpenIPSL requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002268/0.002268, allocations: 131.8 kB / 498.4 MB, free: 0.5117 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2951/0.2974, allocations: 68.03 MB / 0.5532 GB, free: 38.14 MB / 414.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRII): time 0.005564/0.303, allocations: 6.866 MB / 0.5599 GB, free: 33.12 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.002745/0.3058, allocations: 1.948 MB / 0.5618 GB, free: 31.72 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000363/0.3061, allocations: 14.09 kB / 0.5618 GB, free: 31.72 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005592/0.3067, allocations: 182.7 kB / 0.562 GB, free: 31.64 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001364/0.3081, allocations: 0.7092 MB / 0.5626 GB, free: 31.19 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009657/0.3091, allocations: 0.5845 MB / 0.5632 GB, free: 30.87 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.001184/0.3103, allocations: 1.561 MB / 0.5647 GB, free: 30.1 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004141/0.3107, allocations: 333.2 kB / 0.5651 GB, free: 29.95 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005551/0.3113, allocations: 0.6588 MB / 0.5657 GB, free: 29.62 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006202/0.3119, allocations: 0.8247 MB / 0.5665 GB, free: 29.22 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001362/0.312, allocations: 119.2 kB / 0.5666 GB, free: 29.22 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003349/0.3124, allocations: 260.1 kB / 0.5669 GB, free: 29.18 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001935/0.3126, allocations: 328.7 kB / 0.5672 GB, free: 28.97 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003755/0.313, allocations: 0.6777 MB / 0.5678 GB, free: 28.51 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00101/0.314, allocations: 1.636 MB / 0.5694 GB, free: 27.77 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.489e-06/0.314, allocations: 7.938 kB / 0.5694 GB, free: 27.77 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.493e-06/0.314, allocations: 2.75 kB / 0.5694 GB, free: 27.77 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.377e-05/0.314, allocations: 0 / 0.5694 GB, free: 27.77 MB / 414.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.007425/0.3214, allocations: 2.689 MB / 0.5721 GB, free: 26.49 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.535e-05/0.3215, allocations: 11.83 kB / 0.5721 GB, free: 26.49 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004485/0.326, allocations: 0.7693 MB / 0.5728 GB, free: 26.33 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001094/0.3271, allocations: 0.8872 MB / 0.5737 GB, free: 25.73 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002233/0.3273, allocations: 263.4 kB / 0.574 GB, free: 25.51 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001446/0.3275, allocations: 84.17 kB / 0.574 GB, free: 25.48 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001882/0.3294, allocations: 1.084 MB / 0.5751 GB, free: 25.07 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.785e-05/0.3294, allocations: 0 / 0.5751 GB, free: 25.07 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.42e-05/0.3295, allocations: 30.84 kB / 0.5751 GB, free: 25.04 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.442e-05/0.3295, allocations: 20.41 kB / 0.5751 GB, free: 25.04 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001768/0.3313, allocations: 0.9808 MB / 0.5761 GB, free: 24.72 MB / 414.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.006071/0.3373, allocations: 3.819 MB / 0.5798 GB, free: 22.51 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007338/0.3447, allocations: 2.371 MB / 0.5821 GB, free: 21.68 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001225/0.3459, allocations: 0.6804 MB / 0.5828 GB, free: 21.41 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001049/0.346, allocations: 16.33 kB / 0.5828 GB, free: 21.41 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001567/0.3476, allocations: 0.8158 MB / 0.5836 GB, free: 21.09 MB / 414.1 MB Notification: Performance of pre-optimization done (n=95): time 2.765e-06/0.3476, allocations: 0 / 0.5836 GB, free: 21.09 MB / 414.1 MB Notification: Performance of matching and sorting (n=95): time 0.02856/0.3762, allocations: 7.196 MB / 0.5907 GB, free: 18.01 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.377e-05/0.3763, allocations: 118.3 kB / 0.5908 GB, free: 17.88 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001621/0.3779, allocations: 1.082 MB / 0.5918 GB, free: 17.28 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001794/0.3781, allocations: 45.17 kB / 0.5919 GB, free: 17.23 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002608/0.3784, allocations: 0.4925 MB / 0.5923 GB, free: 16.79 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003084/0.3787, allocations: 352 kB / 0.5927 GB, free: 16.48 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004792/0.3792, allocations: 283.9 kB / 0.593 GB, free: 16.32 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 4.516e-05/0.3793, allocations: 301.1 kB / 0.5932 GB, free: 16.02 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001414/0.3807, allocations: 0.7559 MB / 0.594 GB, free: 15.64 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001511/0.3822, allocations: 0.9263 MB / 0.5949 GB, free: 15.09 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.02133/0.4035, allocations: 5.569 MB / 0.6003 GB, free: 10.14 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.251e-05/0.4036, allocations: 0 / 0.6003 GB, free: 10.14 MB / 414.1 MB Notification: Performance of matching and sorting (n=192) (initialization): time 0.01223/0.4158, allocations: 4.36 MB / 0.6046 GB, free: 5.75 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.188e-05/0.4159, allocations: 59.34 kB / 0.6046 GB, free: 5.68 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.35e-05/0.4159, allocations: 8 kB / 0.6046 GB, free: 5.672 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00517/0.4211, allocations: 1.591 MB / 0.6062 GB, free: 4.078 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001238/0.4224, allocations: 283.6 kB / 0.6065 GB, free: 3.801 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01856/0.4409, allocations: 8.509 MB / 0.6148 GB, free: 11.13 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002181/0.4432, allocations: 198.7 kB / 0.615 GB, free: 10.94 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002644/0.4434, allocations: 59.91 kB / 0.615 GB, free: 10.88 MB / 430.1 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.0007468/0.4442, allocations: 312.4 kB / 0.6153 GB, free: 10.56 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000347/0.4446, allocations: 130.4 kB / 0.6154 GB, free: 10.43 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01261/0.4572, allocations: 3.865 MB / 0.6192 GB, free: 6.539 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.305e-05/0.4572, allocations: 8 kB / 0.6192 GB, free: 6.531 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.925e-05/0.4572, allocations: 8 kB / 0.6192 GB, free: 6.523 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.254e-05/0.4573, allocations: 7.969 kB / 0.6192 GB, free: 6.516 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.01458/0.4719, allocations: 5.457 MB / 0.6246 GB, free: 0.9492 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.825e-06/0.4719, allocations: 0 / 0.6246 GB, free: 0.9492 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005739/0.4725, allocations: 95.84 kB / 0.6247 GB, free: 0.8555 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005308/0.4778, allocations: 1.606 MB / 0.6262 GB, free: 15.24 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001178/0.4779, allocations: 20 kB / 0.6262 GB, free: 15.22 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01986/0.4978, allocations: 9.643 MB / 0.6357 GB, free: 5.289 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.568e-06/0.4978, allocations: 8 kB / 0.6357 GB, free: 5.281 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01417/0.512, allocations: 4.729 MB / 0.6403 GB, free: 0.5195 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005176/0.5125, allocations: 219.4 kB / 0.6405 GB, free: 292 kB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003422/0.5129, allocations: 23.92 kB / 0.6405 GB, free: 268 kB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001278/0.5142, allocations: 107.9 kB / 0.6406 GB, free: 160 kB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005292/0.5147, allocations: 192.8 kB / 0.6408 GB, free: 15.96 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.713e-05/0.5148, allocations: 28 kB / 0.6408 GB, free: 15.93 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.001168/0.516, allocations: 0.7354 MB / 0.6416 GB, free: 15.19 MB / 462.1 MB Notification: Performance of sort global known variables: time 2.7e-07/0.516, allocations: 0 / 0.6416 GB, free: 15.19 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.001428/0.5174, allocations: 475.5 kB / 0.642 GB, free: 14.73 MB / 462.1 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.0002841/0.5177, allocations: 138.2 kB / 0.6421 GB, free: 14.58 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.006188/0.5239, allocations: 2.552 MB / 0.6446 GB, free: 11.99 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 2.635e-06/0.524, allocations: 3.938 kB / 0.6446 GB, free: 11.98 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003949/0.5279, allocations: 1.589 MB / 0.6462 GB, free: 10.36 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001203/0.5291, allocations: 123 kB / 0.6463 GB, free: 10.25 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004349/0.5335, allocations: 2.64 MB / 0.6489 GB, free: 7.586 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007252/0.5342, allocations: 1.124 MB / 0.65 GB, free: 6.434 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0004303/0.5347, allocations: 116.1 kB / 0.6501 GB, free: 6.316 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002542/0.5349, allocations: 79.41 kB / 0.6502 GB, free: 6.238 MB / 462.1 MB Notification: Performance of SimCode: time 2.3e-07/0.5349, allocations: 0 / 0.6502 GB, free: 6.238 MB / 462.1 MB Notification: Performance of Templates: time 0.03337/0.5683, allocations: 22.85 MB / 0.6725 GB, free: 15.39 MB / 494.1 MB make -j1 -f OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRII.makefile (rm -f OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRII.pipe ; mkfifo OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRII.pipe ; head -c 1048576 < OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRII.pipe >> ../files/OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRII.sim & ./OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRII -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRII.pipe 2>&1)