Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRI.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.TwoAreaOld.ThirdOrder_AVRI,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRI") translateModel(OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRI,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRI") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009961/0.0009961, allocations: 90.75 kB / 15.06 MB, free: 1.098 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.325/1.325, allocations: 223.3 MB / 239 MB, free: 5.441 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.001062/0.001062, allocations: 184.5 kB / 290.3 MB, free: 2.121 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.5232/0.5232, allocations: 91.92 MB / 433.3 MB, free: 10.34 MB / 302.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003681/0.0003681, allocations: 16 kB / 0.5042 GB, free: 7.609 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3449/0.3453, allocations: 72.48 MB / 0.5749 GB, free: 36.25 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRI): time 0.004443/0.3498, allocations: 5.85 MB / 0.5807 GB, free: 32.63 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.003028/0.3528, allocations: 1.929 MB / 0.5825 GB, free: 31.26 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004797/0.3533, allocations: 11.72 kB / 0.5825 GB, free: 31.26 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005533/0.3539, allocations: 168.3 kB / 0.5827 GB, free: 31.18 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001493/0.3554, allocations: 0.6589 MB / 0.5833 GB, free: 30.75 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009934/0.3564, allocations: 0.5257 MB / 0.5839 GB, free: 30.5 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.001114/0.3575, allocations: 1.377 MB / 0.5852 GB, free: 29.81 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003536/0.3579, allocations: 258.2 kB / 0.5855 GB, free: 29.71 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005515/0.3585, allocations: 0.5386 MB / 0.586 GB, free: 29.48 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006204/0.3591, allocations: 0.7166 MB / 0.5867 GB, free: 29.18 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001197/0.3592, allocations: 59.44 kB / 0.5867 GB, free: 29.18 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003759/0.3596, allocations: 189.5 kB / 0.5869 GB, free: 29.14 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001947/0.3598, allocations: 252.4 kB / 0.5872 GB, free: 29.01 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001616/0.36, allocations: 230.2 kB / 0.5874 GB, free: 28.86 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007973/0.3608, allocations: 1.213 MB / 0.5886 GB, free: 28.5 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.168e-06/0.3608, allocations: 0 / 0.5886 GB, free: 28.5 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.482e-06/0.3608, allocations: 0.7188 kB / 0.5886 GB, free: 28.5 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.601e-05/0.3608, allocations: 0 / 0.5886 GB, free: 28.5 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: 186 * Number of variables: 186 Notification: Performance of Generate backend data structure: time 0.007197/0.368, allocations: 2.492 MB / 0.591 GB, free: 27.38 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.365e-05/0.3681, allocations: 9.469 kB / 0.591 GB, free: 27.38 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004953/0.373, allocations: 0.7764 MB / 0.5918 GB, free: 27.23 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001397/0.3744, allocations: 0.8516 MB / 0.5926 GB, free: 26.68 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001956/0.3747, allocations: 236.5 kB / 0.5928 GB, free: 26.48 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001383/0.3748, allocations: 81.41 kB / 0.5929 GB, free: 26.46 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002028/0.3768, allocations: 1.151 MB / 0.594 GB, free: 26.03 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.103e-05/0.3769, allocations: 3.375 kB / 0.594 GB, free: 26.03 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.518e-05/0.377, allocations: 31.41 kB / 0.5941 GB, free: 26 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.792e-05/0.377, allocations: 26.02 kB / 0.5941 GB, free: 26 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001957/0.3789, allocations: 1.066 MB / 0.5951 GB, free: 25.66 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 preOpt removeSimpleEquations (simulation): time 0.005747/0.3847, allocations: 3.937 MB / 0.599 GB, free: 23.38 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007331/0.392, allocations: 2.877 MB / 0.6018 GB, free: 22.51 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001398/0.3935, allocations: 0.7446 MB / 0.6025 GB, free: 22.24 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001124/0.3936, allocations: 20.92 kB / 0.6025 GB, free: 22.23 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.224e-05/0.3936, allocations: 43.91 kB / 0.6026 GB, free: 22.18 MB / 430.1 MB Notification: Performance of pre-optimization done (n=92): time 3.857e-06/0.3936, allocations: 1.188 kB / 0.6026 GB, free: 22.18 MB / 430.1 MB Notification: Performance of matching and sorting (n=92): time 0.02703/0.4207, allocations: 8.42 MB / 0.6108 GB, free: 20.76 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.058e-05/0.4207, allocations: 152.5 kB / 0.6109 GB, free: 20.59 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001669/0.4224, allocations: 1.069 MB / 0.612 GB, free: 20.15 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001554/0.4226, allocations: 46.33 kB / 0.612 GB, free: 20.1 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003077/0.4229, allocations: 499.3 kB / 0.6125 GB, free: 19.71 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000299/0.4232, allocations: 341.4 kB / 0.6128 GB, free: 19.45 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.002e-05/0.4233, allocations: 26.12 kB / 0.6128 GB, free: 19.43 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 8.604e-05/0.4234, allocations: 364 kB / 0.6132 GB, free: 19.09 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001547/0.425, allocations: 0.8062 MB / 0.614 GB, free: 18.81 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001654/0.4266, allocations: 0.9781 MB / 0.6149 GB, free: 18.38 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001637/0.4283, allocations: 0.941 MB / 0.6159 GB, free: 17.94 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.919e-06/0.4283, allocations: 4 kB / 0.6159 GB, free: 17.93 MB / 430.1 MB Notification: Performance of matching and sorting (n=182) (initialization): time 0.0125/0.4408, allocations: 5.139 MB / 0.6209 GB, free: 14.23 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001032/0.4409, allocations: 236.9 kB / 0.6211 GB, free: 13.95 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.124e-05/0.4409, allocations: 7.938 kB / 0.6211 GB, free: 13.94 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005169/0.4461, allocations: 1.841 MB / 0.6229 GB, free: 12.09 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001247/0.4474, allocations: 275.6 kB / 0.6232 GB, free: 11.82 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01627/0.4637, allocations: 8.857 MB / 0.6318 GB, free: 2.816 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001673/0.4653, allocations: 222.9 kB / 0.632 GB, free: 2.598 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001069/0.4655, allocations: 63.92 kB / 0.6321 GB, free: 2.535 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.875e-06/0.4655, allocations: 4 kB / 0.6321 GB, free: 2.531 MB / 430.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01222/0.4777, allocations: 4.965 MB / 0.6369 GB, free: 13.55 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.17e-05/0.4777, allocations: 0 / 0.6369 GB, free: 13.55 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005472/0.4832, allocations: 1.847 MB / 0.6388 GB, free: 11.7 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00127/0.4845, allocations: 267.5 kB / 0.639 GB, free: 11.43 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01844/0.5029, allocations: 8.861 MB / 0.6477 GB, free: 2.43 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001618/0.5046, allocations: 199.2 kB / 0.6478 GB, free: 2.234 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001728/0.5048, allocations: 51.98 kB / 0.6479 GB, free: 2.184 MB / 446.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 order3.e1q:VARIABLE(start = order3.e1q0 unit = "1" fixed = true ) "q-axis transient voltage" 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (151): * Single equations (assignments): 148 * Array equations: 0 * Algorithm blocks: 2 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {18 14} Notification: Performance of prepare postOptimizeDAE: time 0.0006916/0.5055, allocations: 379.5 kB / 0.6483 GB, free: 1.797 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003134/0.5058, allocations: 126.4 kB / 0.6484 GB, free: 1.672 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01224/0.518, allocations: 4.587 MB / 0.6529 GB, free: 13.06 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.188e-05/0.5181, allocations: 8 kB / 0.6529 GB, free: 13.05 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.164e-05/0.5181, allocations: 8 kB / 0.6529 GB, free: 13.04 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.793e-05/0.5181, allocations: 7.969 kB / 0.6529 GB, free: 13.04 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 postOpt removeSimpleEquations (simulation): time 0.01422/0.5323, allocations: 6.23 MB / 0.659 GB, free: 6.703 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.784e-06/0.5324, allocations: 8.031 kB / 0.659 GB, free: 6.695 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006193/0.533, allocations: 119.8 kB / 0.6591 GB, free: 6.578 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005169/0.5382, allocations: 1.785 MB / 0.6608 GB, free: 4.789 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000136/0.5383, allocations: 24 kB / 0.6609 GB, free: 4.766 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01604/0.5544, allocations: 7.625 MB / 0.6683 GB, free: 13 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.577e-06/0.5544, allocations: 3.984 kB / 0.6683 GB, free: 13 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01413/0.5686, allocations: 5.517 MB / 0.6737 GB, free: 7.449 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005352/0.5691, allocations: 231.2 kB / 0.6739 GB, free: 7.203 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003107/0.5695, allocations: 16 kB / 0.6739 GB, free: 7.188 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001181/0.5706, allocations: 139.9 kB / 0.6741 GB, free: 7.051 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005237/0.5712, allocations: 176.7 kB / 0.6742 GB, free: 6.879 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.433e-05/0.5713, allocations: 23.98 kB / 0.6743 GB, free: 6.855 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.001128/0.5724, allocations: 0.7235 MB / 0.675 GB, free: 6.125 MB / 478.1 MB Notification: Performance of sort global known variables: time 2.81e-07/0.5724, allocations: 4 kB / 0.675 GB, free: 6.121 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.002343/0.5748, allocations: 0.753 MB / 0.6757 GB, free: 5.367 MB / 478.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.firstOrder.y,aVRTypeII.firstOrder2.y,aVRTypeII.transferFunction.x_scaled[1],aVRTypeII.transferFunction.x_scaled[2]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (66): * Single equations (assignments): 64 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(19,24.4%) 13} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002651/0.5751, allocations: 135.2 kB / 0.6758 GB, free: 5.227 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.0107/0.5858, allocations: 4.778 MB / 0.6805 GB, free: 380 kB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 4.94e-06/0.5858, allocations: 0.75 kB / 0.6805 GB, free: 380 kB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003899/0.5897, allocations: 1.645 MB / 0.6821 GB, free: 14.69 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001141/0.5909, allocations: 115.1 kB / 0.6822 GB, free: 14.58 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004241/0.5951, allocations: 2.616 MB / 0.6848 GB, free: 11.94 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007098/0.5958, allocations: 1.133 MB / 0.6859 GB, free: 10.77 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.0007163/0.5966, allocations: 151.7 kB / 0.686 GB, free: 10.62 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002761/0.5969, allocations: 75.41 kB / 0.6861 GB, free: 10.55 MB / 494.1 MB Notification: Performance of SimCode: time 8.12e-07/0.5969, allocations: 0 / 0.6861 GB, free: 10.55 MB / 494.1 MB Notification: Performance of Templates: time 0.04177/0.6386, allocations: 26.98 MB / 0.7124 GB, free: 15.58 MB / 0.5137 GB make -j1 -f OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRI.makefile (rm -f OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRI.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRI.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRI.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRI.sim & ./OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRI -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRI.pipe 2>&1)