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-master/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-master/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-master/package.mo): time 0.1082/0.1082, allocations: 12.61 MB / 28.87 MB, free: 396 kB / 19.63 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00115/0.00115, allocations: 111.5 kB / 32.46 MB, free: 3.445 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.336/1.336, allocations: 205.1 MB / 241.1 MB, free: 12.39 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.001334/0.001334, allocations: 187.3 kB / 291.3 MB, free: 13.41 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo): time 0.4333/0.4333, allocations: 78.52 MB / 419.9 MB, free: 11.27 MB / 302.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.003738/0.003738, allocations: 139.8 kB / 0.4895 GB, free: 10.07 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3606/0.3644, allocations: 68.11 MB / 0.556 GB, free: 33.11 MB / 398.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRII): time 0.006768/0.3712, allocations: 6.556 MB / 0.5624 GB, free: 28.19 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.003843/0.3751, allocations: 1.919 MB / 0.5643 GB, free: 26.61 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005646/0.3757, allocations: 11.16 kB / 0.5643 GB, free: 26.61 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006792/0.3764, allocations: 242.5 kB / 0.5645 GB, free: 26.41 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001825/0.3782, allocations: 0.7903 MB / 0.5653 GB, free: 25.77 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001536/0.3798, allocations: 0.6382 MB / 0.5659 GB, free: 25.3 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.002004/0.3818, allocations: 1.574 MB / 0.5675 GB, free: 24.33 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000601/0.3824, allocations: 322.7 kB / 0.5678 GB, free: 24.17 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009523/0.3834, allocations: 0.6582 MB / 0.5684 GB, free: 23.75 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008597/0.3842, allocations: 0.8186 MB / 0.5692 GB, free: 23.19 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002087/0.3845, allocations: 130 kB / 0.5693 GB, free: 23.18 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005601/0.385, allocations: 255.2 kB / 0.5696 GB, free: 23.12 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002806/0.3853, allocations: 329.1 kB / 0.5699 GB, free: 22.85 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005746/0.3859, allocations: 0.6722 MB / 0.5705 GB, free: 22.33 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001515/0.3874, allocations: 1.661 MB / 0.5722 GB, free: 21.09 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.869e-06/0.3874, allocations: 0 / 0.5722 GB, free: 21.09 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.024e-06/0.3874, allocations: 0 / 0.5722 GB, free: 21.09 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.415e-05/0.3875, allocations: 0 / 0.5722 GB, free: 21.09 MB / 398.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.008446/0.3959, allocations: 2.696 MB / 0.5748 GB, free: 19.37 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.176e-05/0.396, allocations: 12.92 kB / 0.5748 GB, free: 19.36 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004852/0.4008, allocations: 0.7724 MB / 0.5756 GB, free: 19.05 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001415/0.4023, allocations: 0.8874 MB / 0.5764 GB, free: 18.32 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002337/0.4025, allocations: 255.9 kB / 0.5767 GB, free: 18.04 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001483/0.4027, allocations: 84 kB / 0.5768 GB, free: 17.96 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001781/0.4045, allocations: 1.086 MB / 0.5778 GB, free: 16.86 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.992e-05/0.4045, allocations: 0 / 0.5778 GB, free: 16.86 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.842e-05/0.4046, allocations: 32 kB / 0.5778 GB, free: 16.83 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.608e-05/0.4046, allocations: 23.94 kB / 0.5779 GB, free: 16.8 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00162/0.4062, allocations: 0.9838 MB / 0.5788 GB, free: 15.82 MB / 398.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.005175/0.4114, allocations: 3.804 MB / 0.5825 GB, free: 11.84 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006099/0.4175, allocations: 2.369 MB / 0.5849 GB, free: 9.379 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00104/0.4186, allocations: 0.6684 MB / 0.5855 GB, free: 8.707 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001006/0.4187, allocations: 20.92 kB / 0.5855 GB, free: 8.688 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001256/0.4199, allocations: 0.8099 MB / 0.5863 GB, free: 7.859 MB / 398.1 MB Notification: Performance of pre-optimization done (n=95): time 2.615e-06/0.42, allocations: 0 / 0.5863 GB, free: 7.859 MB / 398.1 MB Notification: Performance of matching and sorting (n=95): time 0.02425/0.4442, allocations: 7.194 MB / 0.5933 GB, free: 0.5977 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.922e-05/0.4443, allocations: 123.7 kB / 0.5935 GB, free: 464 kB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001611/0.4459, allocations: 1.091 MB / 0.5945 GB, free: 15.35 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001533/0.4461, allocations: 41.7 kB / 0.5946 GB, free: 15.3 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003787/0.4465, allocations: 0.4889 MB / 0.5951 GB, free: 14.8 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000367/0.4469, allocations: 351.1 kB / 0.5954 GB, free: 14.46 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004935/0.4474, allocations: 283.4 kB / 0.5957 GB, free: 14.18 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001114/0.4475, allocations: 309.1 kB / 0.596 GB, free: 13.87 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001492/0.449, allocations: 0.7574 MB / 0.5967 GB, free: 13.11 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001609/0.4506, allocations: 0.9186 MB / 0.5976 GB, free: 12.16 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.02205/0.4726, allocations: 5.552 MB / 0.603 GB, free: 6.516 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.216e-05/0.4727, allocations: 8 kB / 0.603 GB, free: 6.508 MB / 414.1 MB Notification: Performance of matching and sorting (n=192) (initialization): time 0.0125/0.4852, allocations: 4.352 MB / 0.6073 GB, free: 2.129 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.063e-05/0.4853, allocations: 63.34 kB / 0.6073 GB, free: 2.055 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.439e-05/0.4853, allocations: 4 kB / 0.6073 GB, free: 2.051 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005333/0.4907, allocations: 1.599 MB / 0.6089 GB, free: 460 kB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001426/0.4921, allocations: 279.6 kB / 0.6092 GB, free: 180 kB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01838/0.5105, allocations: 8.494 MB / 0.6175 GB, free: 7.52 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001989/0.5126, allocations: 202.7 kB / 0.6176 GB, free: 7.32 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001251/0.5127, allocations: 59.91 kB / 0.6177 GB, free: 7.262 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.0006194/0.5133, allocations: 296.3 kB / 0.618 GB, free: 6.957 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001966/0.5135, allocations: 122.5 kB / 0.6181 GB, free: 6.836 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01155/0.5251, allocations: 3.877 MB / 0.6219 GB, free: 2.93 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.246e-05/0.5251, allocations: 8 kB / 0.6219 GB, free: 2.922 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.405e-05/0.5252, allocations: 8 kB / 0.6219 GB, free: 2.914 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.871e-05/0.5252, allocations: 3.984 kB / 0.6219 GB, free: 2.91 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.01358/0.5388, allocations: 5.463 MB / 0.6272 GB, free: 13.32 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.273e-05/0.5388, allocations: 4 kB / 0.6272 GB, free: 13.32 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005947/0.5394, allocations: 95.84 kB / 0.6273 GB, free: 13.23 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005192/0.5446, allocations: 1.603 MB / 0.6289 GB, free: 11.62 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001517/0.5448, allocations: 20 kB / 0.6289 GB, free: 11.6 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0191/0.5639, allocations: 9.627 MB / 0.6383 GB, free: 1.676 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.116e-06/0.564, allocations: 4 kB / 0.6383 GB, free: 1.672 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01448/0.5785, allocations: 4.727 MB / 0.6429 GB, free: 12.91 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008166/0.5793, allocations: 223.3 kB / 0.6432 GB, free: 12.67 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002142/0.5796, allocations: 23.94 kB / 0.6432 GB, free: 12.65 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001277/0.5808, allocations: 107.9 kB / 0.6433 GB, free: 12.54 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006866/0.5815, allocations: 192.7 kB / 0.6435 GB, free: 12.36 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.619e-05/0.5816, allocations: 27.98 kB / 0.6435 GB, free: 12.33 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.001137/0.5828, allocations: 0.7315 MB / 0.6442 GB, free: 11.59 MB / 462.1 MB Notification: Performance of sort global known variables: time 2.244e-06/0.5828, allocations: 0 / 0.6442 GB, free: 11.59 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.001865/0.5847, allocations: 479.5 kB / 0.6447 GB, free: 11.12 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.0003823/0.5851, allocations: 145.5 kB / 0.6448 GB, free: 10.97 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.007272/0.5923, allocations: 2.517 MB / 0.6473 GB, free: 8.418 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 6.532e-06/0.5924, allocations: 3.938 kB / 0.6473 GB, free: 8.414 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004334/0.5968, allocations: 1.593 MB / 0.6488 GB, free: 6.777 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001319/0.5981, allocations: 113.7 kB / 0.6489 GB, free: 6.664 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004319/0.6024, allocations: 2.193 MB / 0.6511 GB, free: 4.453 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007706/0.6032, allocations: 1.128 MB / 0.6522 GB, free: 3.293 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0005074/0.6037, allocations: 116 kB / 0.6523 GB, free: 3.176 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002583/0.604, allocations: 79.41 kB / 0.6524 GB, free: 3.098 MB / 462.1 MB Notification: Performance of SimCode: time 9.82e-07/0.604, allocations: 0 / 0.6524 GB, free: 3.098 MB / 462.1 MB Notification: Performance of Templates: time 0.03932/0.6433, allocations: 23.6 MB / 0.6754 GB, free: 11.53 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 -s gbode -lv LOG_STATS > OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRII.pipe 2>&1)