Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.ThirdOrder_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.ThirdOrder_AVRII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.ThirdOrder_AVRII") translateModel(OpenIPSL.Examples.PSATSystems.TwoArea.ThirdOrder_AVRII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.ThirdOrder_AVRII") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001116/0.001116, allocations: 102.2 kB / 16.35 MB, free: 5.875 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.375/1.375, allocations: 222.9 MB / 240 MB, free: 4.496 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.00147/0.00147, allocations: 184.5 kB / 290.3 MB, free: 2.23 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.51/0.51, allocations: 91.9 MB / 432.4 MB, free: 9.141 MB / 302.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001456/0.001456, allocations: 79.86 kB / 0.5033 GB, free: 6.949 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3828/0.3843, allocations: 71.25 MB / 0.5729 GB, free: 37.04 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.PSATSystems.TwoArea.ThirdOrder_AVRII): time 0.01636/0.4007, allocations: 21.74 MB / 0.5941 GB, free: 21.8 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.01219/0.413, allocations: 4.858 MB / 0.5988 GB, free: 18.29 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.005767/0.4188, allocations: 44 kB / 0.5989 GB, free: 18.29 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003818/0.4227, allocations: 0.8821 MB / 0.5997 GB, free: 17.81 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.009855/0.4326, allocations: 2.03 MB / 0.6017 GB, free: 16.37 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.006664/0.4393, allocations: 2.052 MB / 0.6037 GB, free: 15.3 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.01113/0.4504, allocations: 5.705 MB / 0.6093 GB, free: 12.38 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003921/0.4544, allocations: 1.331 MB / 0.6106 GB, free: 11.74 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005369/0.4598, allocations: 2.311 MB / 0.6129 GB, free: 10.55 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006024/0.4659, allocations: 2.945 MB / 0.6157 GB, free: 9.051 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002885/0.4688, allocations: 437.9 kB / 0.6162 GB, free: 9.051 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004004/0.4728, allocations: 0.575 MB / 0.6167 GB, free: 9.012 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003155/0.476, allocations: 1.151 MB / 0.6178 GB, free: 8.223 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.007669/0.4837, allocations: 2.607 MB / 0.6204 GB, free: 6.469 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01371/0.4974, allocations: 6.221 MB / 0.6265 GB, free: 3.586 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.153e-06/0.4975, allocations: 0 / 0.6265 GB, free: 3.586 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.144e-06/0.4975, allocations: 0 / 0.6265 GB, free: 3.586 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.0003629/0.4978, allocations: 0 / 0.6265 GB, free: 3.586 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: 892 * Number of variables: 892 Notification: Performance of Generate backend data structure: time 0.04123/0.5391, allocations: 9.151 MB / 0.6354 GB, free: 14.32 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.54e-05/0.5391, allocations: 8.031 kB / 0.6354 GB, free: 14.31 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02705/0.5662, allocations: 4.009 MB / 0.6393 GB, free: 10.29 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008925/0.5752, allocations: 2.658 MB / 0.6419 GB, free: 7.551 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001384/0.5766, allocations: 0.9573 MB / 0.6428 GB, free: 6.457 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002287/0.5789, allocations: 351.9 kB / 0.6432 GB, free: 6.113 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01566/0.5946, allocations: 4.723 MB / 0.6478 GB, free: 1.359 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001483/0.5948, allocations: 3.938 kB / 0.6478 GB, free: 1.355 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001314/0.5961, allocations: 140 kB / 0.6479 GB, free: 1.219 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.01e-05/0.5962, allocations: 84 kB / 0.648 GB, free: 1.137 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01089/0.6071, allocations: 4.244 MB / 0.6522 GB, free: 12.88 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.04012/0.6472, allocations: 18.18 MB / 0.6699 GB, free: 9.531 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01246/0.6597, allocations: 5 MB / 0.6748 GB, free: 4.449 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.005956/0.6657, allocations: 2.777 MB / 0.6775 GB, free: 1.664 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0007613/0.6665, allocations: 74.91 kB / 0.6776 GB, free: 1.59 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.007262/0.6738, allocations: 3.169 MB / 0.6807 GB, free: 14.38 MB / 494.1 MB Notification: Performance of pre-optimization done (n=382): time 7.645e-06/0.6738, allocations: 0 / 0.6807 GB, free: 14.38 MB / 494.1 MB Notification: Performance of matching and sorting (n=382): time 0.2806/0.9544, allocations: 68.21 MB / 0.7473 GB, free: 9.977 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001142/0.9546, allocations: 141.8 kB / 0.7474 GB, free: 9.812 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007017/0.9616, allocations: 3.23 MB / 0.7506 GB, free: 6.562 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 0.001332/0.963, allocations: 85.7 kB / 0.7506 GB, free: 6.473 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.001596/0.9646, allocations: 1.974 MB / 0.7526 GB, free: 4.484 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.00214/0.9667, allocations: 1.309 MB / 0.7539 GB, free: 3.156 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001468/0.9682, allocations: 0.6664 MB / 0.7545 GB, free: 2.477 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 9.561e-05/0.9683, allocations: 301.1 kB / 0.7548 GB, free: 2.18 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005134/0.9735, allocations: 2.581 MB / 0.7573 GB, free: 15.59 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005641/0.9791, allocations: 3.205 MB / 0.7604 GB, free: 12.16 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.405/1.384, allocations: 18.75 MB / 0.7788 GB, free: 154.2 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.56e-05/1.384, allocations: 5.094 kB / 0.7788 GB, free: 154.2 MB / 0.5606 GB Notification: Performance of matching and sorting (n=534) (initialization): time 0.05396/1.438, allocations: 16.93 MB / 0.7953 GB, free: 152.4 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 8.302e-05/1.438, allocations: 70.41 kB / 0.7954 GB, free: 152.3 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.067e-05/1.438, allocations: 15.73 kB / 0.7954 GB, free: 152.3 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02529/1.464, allocations: 7.223 MB / 0.8024 GB, free: 151.1 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003725/1.467, allocations: 0.6635 MB / 0.8031 GB, free: 151 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.07506/1.542, allocations: 33.72 MB / 0.836 GB, free: 133.5 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006493/1.549, allocations: 0.6131 MB / 0.8366 GB, free: 133 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001195/1.55, allocations: 152 kB / 0.8367 GB, free: 132.8 MB / 0.5606 GB Warning: Assuming fixed start value for the following 4 variables: order3_1.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 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 (398): * Single equations (assignments): 395 * 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): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(92,45)} Notification: Performance of prepare postOptimizeDAE: time 0.002466/1.553, allocations: 0.6733 MB / 0.8374 GB, free: 132.1 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001474/1.554, allocations: 454.3 kB / 0.8378 GB, free: 131.7 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.04642/1.601, allocations: 16.84 MB / 0.8543 GB, free: 114.8 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.801e-05/1.601, allocations: 36 kB / 0.8543 GB, free: 114.7 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.887e-05/1.601, allocations: 28 kB / 0.8543 GB, free: 114.7 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001111/1.601, allocations: 23.92 kB / 0.8544 GB, free: 114.7 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.05361/1.654, allocations: 21.82 MB / 0.8757 GB, free: 92.84 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.018e-05/1.655, allocations: 7.938 kB / 0.8757 GB, free: 92.83 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002256/1.657, allocations: 383.5 kB / 0.876 GB, free: 92.46 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.02239/1.679, allocations: 7.379 MB / 0.8832 GB, free: 85.07 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.00113/1.68, allocations: 71.98 kB / 0.8833 GB, free: 85 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.06653/1.747, allocations: 31.79 MB / 0.9144 GB, free: 52.91 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.538e-06/1.747, allocations: 4 kB / 0.9144 GB, free: 52.91 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.05251/1.799, allocations: 20.2 MB / 0.9341 GB, free: 32.62 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00198/1.802, allocations: 0.5611 MB / 0.9346 GB, free: 32.04 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002003/1.804, allocations: 68 kB / 0.9347 GB, free: 31.97 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004804/1.808, allocations: 375.5 kB / 0.9351 GB, free: 31.6 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.003045/1.811, allocations: 0.7805 MB / 0.9358 GB, free: 30.82 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004805/1.812, allocations: 95.98 kB / 0.9359 GB, free: 30.73 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.002761/1.815, allocations: 2.113 MB / 0.938 GB, free: 28.61 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.9e-07/1.815, allocations: 0 / 0.938 GB, free: 28.61 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.005918/1.821, allocations: 1.794 MB / 0.9397 GB, free: 26.81 MB / 0.5606 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 10 (order3.delta,order3.w,order3.e1q,order3_1.delta,order3_1.w,order3_1.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 (246): * Single equations (assignments): 243 * 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.4%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,6)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0006656/1.821, allocations: 199.2 kB / 0.9399 GB, free: 26.62 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0219/1.843, allocations: 9.285 MB / 0.949 GB, free: 17.29 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 6.262e-06/1.843, allocations: 0 / 0.949 GB, free: 17.29 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.01699/1.86, allocations: 6.183 MB / 0.955 GB, free: 11.05 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004504/1.865, allocations: 393.2 kB / 0.9554 GB, free: 10.67 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01335/1.878, allocations: 7.775 MB / 0.963 GB, free: 2.879 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001516/1.88, allocations: 2.443 MB / 0.9654 GB, free: 408 kB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.001549/1.881, allocations: 371.1 kB / 0.9657 GB, free: 32 kB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008662/1.882, allocations: 251.3 kB / 0.966 GB, free: 15.79 MB / 0.5762 GB Notification: Performance of SimCode: time 1.433e-06/1.882, allocations: 0 / 0.966 GB, free: 15.79 MB / 0.5762 GB Notification: Performance of Templates: time 0.4179/2.3, allocations: 92.27 MB / 1.056 GB, free: 159.2 MB / 0.5919 GB make -j1 -f OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.ThirdOrder_AVRII.makefile (rm -f OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.ThirdOrder_AVRII.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.ThirdOrder_AVRII.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.ThirdOrder_AVRII.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.ThirdOrder_AVRII.sim & ./OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.ThirdOrder_AVRII -abortSlowSimulation -alarm=480 -s cvode -lv LOG_STATS > OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.ThirdOrder_AVRII.pipe 2>&1)