Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.FourthOrder_AVRII.conf.json 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/Modelica 4.0.0+maint.om/package.mo", uses=false) 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/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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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 Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: translateModel(OpenIPSL.Examples.PSATSystems.TwoArea.FourthOrder_AVRII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.FourthOrder_AVRII") translateModel(OpenIPSL.Examples.PSATSystems.TwoArea.FourthOrder_AVRII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.FourthOrder_AVRII") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.006816/0.006816, allocations: 169.1 kB / 15.11 MB, free: 5.973 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.191/1.191, allocations: 223.2 MB / 239 MB, free: 60 kB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009033/0.0009032, allocations: 94.36 kB / 290.2 MB, free: 4.48 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.4392/0.4392, allocations: 79.44 MB / 420.8 MB, free: 36.32 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003211/0.0003211, allocations: 8 kB / 0.489 GB, free: 6.363 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1113/0.1117, allocations: 69.51 MB / 0.5569 GB, free: 0.7891 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3022/0.4139, allocations: 103 MB / 0.6575 GB, free: 14.28 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000202/0.4141, allocations: 89.55 kB / 0.6576 GB, free: 14.2 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2369/0.651, allocations: 102.6 MB / 0.7578 GB, free: 7.168 MB / 0.5417 GB Notification: Performance of FrontEnd: time 1.703e-06/0.6511, allocations: 0 / 0.7578 GB, free: 7.168 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 0.0001952/0.6513, allocations: 87.94 kB / 0.7579 GB, free: 7.082 MB / 0.5417 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 893 * Number of variables: 893 Notification: Performance of Generate backend data structure: time 0.01631/0.6676, allocations: 6.585 MB / 0.7643 GB, free: 416 kB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 3.685e-05/0.6676, allocations: 11.97 kB / 0.7643 GB, free: 404 kB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01511/0.6828, allocations: 2.807 MB / 0.767 GB, free: 13.58 MB / 0.5573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005345/0.6881, allocations: 2.317 MB / 0.7693 GB, free: 11.18 MB / 0.5573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008103/0.689, allocations: 0.9808 MB / 0.7703 GB, free: 10.07 MB / 0.5573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006605/0.6896, allocations: 348 kB / 0.7706 GB, free: 9.727 MB / 0.5573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008429/0.6981, allocations: 4.934 MB / 0.7754 GB, free: 4.762 MB / 0.5573 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.077e-05/0.6981, allocations: 3.938 kB / 0.7754 GB, free: 4.758 MB / 0.5573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003705/0.6985, allocations: 144 kB / 0.7756 GB, free: 4.617 MB / 0.5573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.014e-05/0.6986, allocations: 84 kB / 0.7756 GB, free: 4.535 MB / 0.5573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007674/0.7062, allocations: 4.482 MB / 0.78 GB, free: 48 kB / 0.5573 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 preOpt removeSimpleEquations (simulation): time 0.2761/0.9824, allocations: 18.61 MB / 0.7982 GB, free: 91.74 MB / 0.573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01174/0.9941, allocations: 5.665 MB / 0.8037 GB, free: 91.3 MB / 0.573 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004279/0.9946, allocations: 72.02 kB / 0.8038 GB, free: 91.29 MB / 0.573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.006372/1.001, allocations: 3.417 MB / 0.8071 GB, free: 91.15 MB / 0.573 GB Notification: Performance of pre-optimization done (n=383): time 5.35e-06/1.001, allocations: 0 / 0.8071 GB, free: 91.15 MB / 0.573 GB Notification: Performance of matching and sorting (n=383): time 0.2867/1.288, allocations: 79.66 MB / 0.8849 GB, free: 87.4 MB / 0.573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.84e-05/1.288, allocations: 144.6 kB / 0.8851 GB, free: 87.27 MB / 0.573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003964/1.292, allocations: 2.709 MB / 0.8877 GB, free: 87.01 MB / 0.573 GB Notification: Performance of collectPreVariables (initialization): time 0.001263/1.293, allocations: 89.8 kB / 0.8878 GB, free: 86.98 MB / 0.573 GB Notification: Performance of collectInitialEqns (initialization): time 0.001429/1.295, allocations: 2 MB / 0.8897 GB, free: 86.57 MB / 0.573 GB Notification: Performance of collectInitialBindings (initialization): time 0.001966/1.297, allocations: 1.296 MB / 0.891 GB, free: 85.9 MB / 0.573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002962/1.297, allocations: 74.97 kB / 0.8911 GB, free: 85.9 MB / 0.573 GB Notification: Performance of setup shared object (initialization): time 0.0001587/1.297, allocations: 446.7 kB / 0.8915 GB, free: 85.59 MB / 0.573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004711/1.302, allocations: 2.66 MB / 0.8941 GB, free: 85.54 MB / 0.573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004997/1.307, allocations: 3.233 MB / 0.8973 GB, free: 84.93 MB / 0.573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005174/1.312, allocations: 2.913 MB / 0.9001 GB, free: 84.75 MB / 0.573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.01e-05/1.312, allocations: 3.125 kB / 0.9001 GB, free: 84.75 MB / 0.573 GB Notification: Performance of matching and sorting (n=468) (initialization): time 0.05408/1.366, allocations: 20.17 MB / 0.9198 GB, free: 77.95 MB / 0.573 GB Notification: Performance of prepare postOptimizeDAE: time 7.865e-05/1.366, allocations: 63.41 kB / 0.9199 GB, free: 77.88 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.542e-05/1.366, allocations: 16 kB / 0.9199 GB, free: 77.86 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02465/1.391, allocations: 8.552 MB / 0.9282 GB, free: 71.33 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002759/1.394, allocations: 0.5665 MB / 0.9288 GB, free: 70.82 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.074/1.468, allocations: 37.07 MB / 0.965 GB, free: 34.88 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005488/1.473, allocations: 0.7172 MB / 0.9657 GB, free: 34.23 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004019/1.474, allocations: 136 kB / 0.9658 GB, free: 34.1 MB / 0.573 GB Warning: Assuming fixed start value for the following 5 variables: order4.w:VARIABLE(start = 1.0 fixed = true ) "Rotor speed [pu]" type: Real order3.w:VARIABLE(start = 1.0 fixed = true ) "Rotor speed [pu]" type: Real aVRTypeII.firstOrder2.y:VARIABLE(start = aVRTypeII.firstOrder2.y_start fixed = true ) "Connector of Real output signal" type: Real order4.e1d:VARIABLE(start = order4.e1d0 unit = "1" fixed = true ) "d-axis transient voltage" type: Real order4.e1q:VARIABLE(start = order4.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 ($whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (331): * Single equations (assignments): 328 * 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 {93 45} Notification: Performance of prepare postOptimizeDAE: time 0.00172/1.475, allocations: 0.6549 MB / 0.9665 GB, free: 33.48 MB / 0.573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007548/1.476, allocations: 458.3 kB / 0.9669 GB, free: 33.03 MB / 0.573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.05131/1.527, allocations: 20.55 MB / 0.987 GB, free: 12.53 MB / 0.573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.438e-05/1.528, allocations: 36 kB / 0.987 GB, free: 12.49 MB / 0.573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.576e-05/1.528, allocations: 28 kB / 0.987 GB, free: 12.46 MB / 0.573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.292e-05/1.528, allocations: 19.92 kB / 0.987 GB, free: 12.45 MB / 0.573 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.05994/1.588, allocations: 25.52 MB / 1.012 GB, free: 2.945 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.133e-05/1.588, allocations: 2.75 kB / 1.012 GB, free: 2.945 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002361/1.59, allocations: 391.5 kB / 1.012 GB, free: 2.562 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.2633/1.853, allocations: 8.629 MB / 1.021 GB, free: 97.45 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000782/1.854, allocations: 72.28 kB / 1.021 GB, free: 97.45 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.07153/1.926, allocations: 34.35 MB / 1.054 GB, free: 94.54 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.407e-06/1.926, allocations: 3.953 kB / 1.054 GB, free: 94.54 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.06138/1.987, allocations: 24.19 MB / 1.078 GB, free: 93.67 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001369/1.989, allocations: 0.5574 MB / 1.079 GB, free: 93.34 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008147/1.989, allocations: 68.75 kB / 1.079 GB, free: 93.34 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004092/1.994, allocations: 0.5033 MB / 1.079 GB, free: 93.31 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.003059/1.997, allocations: 0.782 MB / 1.08 GB, free: 93.3 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003515/1.997, allocations: 94.78 kB / 1.08 GB, free: 93.3 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 0.002552/1.999, allocations: 2.07 MB / 1.082 GB, free: 93.12 MB / 0.5886 GB Notification: Performance of sort global known variables: time 4.71e-07/2, allocations: 2.438 kB / 1.082 GB, free: 93.12 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.00465/2.004, allocations: 1.758 MB / 1.084 GB, free: 93.05 MB / 0.5886 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 11 (order3.delta,order3.w,order3.e1q,order4.delta,order4.w,order4.e1q,order4.e1d,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 (247): * Single equations (assignments): 244 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(100,5.5%) 36} * Non-linear torn systems: 1 {1 6} Notification: Performance of Backend phase and start with SimCode phase: time 0.0005531/2.005, allocations: 221 kB / 1.084 GB, free: 92.96 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.02251/2.027, allocations: 9.949 MB / 1.094 GB, free: 91.2 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 5.931e-06/2.027, allocations: 0 / 1.094 GB, free: 91.2 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 0.0169/2.044, allocations: 7.057 MB / 1.101 GB, free: 89.04 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002008/2.046, allocations: 306.9 kB / 1.101 GB, free: 88.84 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01118/2.057, allocations: 9.641 MB / 1.11 GB, free: 83.05 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001393/2.059, allocations: 2.539 MB / 1.113 GB, free: 82.18 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 0.001287/2.06, allocations: 301.2 kB / 1.113 GB, free: 82.12 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007031/2.061, allocations: 198.2 kB / 1.113 GB, free: 82.11 MB / 0.5886 GB Notification: Performance of SimCode: time 9.42e-07/2.061, allocations: 0 / 1.113 GB, free: 82.11 MB / 0.5886 GB Notification: Performance of Templates: time 0.08846/2.149, allocations: 78.44 MB / 1.19 GB, free: 42.13 MB / 0.5886 GB make -j1 -f OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.FourthOrder_AVRII.makefile (rm -f OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.FourthOrder_AVRII.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.FourthOrder_AVRII.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.FourthOrder_AVRII.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.FourthOrder_AVRII.sim & ./OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.FourthOrder_AVRII -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.FourthOrder_AVRII.pipe 2>&1)