Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_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.FifthOrder_AVRII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_AVRII") translateModel(OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_AVRII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_AVRII") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.006291/0.006291, allocations: 102.3 kB / 15.73 MB, free: 5.582 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.467/1.467, allocations: 222.9 MB / 239.4 MB, free: 4.562 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.001637/0.001638, allocations: 188.5 kB / 289.7 MB, free: 2.285 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.4599/0.4599, allocations: 78.52 MB / 418.4 MB, free: 3.219 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001634/0.001634, allocations: 75.88 kB / 0.5536 GB, free: 1.004 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3942/0.3958, allocations: 68.18 MB / 0.6202 GB, free: 9.664 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_AVRII): time 0.006227/0.4021, allocations: 6.647 MB / 0.6267 GB, free: 3.566 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.004207/0.4064, allocations: 1.99 MB / 0.6286 GB, free: 1.57 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006086/0.407, allocations: 8 kB / 0.6286 GB, free: 1.562 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006932/0.4077, allocations: 253.9 kB / 0.6289 GB, free: 1.312 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001706/0.4095, allocations: 0.8652 MB / 0.6297 GB, free: 460 kB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00123/0.4107, allocations: 0.6253 MB / 0.6303 GB, free: 15.83 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.001587/0.4123, allocations: 1.644 MB / 0.6319 GB, free: 14.18 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004928/0.4128, allocations: 342.4 kB / 0.6323 GB, free: 13.83 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008049/0.4136, allocations: 0.673 MB / 0.6329 GB, free: 13.16 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009212/0.4145, allocations: 0.8518 MB / 0.6338 GB, free: 12.3 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001794/0.4147, allocations: 128 kB / 0.6339 GB, free: 12.18 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004611/0.4152, allocations: 267.9 kB / 0.6341 GB, free: 11.91 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003143/0.4155, allocations: 342.5 kB / 0.6345 GB, free: 11.58 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005788/0.4161, allocations: 0.6914 MB / 0.6351 GB, free: 10.88 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001692/0.4178, allocations: 1.71 MB / 0.6368 GB, free: 9.172 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.182e-06/0.4178, allocations: 0 / 0.6368 GB, free: 9.172 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.084e-06/0.4178, allocations: 4 kB / 0.6368 GB, free: 9.168 MB / 446.1 MB Notification: Performance of Transformations before backend: time 1.417e-05/0.4179, allocations: 0 / 0.6368 GB, free: 9.168 MB / 446.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 191 * Number of variables: 191 Notification: Performance of Generate backend data structure: time 0.009091/0.427, allocations: 2.746 MB / 0.6395 GB, free: 6.352 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.048e-05/0.427, allocations: 8.031 kB / 0.6395 GB, free: 6.344 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005111/0.4321, allocations: 0.7787 MB / 0.6403 GB, free: 5.562 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001732/0.4339, allocations: 0.9139 MB / 0.6412 GB, free: 4.594 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003059/0.4342, allocations: 260.2 kB / 0.6414 GB, free: 4.301 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001816/0.4344, allocations: 87.91 kB / 0.6415 GB, free: 4.215 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002249/0.4367, allocations: 1.094 MB / 0.6426 GB, free: 3.109 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.133e-05/0.4367, allocations: 11.88 kB / 0.6426 GB, free: 3.098 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001026/0.4368, allocations: 28 kB / 0.6426 GB, free: 3.07 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.756e-05/0.4368, allocations: 24 kB / 0.6426 GB, free: 3.047 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002078/0.4389, allocations: 0.9994 MB / 0.6436 GB, free: 2.047 MB / 446.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.006936/0.4459, allocations: 3.852 MB / 0.6474 GB, free: 14.02 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007755/0.4536, allocations: 2.391 MB / 0.6497 GB, free: 11.53 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001539/0.4552, allocations: 0.6879 MB / 0.6504 GB, free: 10.84 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001027/0.4553, allocations: 20.98 kB / 0.6504 GB, free: 10.82 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001672/0.457, allocations: 0.8333 MB / 0.6512 GB, free: 9.965 MB / 462.1 MB Notification: Performance of pre-optimization done (n=97): time 3.577e-06/0.457, allocations: 0 / 0.6512 GB, free: 9.965 MB / 462.1 MB Notification: Performance of matching and sorting (n=97): time 0.03017/0.4872, allocations: 7.218 MB / 0.6582 GB, free: 2.684 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.427e-05/0.4873, allocations: 119.8 kB / 0.6584 GB, free: 2.543 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002143/0.4895, allocations: 1.123 MB / 0.6595 GB, free: 1.406 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002501/0.4898, allocations: 49.7 kB / 0.6595 GB, free: 1.352 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000471/0.4902, allocations: 0.4891 MB / 0.66 GB, free: 0.8555 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005288/0.4908, allocations: 362.9 kB / 0.6603 GB, free: 0.4961 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007109/0.4915, allocations: 295.4 kB / 0.6606 GB, free: 208 kB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001224/0.4916, allocations: 305.1 kB / 0.6609 GB, free: 15.9 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001838/0.4935, allocations: 0.7809 MB / 0.6617 GB, free: 15.12 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001892/0.4954, allocations: 0.9487 MB / 0.6626 GB, free: 14.13 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.02581/0.5212, allocations: 5.801 MB / 0.6683 GB, free: 8.246 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.348e-05/0.5213, allocations: 4 kB / 0.6683 GB, free: 8.242 MB / 478.1 MB Notification: Performance of matching and sorting (n=200) (initialization): time 0.01547/0.5368, allocations: 4.442 MB / 0.6726 GB, free: 3.77 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001183/0.5369, allocations: 67.34 kB / 0.6727 GB, free: 3.691 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.295e-05/0.537, allocations: 0 / 0.6727 GB, free: 3.691 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006553/0.5435, allocations: 1.639 MB / 0.6743 GB, free: 2.051 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001771/0.5453, allocations: 287.5 kB / 0.6745 GB, free: 1.77 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02271/0.5681, allocations: 8.596 MB / 0.6829 GB, free: 9.023 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002312/0.5704, allocations: 202.6 kB / 0.6831 GB, free: 8.824 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003296/0.5708, allocations: 67.91 kB / 0.6832 GB, free: 8.758 MB / 494.1 MB Warning: Assuming fixed start value for the following 5 variables: order5.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 order5.delta:VARIABLE(flow=false start = order5.delta0 unit = "rad" fixed = true ) "Rotor angle" type: Real order5.e1q:VARIABLE(start = order5.e1q0 unit = "1" fixed = true ) "q-axis transient voltage" 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 (167): * Single equations (assignments): 164 * 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.0009604/0.5718, allocations: 308.3 kB / 0.6835 GB, free: 8.438 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004106/0.5722, allocations: 122.5 kB / 0.6836 GB, free: 8.316 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01356/0.5858, allocations: 3.908 MB / 0.6874 GB, free: 4.371 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.55e-05/0.5858, allocations: 12 kB / 0.6874 GB, free: 4.359 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.999e-05/0.5858, allocations: 4 kB / 0.6874 GB, free: 4.355 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.332e-05/0.5859, allocations: 3.984 kB / 0.6874 GB, free: 4.352 MB / 494.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.01591/0.6018, allocations: 5.51 MB / 0.6928 GB, free: 14.73 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.969e-05/0.6019, allocations: 4 kB / 0.6928 GB, free: 14.73 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008032/0.6027, allocations: 103.8 kB / 0.6929 GB, free: 14.63 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00593/0.6086, allocations: 1.587 MB / 0.6945 GB, free: 13.04 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002168/0.6089, allocations: 23.98 kB / 0.6945 GB, free: 13.01 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02282/0.6317, allocations: 9.654 MB / 0.7039 GB, free: 3.066 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.121e-06/0.6317, allocations: 0 / 0.7039 GB, free: 3.066 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01566/0.6474, allocations: 4.782 MB / 0.7086 GB, free: 14.25 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006287/0.6481, allocations: 231.2 kB / 0.7088 GB, free: 14 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004604/0.6486, allocations: 23.94 kB / 0.7088 GB, free: 13.98 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00151/0.6501, allocations: 111.9 kB / 0.7089 GB, free: 13.87 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007183/0.6508, allocations: 192.7 kB / 0.7091 GB, free: 13.68 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001329/0.651, allocations: 28 kB / 0.7091 GB, free: 13.66 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.001438/0.6524, allocations: 0.7553 MB / 0.7099 GB, free: 12.89 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.41e-07/0.6524, allocations: 0 / 0.7099 GB, free: 12.89 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.001917/0.6544, allocations: 483.5 kB / 0.7103 GB, free: 12.42 MB / 0.5137 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 11 (order2.delta,order2.w,order5.delta,order5.w,order5.e1q,order5.e2q,order5.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 (65): * Single equations (assignments): 62 * 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 {(18,14,25.9%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,6)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0003689/0.6547, allocations: 146.3 kB / 0.7105 GB, free: 12.27 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.007067/0.6618, allocations: 2.585 MB / 0.713 GB, free: 9.641 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 4.479e-06/0.6618, allocations: 7.938 kB / 0.713 GB, free: 9.633 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.004419/0.6663, allocations: 1.587 MB / 0.7146 GB, free: 8.004 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001173/0.6675, allocations: 131.2 kB / 0.7147 GB, free: 7.879 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004692/0.6722, allocations: 2.346 MB / 0.717 GB, free: 5.512 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007705/0.673, allocations: 1.132 MB / 0.7181 GB, free: 4.348 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.0004778/0.6734, allocations: 116.1 kB / 0.7182 GB, free: 4.23 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003056/0.6738, allocations: 87.41 kB / 0.7183 GB, free: 4.145 MB / 0.5137 GB Notification: Performance of SimCode: time 7.31e-07/0.6738, allocations: 0 / 0.7183 GB, free: 4.145 MB / 0.5137 GB Notification: Performance of Templates: time 0.03984/0.7136, allocations: 24.41 MB / 0.7421 GB, free: 11.75 MB / 0.545 GB make -j1 -f OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_AVRII.makefile (rm -f OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_AVRII.pipe ; mkfifo OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_AVRII.pipe ; head -c 1048576 < OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_AVRII.pipe >> ../files/OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_AVRII.sim & ./OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_AVRII -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_AVRII.pipe 2>&1)