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.0009525/0.0009524, allocations: 98.88 kB / 16.02 MB, free: 76 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.342/1.342, allocations: 223.3 MB / 240 MB, free: 5.34 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.001139/0.00114, allocations: 180.5 kB / 291.3 MB, free: 2.012 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.497/0.497, allocations: 91.92 MB / 434.3 MB, free: 10.27 MB / 302.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004077/0.0004076, allocations: 12 kB / 0.5054 GB, free: 7.27 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4018/0.4022, allocations: 72.47 MB / 0.5762 GB, free: 36.59 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.PSATSystems.TwoArea.ThirdOrder_AVRII): time 0.014/0.4163, allocations: 22.42 MB / 0.5981 GB, free: 20.38 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.01109/0.4274, allocations: 5.105 MB / 0.6031 GB, free: 16.68 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004675/0.4321, allocations: 51.5 kB / 0.6031 GB, free: 16.68 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002656/0.4348, allocations: 0.6729 MB / 0.6038 GB, free: 16.41 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00871/0.4435, allocations: 1.726 MB / 0.6054 GB, free: 15.2 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005236/0.4488, allocations: 1.908 MB / 0.6073 GB, free: 14.11 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.009786/0.4586, allocations: 5.43 MB / 0.6126 GB, free: 11.37 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002355/0.4609, allocations: 1.131 MB / 0.6137 GB, free: 10.79 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003878/0.4648, allocations: 2.053 MB / 0.6157 GB, free: 9.801 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004477/0.4693, allocations: 2.683 MB / 0.6183 GB, free: 8.52 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001792/0.4711, allocations: 234.6 kB / 0.6186 GB, free: 8.52 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002801/0.4739, allocations: 373.4 kB / 0.6189 GB, free: 8.477 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001499/0.4755, allocations: 0.9349 MB / 0.6198 GB, free: 7.891 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003631/0.4791, allocations: 2.391 MB / 0.6222 GB, free: 6.328 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006157/0.4853, allocations: 4.631 MB / 0.6267 GB, free: 4.852 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.192e-06/0.4853, allocations: 0 / 0.6267 GB, free: 4.852 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.585e-06/0.4853, allocations: 5.219 kB / 0.6267 GB, free: 4.848 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.0002477/0.4856, allocations: 0 / 0.6267 GB, free: 4.848 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.03057/0.5161, allocations: 8.406 MB / 0.6349 GB, free: 1.012 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.26e-05/0.5162, allocations: 9.594 kB / 0.6349 GB, free: 1.012 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02733/0.5435, allocations: 4.04 MB / 0.6389 GB, free: 13.38 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007627/0.5512, allocations: 2.651 MB / 0.6415 GB, free: 10.65 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001305/0.5525, allocations: 1 MB / 0.6424 GB, free: 9.512 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001845/0.5544, allocations: 344 kB / 0.6428 GB, free: 9.176 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01542/0.5698, allocations: 4.985 MB / 0.6476 GB, free: 4.156 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001247/0.57, allocations: 3.938 kB / 0.6476 GB, free: 4.152 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001141/0.5712, allocations: 144 kB / 0.6478 GB, free: 4.012 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.427e-05/0.5713, allocations: 84 kB / 0.6478 GB, free: 3.93 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01175/0.583, allocations: 4.502 MB / 0.6522 GB, free: 15.42 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.04175/0.6248, allocations: 18.8 MB / 0.6706 GB, free: 11.44 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01492/0.6398, allocations: 5.742 MB / 0.6762 GB, free: 5.613 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.007192/0.647, allocations: 3.04 MB / 0.6792 GB, free: 2.562 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0007555/0.6478, allocations: 66.92 kB / 0.6792 GB, free: 2.496 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.008689/0.6565, allocations: 3.434 MB / 0.6826 GB, free: 15.02 MB / 494.1 MB Notification: Performance of pre-optimization done (n=382): time 9.067e-06/0.6565, allocations: 0 / 0.6826 GB, free: 15.02 MB / 494.1 MB Notification: Performance of matching and sorting (n=382): time 0.3341/0.9906, allocations: 82.05 MB / 0.7627 GB, free: 12.77 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001335/0.9908, allocations: 145.8 kB / 0.7629 GB, free: 12.6 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007131/0.9979, allocations: 3.23 MB / 0.766 GB, free: 9.352 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 0.001192/0.9992, allocations: 89.73 kB / 0.7661 GB, free: 9.258 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.001838/1.001, allocations: 1.967 MB / 0.768 GB, free: 7.277 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.002485/1.004, allocations: 1.309 MB / 0.7693 GB, free: 5.949 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001281/1.005, allocations: 342.7 kB / 0.7696 GB, free: 5.605 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 9.275e-05/1.005, allocations: 301.1 kB / 0.7699 GB, free: 5.309 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00678/1.012, allocations: 2.843 MB / 0.7727 GB, free: 2.457 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.3197/1.331, allocations: 3.46 MB / 0.7761 GB, free: 159.4 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.07686/1.408, allocations: 20.65 MB / 0.7962 GB, free: 156.8 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.874e-05/1.408, allocations: 5.469 kB / 0.7962 GB, free: 156.8 MB / 0.5606 GB Notification: Performance of matching and sorting (n=534) (initialization): time 0.06551/1.474, allocations: 20.72 MB / 0.8165 GB, free: 152.8 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 9.018e-05/1.474, allocations: 64.16 kB / 0.8165 GB, free: 152.7 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.492e-05/1.474, allocations: 13.31 kB / 0.8165 GB, free: 152.7 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02759/1.502, allocations: 8.565 MB / 0.8249 GB, free: 147.1 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00393/1.506, allocations: 0.6573 MB / 0.8256 GB, free: 146.5 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.08994/1.596, allocations: 35.28 MB / 0.86 GB, free: 112.2 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007683/1.603, allocations: 0.7523 MB / 0.8607 GB, free: 111.6 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001292/1.605, allocations: 152 kB / 0.8609 GB, free: 111.4 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.003699/1.608, allocations: 0.6721 MB / 0.8615 GB, free: 110.7 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002026/1.61, allocations: 454.3 kB / 0.862 GB, free: 110.3 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.06014/1.671, allocations: 20.64 MB / 0.8821 GB, free: 89.57 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.005e-05/1.671, allocations: 36 kB / 0.8822 GB, free: 89.54 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001026/1.671, allocations: 31.94 kB / 0.8822 GB, free: 89.51 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001179/1.671, allocations: 19.92 kB / 0.8822 GB, free: 89.49 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.06976/1.741, allocations: 25.62 MB / 0.9072 GB, free: 63.82 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.036e-05/1.741, allocations: 0 / 0.9072 GB, free: 63.82 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002467/1.743, allocations: 387.5 kB / 0.9076 GB, free: 63.45 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.02692/1.77, allocations: 8.714 MB / 0.9161 GB, free: 54.71 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001072/1.771, allocations: 79.92 kB / 0.9162 GB, free: 54.64 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.07812/1.849, allocations: 32.69 MB / 0.9481 GB, free: 21.66 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.288e-06/1.849, allocations: 3.938 kB / 0.9481 GB, free: 21.65 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.06775/1.917, allocations: 24.26 MB / 0.9718 GB, free: 13.31 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002146/1.919, allocations: 0.5532 MB / 0.9724 GB, free: 12.73 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001966/1.921, allocations: 64 kB / 0.9724 GB, free: 12.67 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005969/1.927, allocations: 0.4996 MB / 0.9729 GB, free: 12.17 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.003799/1.931, allocations: 0.7724 MB / 0.9737 GB, free: 11.39 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0008173/1.932, allocations: 99.97 kB / 0.9738 GB, free: 11.3 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.004675/1.937, allocations: 2.109 MB / 0.9758 GB, free: 9.184 MB / 0.5762 GB Notification: Performance of sort global known variables: time 6.91e-07/1.937, allocations: 0 / 0.9758 GB, free: 9.184 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.008156/1.945, allocations: 1.805 MB / 0.9776 GB, free: 7.379 MB / 0.5762 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.001005/1.946, allocations: 197.2 kB / 0.9778 GB, free: 7.176 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.02963/1.976, allocations: 10.27 MB / 0.9878 GB, free: 12.85 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 5.811e-06/1.976, allocations: 0 / 0.9878 GB, free: 12.85 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.02209/1.998, allocations: 7.066 MB / 0.9947 GB, free: 5.742 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005837/2.004, allocations: 390 kB / 0.9951 GB, free: 5.355 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2859/2.29, allocations: 9.81 MB / 1.005 GB, free: 182.9 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00163/2.291, allocations: 2.442 MB / 1.007 GB, free: 182.1 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001885/2.293, allocations: 260.9 kB / 1.007 GB, free: 182.1 MB / 0.5919 GB Notification: Performance of SimCode: time 1.092e-06/2.293, allocations: 0 / 1.007 GB, free: 182.1 MB / 0.5919 GB Notification: Performance of Templates: time 0.1154/2.408, allocations: 87.69 MB / 1.093 GB, free: 126.8 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 -lv LOG_STATS > OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.ThirdOrder_AVRII.pipe 2>&1)