Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.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.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.TwoArea.FifthOrder_AVRII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.FifthOrder_AVRII") translateModel(OpenIPSL.Examples.PSATSystems.TwoArea.FifthOrder_AVRII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.FifthOrder_AVRII") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009257/0.0009258, allocations: 91.92 kB / 16.02 MB, free: 80 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.344/1.344, allocations: 223.3 MB / 240 MB, free: 5.387 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.001083/0.001083, allocations: 176.5 kB / 291.3 MB, free: 2.051 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.5288/0.5288, allocations: 91.93 MB / 434.3 MB, free: 10.27 MB / 302.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003567/0.0003567, allocations: 12 kB / 0.5054 GB, free: 7.238 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3629/0.3632, allocations: 72.46 MB / 0.5762 GB, free: 36.62 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.PSATSystems.TwoArea.FifthOrder_AVRII): time 0.01498/0.3783, allocations: 22.61 MB / 0.5983 GB, free: 20.11 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.01221/0.3905, allocations: 5.147 MB / 0.6033 GB, free: 16.38 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004755/0.3953, allocations: 50.56 kB / 0.6033 GB, free: 16.38 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002246/0.3976, allocations: 0.6782 MB / 0.604 GB, free: 16.12 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.007113/0.4047, allocations: 1.737 MB / 0.6057 GB, free: 14.9 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004873/0.4096, allocations: 1.914 MB / 0.6076 GB, free: 13.8 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.008189/0.4178, allocations: 5.488 MB / 0.6129 GB, free: 11.04 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001885/0.4197, allocations: 1.125 MB / 0.614 GB, free: 10.46 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003461/0.4232, allocations: 2.083 MB / 0.616 GB, free: 9.461 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00409/0.4273, allocations: 2.708 MB / 0.6187 GB, free: 8.172 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0009741/0.4282, allocations: 238.1 kB / 0.6189 GB, free: 8.172 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001627/0.4299, allocations: 379.4 kB / 0.6193 GB, free: 8.129 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0007977/0.4307, allocations: 0.9398 MB / 0.6202 GB, free: 7.543 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002745/0.4334, allocations: 2.407 MB / 0.6225 GB, free: 5.973 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005809/0.4393, allocations: 4.668 MB / 0.6271 GB, free: 4.488 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.498e-06/0.4393, allocations: 0 / 0.6271 GB, free: 4.488 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.904e-06/0.4393, allocations: 1.156 kB / 0.6271 GB, free: 4.488 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.000226/0.4395, allocations: 4 kB / 0.6271 GB, free: 4.484 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: 894 * Number of variables: 894 Notification: Performance of Generate backend data structure: time 0.03063/0.4702, allocations: 8.474 MB / 0.6354 GB, free: 464 kB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.655e-05/0.4702, allocations: 8.594 kB / 0.6354 GB, free: 464 kB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02793/0.4982, allocations: 4.049 MB / 0.6393 GB, free: 12.86 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006058/0.5043, allocations: 2.67 MB / 0.642 GB, free: 10.11 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0009882/0.5053, allocations: 0.9924 MB / 0.6429 GB, free: 8.977 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008314/0.5061, allocations: 355.9 kB / 0.6433 GB, free: 8.629 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0105/0.5166, allocations: 4.997 MB / 0.6481 GB, free: 3.598 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.581e-05/0.5167, allocations: 7.938 kB / 0.6482 GB, free: 3.59 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004306/0.5172, allocations: 140 kB / 0.6483 GB, free: 3.453 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.831e-05/0.5172, allocations: 87.94 kB / 0.6484 GB, free: 3.371 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009807/0.527, allocations: 4.509 MB / 0.6528 GB, free: 14.86 MB / 462.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.03359/0.5606, allocations: 18.87 MB / 0.6712 GB, free: 10.8 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01358/0.5742, allocations: 5.759 MB / 0.6768 GB, free: 4.957 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.006417/0.5807, allocations: 3.058 MB / 0.6798 GB, free: 1.891 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003866/0.5811, allocations: 66.92 kB / 0.6799 GB, free: 1.824 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.007213/0.5883, allocations: 3.458 MB / 0.6833 GB, free: 14.32 MB / 494.1 MB Notification: Performance of pre-optimization done (n=384): time 7.173e-06/0.5883, allocations: 0 / 0.6833 GB, free: 14.32 MB / 494.1 MB Notification: Performance of matching and sorting (n=384): time 0.3343/0.9226, allocations: 81.51 MB / 0.7629 GB, free: 12.62 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001188/0.9228, allocations: 145.8 kB / 0.763 GB, free: 12.45 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006602/0.9294, allocations: 3.254 MB / 0.7662 GB, free: 9.18 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 0.001187/0.9306, allocations: 89.7 kB / 0.7663 GB, free: 9.086 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.001734/0.9323, allocations: 1.982 MB / 0.7682 GB, free: 7.09 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.001901/0.9342, allocations: 1.317 MB / 0.7695 GB, free: 5.754 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005964/0.9349, allocations: 346.8 kB / 0.7698 GB, free: 5.406 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001103/0.935, allocations: 301.1 kB / 0.7701 GB, free: 5.109 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006339/0.9413, allocations: 2.874 MB / 0.7729 GB, free: 2.227 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.2643/1.206, allocations: 3.49 MB / 0.7763 GB, free: 159.2 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.07546/1.281, allocations: 20.89 MB / 0.7967 GB, free: 156.4 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.067e-05/1.281, allocations: 3.875 kB / 0.7967 GB, free: 156.4 MB / 0.5606 GB Notification: Performance of matching and sorting (n=542) (initialization): time 0.06382/1.345, allocations: 21.08 MB / 0.8173 GB, free: 152.2 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 7.907e-05/1.345, allocations: 66.75 kB / 0.8174 GB, free: 152.1 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.425e-05/1.345, allocations: 15.78 kB / 0.8174 GB, free: 152.1 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02651/1.372, allocations: 8.488 MB / 0.8257 GB, free: 146.2 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003702/1.375, allocations: 0.692 MB / 0.8264 GB, free: 145.6 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.08504/1.46, allocations: 34.9 MB / 0.8604 GB, free: 111.7 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007001/1.468, allocations: 0.7586 MB / 0.8612 GB, free: 111 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001057/1.469, allocations: 156 kB / 0.8613 GB, free: 110.9 MB / 0.5606 GB 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 order3.w:VARIABLE(flow=false start = 1.0 fixed = true ) "Rotor speed [pu]" type: Real order3.delta:VARIABLE(flow=false start = order3.delta0 unit = "rad" fixed = true ) "Rotor angle" type: Real order3.e1q:VARIABLE(start = order3.e1q0 unit = "1" fixed = true ) "q-axis transient voltage" type: Real order5.delta:VARIABLE(flow=false start = order5.delta0 unit = "rad" fixed = true ) "Rotor angle" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 65 * 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 (407): * Single equations (assignments): 404 * 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 {(92,44,5.8%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.003333/1.472, allocations: 0.6673 MB / 0.862 GB, free: 110.2 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001805/1.474, allocations: 454.4 kB / 0.8624 GB, free: 109.8 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.06096/1.535, allocations: 20.68 MB / 0.8826 GB, free: 89.02 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.73e-05/1.535, allocations: 36 kB / 0.8826 GB, free: 88.99 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.435e-05/1.535, allocations: 28 kB / 0.8827 GB, free: 88.96 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001165/1.535, allocations: 24.62 kB / 0.8827 GB, free: 88.94 MB / 0.5606 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.07061/1.606, allocations: 25.69 MB / 0.9078 GB, free: 63.2 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.914e-05/1.606, allocations: 0 / 0.9078 GB, free: 63.2 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002466/1.608, allocations: 392.4 kB / 0.9081 GB, free: 62.82 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.02674/1.635, allocations: 8.71 MB / 0.9167 GB, free: 54.1 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001031/1.636, allocations: 75.98 kB / 0.9167 GB, free: 54.02 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.07571/1.712, allocations: 32.67 MB / 0.9486 GB, free: 21.06 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.625e-06/1.712, allocations: 4 kB / 0.9486 GB, free: 21.06 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0617/1.774, allocations: 24.31 MB / 0.9724 GB, free: 12.67 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001692/1.775, allocations: 0.5687 MB / 0.9729 GB, free: 12.08 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007212/1.776, allocations: 60 kB / 0.973 GB, free: 12.02 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00439/1.78, allocations: 0.5074 MB / 0.9735 GB, free: 11.51 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002788/1.783, allocations: 0.7724 MB / 0.9742 GB, free: 10.74 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002837/1.783, allocations: 91.98 kB / 0.9743 GB, free: 10.65 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.002962/1.786, allocations: 2.137 MB / 0.9764 GB, free: 8.508 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.6e-07/1.786, allocations: 0 / 0.9764 GB, free: 8.508 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.004701/1.791, allocations: 1.806 MB / 0.9782 GB, free: 6.699 MB / 0.5762 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 12 (order3.delta,order3.w,order3.e1q,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 (248): * Single equations (assignments): 245 * 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 {(100,36,5.5%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,6)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0005203/1.792, allocations: 201.4 kB / 0.9784 GB, free: 6.496 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.02699/1.819, allocations: 10.35 MB / 0.9885 GB, free: 12.1 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 5.871e-06/1.819, allocations: 0 / 0.9885 GB, free: 12.1 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.02073/1.839, allocations: 7.082 MB / 0.9954 GB, free: 4.973 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004923/1.844, allocations: 382.3 kB / 0.9958 GB, free: 4.594 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2555/2.1, allocations: 10.01 MB / 1.006 GB, free: 181.8 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001577/2.102, allocations: 2.454 MB / 1.008 GB, free: 181 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001536/2.103, allocations: 259.8 kB / 1.008 GB, free: 181 MB / 0.5919 GB Notification: Performance of SimCode: time 1.062e-06/2.103, allocations: 1.625 kB / 1.008 GB, free: 181 MB / 0.5919 GB Notification: Performance of Templates: time 0.1131/2.216, allocations: 88.12 MB / 1.094 GB, free: 125.2 MB / 0.5919 GB make -j1 -f OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.FifthOrder_AVRII.makefile (rm -f OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.FifthOrder_AVRII.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.FifthOrder_AVRII.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.FifthOrder_AVRII.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.FifthOrder_AVRII.sim & ./OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.FifthOrder_AVRII -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.FifthOrder_AVRII.pipe 2>&1)