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.0008984/0.0008981, allocations: 91.38 kB / 15.36 MB, free: 0.7383 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.522/1.522, allocations: 223.3 MB / 239.4 MB, free: 5.516 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.001296/0.001296, allocations: 184.4 kB / 290.6 MB, free: 2.188 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.6099/0.6099, allocations: 92.63 MB / 434.4 MB, free: 9.676 MB / 302.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004147/0.0004148, allocations: 16 kB / 0.5056 GB, free: 6.477 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4561/0.4565, allocations: 72.61 MB / 0.5765 GB, free: 36.62 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.PSATSystems.TwoArea.FifthOrder_AVRII): time 0.01609/0.4727, allocations: 22.6 MB / 0.5986 GB, free: 19.86 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.01353/0.4863, allocations: 5.144 MB / 0.6036 GB, free: 16.14 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.005678/0.492, allocations: 54.28 kB / 0.6036 GB, free: 16.14 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003579/0.4956, allocations: 0.6716 MB / 0.6043 GB, free: 15.87 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.009463/0.5051, allocations: 1.737 MB / 0.606 GB, free: 14.65 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005839/0.5109, allocations: 1.924 MB / 0.6079 GB, free: 13.55 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.01125/0.5222, allocations: 5.486 MB / 0.6132 GB, free: 10.78 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00254/0.5248, allocations: 1.133 MB / 0.6143 GB, free: 10.2 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0049/0.5297, allocations: 2.075 MB / 0.6164 GB, free: 9.207 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00572/0.5354, allocations: 2.708 MB / 0.619 GB, free: 7.918 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002066/0.5375, allocations: 241.7 kB / 0.6192 GB, free: 7.914 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00307/0.5406, allocations: 374.4 kB / 0.6196 GB, free: 7.875 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001029/0.5416, allocations: 0.9446 MB / 0.6205 GB, free: 7.285 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.004481/0.5461, allocations: 2.407 MB / 0.6229 GB, free: 5.715 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008292/0.5544, allocations: 5.88 MB / 0.6286 GB, free: 3.43 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.322e-06/0.5544, allocations: 0 / 0.6286 GB, free: 3.43 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.405e-06/0.5545, allocations: 5.312 kB / 0.6286 GB, free: 3.426 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.0002696/0.5547, allocations: 0 / 0.6286 GB, free: 3.426 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.03402/0.5888, allocations: 8.467 MB / 0.6369 GB, free: 14.82 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.457e-05/0.5888, allocations: 8.031 kB / 0.6369 GB, free: 14.81 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02918/0.618, allocations: 4.051 MB / 0.6408 GB, free: 10.75 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008651/0.6267, allocations: 2.674 MB / 0.6435 GB, free: 7.992 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001353/0.6281, allocations: 0.9924 MB / 0.6444 GB, free: 6.863 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00168/0.6298, allocations: 351.9 kB / 0.6448 GB, free: 6.52 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01328/0.6431, allocations: 5.001 MB / 0.6496 GB, free: 1.488 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.252e-05/0.6433, allocations: 3.938 kB / 0.6496 GB, free: 1.484 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000441/0.6437, allocations: 140 kB / 0.6498 GB, free: 1.348 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.293e-05/0.6438, allocations: 88 kB / 0.6499 GB, free: 1.262 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01146/0.6553, allocations: 4.509 MB / 0.6543 GB, free: 12.75 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.04974/0.7051, allocations: 18.88 MB / 0.6727 GB, free: 8.688 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01753/0.7227, allocations: 5.751 MB / 0.6783 GB, free: 2.852 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00821/0.7309, allocations: 3.056 MB / 0.6813 GB, free: 15.78 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0008748/0.7319, allocations: 70.84 kB / 0.6814 GB, free: 15.71 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.01008/0.742, allocations: 3.454 MB / 0.6847 GB, free: 12.22 MB / 494.1 MB Notification: Performance of pre-optimization done (n=384): time 1.06e-05/0.742, allocations: 0 / 0.6847 GB, free: 12.22 MB / 494.1 MB Notification: Performance of matching and sorting (n=384): time 0.364/1.106, allocations: 81.52 MB / 0.7644 GB, free: 10.5 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001472/1.106, allocations: 145.8 kB / 0.7645 GB, free: 10.33 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008515/1.115, allocations: 3.25 MB / 0.7677 GB, free: 7.062 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 0.001335/1.116, allocations: 97.73 kB / 0.7678 GB, free: 6.961 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.002409/1.119, allocations: 1.971 MB / 0.7697 GB, free: 4.977 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.003192/1.122, allocations: 1.321 MB / 0.771 GB, free: 3.637 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001693/1.123, allocations: 346.8 kB / 0.7713 GB, free: 3.289 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001609/1.124, allocations: 305.1 kB / 0.7716 GB, free: 2.988 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.008139/1.132, allocations: 2.866 MB / 0.7744 GB, free: 116 kB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.3262/1.458, allocations: 3.49 MB / 0.7778 GB, free: 159.2 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.08005/1.538, allocations: 20.89 MB / 0.7982 GB, free: 155.4 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.586e-05/1.538, allocations: 4.094 kB / 0.7982 GB, free: 155.4 MB / 0.5606 GB Notification: Performance of matching and sorting (n=542) (initialization): time 0.06676/1.605, allocations: 21.09 MB / 0.8188 GB, free: 150.1 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 7.906e-05/1.605, allocations: 63.41 kB / 0.8189 GB, free: 150 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.4e-05/1.605, allocations: 16 kB / 0.8189 GB, free: 150 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02753/1.633, allocations: 8.488 MB / 0.8272 GB, free: 143.6 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004217/1.637, allocations: 0.6917 MB / 0.8278 GB, free: 143 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.08453/1.722, allocations: 34.9 MB / 0.8619 GB, free: 108.9 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007044/1.729, allocations: 0.7517 MB / 0.8627 GB, free: 108.3 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009871/1.73, allocations: 156 kB / 0.8628 GB, free: 108.1 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.002606/1.732, allocations: 0.672 MB / 0.8635 GB, free: 107.4 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001319/1.734, allocations: 454.4 kB / 0.8639 GB, free: 107 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.05905/1.793, allocations: 20.67 MB / 0.8841 GB, free: 86.25 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.995e-05/1.793, allocations: 37.81 kB / 0.8841 GB, free: 86.21 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.378e-05/1.793, allocations: 33.97 kB / 0.8842 GB, free: 86.18 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001316/1.793, allocations: 19.92 kB / 0.8842 GB, free: 86.16 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.06762/1.861, allocations: 25.69 MB / 0.9093 GB, free: 60.42 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.719e-05/1.861, allocations: 0 / 0.9093 GB, free: 60.42 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00271/1.863, allocations: 391.6 kB / 0.9096 GB, free: 60.04 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.02753/1.891, allocations: 8.707 MB / 0.9181 GB, free: 51.32 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001302/1.892, allocations: 75.98 kB / 0.9182 GB, free: 51.24 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.07754/1.97, allocations: 32.67 MB / 0.9501 GB, free: 18.29 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.389e-06/1.97, allocations: 8 kB / 0.9501 GB, free: 18.28 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.07055/2.04, allocations: 24.31 MB / 0.9739 GB, free: 9.891 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002367/2.043, allocations: 0.5667 MB / 0.9744 GB, free: 9.301 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00188/2.045, allocations: 64 kB / 0.9745 GB, free: 9.238 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.006267/2.051, allocations: 0.5074 MB / 0.975 GB, free: 8.73 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.003892/2.055, allocations: 0.7685 MB / 0.9757 GB, free: 7.961 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005737/2.056, allocations: 100 kB / 0.9758 GB, free: 7.863 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.004193/2.06, allocations: 2.133 MB / 0.9779 GB, free: 5.727 MB / 0.5762 GB Notification: Performance of sort global known variables: time 3.5e-07/2.06, allocations: 0 / 0.9779 GB, free: 5.727 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.007776/2.068, allocations: 1.806 MB / 0.9797 GB, free: 3.918 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.0008352/2.068, allocations: 199.7 kB / 0.9799 GB, free: 3.711 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.03397/2.102, allocations: 10.34 MB / 0.9899 GB, free: 9.32 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 1.498e-05/2.103, allocations: 1.109 kB / 0.99 GB, free: 9.32 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.3372/2.44, allocations: 7.087 MB / 0.9969 GB, free: 185.7 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005786/2.446, allocations: 392.8 kB / 0.9972 GB, free: 185.7 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0175/2.463, allocations: 9.929 MB / 1.007 GB, free: 181 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001959/2.465, allocations: 2.454 MB / 1.009 GB, free: 180.2 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.001995/2.467, allocations: 377.4 kB / 1.01 GB, free: 180.2 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009621/2.468, allocations: 235 kB / 1.01 GB, free: 180.2 MB / 0.5919 GB Notification: Performance of SimCode: time 1.062e-06/2.468, allocations: 0 / 1.01 GB, free: 180.2 MB / 0.5919 GB Notification: Performance of Templates: time 0.1383/2.606, allocations: 80.67 MB / 1.089 GB, free: 130.1 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)