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/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.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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009544/0.0009544, allocations: 99.62 kB / 15.05 MB, free: 1.105 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.403/1.403, allocations: 223.2 MB / 238.9 MB, free: 5.664 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.001135/0.001135, allocations: 177 kB / 290.2 MB, free: 2.359 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.4906/0.4906, allocations: 79.44 MB / 420.7 MB, free: 3.965 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004028/0.0004028, allocations: 15.98 kB / 0.489 GB, free: 5.598 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1665/0.1669, allocations: 69.53 MB / 0.5569 GB, free: 20 kB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.PSATSystems.TwoArea.FourthOrder_AVRII): time 0.3138/0.4808, allocations: 19.49 MB / 0.5759 GB, free: 29.68 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.01319/0.494, allocations: 5.195 MB / 0.581 GB, free: 25.91 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.006584/0.5007, allocations: 51.91 kB / 0.581 GB, free: 25.91 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003823/0.5045, allocations: 0.6126 MB / 0.5816 GB, free: 25.64 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.009333/0.5139, allocations: 2.004 MB / 0.5836 GB, free: 24.21 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005588/0.5195, allocations: 1.754 MB / 0.5853 GB, free: 23.35 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.009465/0.529, allocations: 3.74 MB / 0.589 GB, free: 21.27 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003246/0.5323, allocations: 1.062 MB / 0.59 GB, free: 20.79 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004229/0.5365, allocations: 2.013 MB / 0.592 GB, free: 19.82 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005031/0.5416, allocations: 2.518 MB / 0.5944 GB, free: 18.65 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002391/0.544, allocations: 234.6 kB / 0.5946 GB, free: 18.65 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003238/0.5473, allocations: 359.9 kB / 0.595 GB, free: 18.61 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00218/0.5495, allocations: 0.8905 MB / 0.5959 GB, free: 18.07 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00301/0.5525, allocations: 0.8352 MB / 0.5967 GB, free: 17.57 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00829/0.5608, allocations: 4.409 MB / 0.601 GB, free: 16.17 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.688e-06/0.5608, allocations: 0 / 0.601 GB, free: 16.17 MB / 430.1 MB Notification: Performance of FrontEnd: time 3.807e-06/0.5608, allocations: 0 / 0.601 GB, free: 16.17 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.0003938/0.5612, allocations: 1.125 kB / 0.601 GB, free: 16.17 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: 893 * Number of variables: 893 Notification: Performance of Generate backend data structure: time 0.03621/0.5975, allocations: 8.449 MB / 0.6092 GB, free: 13.04 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.49e-05/0.5975, allocations: 8.156 kB / 0.6092 GB, free: 13.04 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02794/0.6255, allocations: 4.051 MB / 0.6132 GB, free: 12.32 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009884/0.6354, allocations: 2.49 MB / 0.6156 GB, free: 10.86 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001227/0.6367, allocations: 0.9974 MB / 0.6166 GB, free: 10.03 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001968/0.6387, allocations: 350.6 kB / 0.6169 GB, free: 9.91 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01438/0.6531, allocations: 4.927 MB / 0.6217 GB, free: 8.156 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.888e-05/0.6532, allocations: 0 / 0.6217 GB, free: 8.156 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004554/0.6537, allocations: 141.6 kB / 0.6219 GB, free: 8.047 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.724e-05/0.6538, allocations: 87.52 kB / 0.622 GB, free: 8.043 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01172/0.6655, allocations: 4.483 MB / 0.6263 GB, free: 5.82 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.04219/0.7077, allocations: 19.03 MB / 0.6449 GB, free: 1.551 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01425/0.722, allocations: 5.72 MB / 0.6505 GB, free: 11.75 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0009362/0.723, allocations: 70.89 kB / 0.6506 GB, free: 11.68 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00831/0.7314, allocations: 3.415 MB / 0.6539 GB, free: 8.223 MB / 462.1 MB Notification: Performance of pre-optimization done (n=383): time 1.16e-05/0.7314, allocations: 1.312 kB / 0.6539 GB, free: 8.223 MB / 462.1 MB Notification: Performance of matching and sorting (n=383): time 0.3117/1.043, allocations: 81.45 MB / 0.7335 GB, free: 6.582 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001088/1.043, allocations: 149.8 kB / 0.7336 GB, free: 6.41 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005932/1.049, allocations: 3.183 MB / 0.7367 GB, free: 3.207 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 0.001364/1.051, allocations: 93.7 kB / 0.7368 GB, free: 3.109 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.001501/1.052, allocations: 1.966 MB / 0.7387 GB, free: 1.129 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.002305/1.054, allocations: 1.313 MB / 0.74 GB, free: 15.79 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003819/1.055, allocations: 80 kB / 0.7401 GB, free: 15.71 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0002342/1.055, allocations: 471 kB / 0.7405 GB, free: 15.25 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005905/1.061, allocations: 2.829 MB / 0.7433 GB, free: 12.41 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006447/1.067, allocations: 3.444 MB / 0.7467 GB, free: 8.746 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006098/1.074, allocations: 3.112 MB / 0.7497 GB, free: 5.617 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.953e-05/1.074, allocations: 4 kB / 0.7497 GB, free: 5.613 MB / 0.545 GB Notification: Performance of matching and sorting (n=538) (initialization): time 0.06009/1.134, allocations: 20.73 MB / 0.7699 GB, free: 0.8359 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 9.12e-05/1.134, allocations: 67.41 kB / 0.77 GB, free: 0.7578 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.678e-05/1.134, allocations: 12 kB / 0.77 GB, free: 0.7461 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.3417/1.476, allocations: 8.605 MB / 0.7784 GB, free: 155.9 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003685/1.479, allocations: 0.6702 MB / 0.7791 GB, free: 155.9 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.09438/1.574, allocations: 37.25 MB / 0.8155 GB, free: 149.5 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00669/1.58, allocations: 0.7501 MB / 0.8162 GB, free: 149.3 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008109/1.581, allocations: 153.3 kB / 0.8163 GB, free: 149.3 MB / 0.5606 GB Warning: Assuming fixed start value for the following 5 variables: order4.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 aVRTypeII.firstOrder2.y:VARIABLE(flow=false 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 (401): * Single equations (assignments): 398 * 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.001968/1.583, allocations: 0.6808 MB / 0.817 GB, free: 148.8 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001113/1.584, allocations: 454.2 kB / 0.8174 GB, free: 148.5 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.05248/1.637, allocations: 20.61 MB / 0.8376 GB, free: 139.1 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.671e-05/1.637, allocations: 39.8 kB / 0.8376 GB, free: 139.1 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.791e-05/1.637, allocations: 32 kB / 0.8376 GB, free: 139 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001044/1.637, allocations: 15.33 kB / 0.8376 GB, free: 139 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.06228/1.699, allocations: 25.65 MB / 0.8627 GB, free: 116.4 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.28e-05/1.699, allocations: 4.938 kB / 0.8627 GB, free: 116.4 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00237/1.702, allocations: 395.5 kB / 0.8631 GB, free: 116.1 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.02483/1.727, allocations: 8.672 MB / 0.8715 GB, free: 107.4 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001165/1.728, allocations: 75.98 kB / 0.8716 GB, free: 107.3 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.07596/1.804, allocations: 34.55 MB / 0.9054 GB, free: 72.48 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.35e-06/1.804, allocations: 5.125 kB / 0.9054 GB, free: 72.47 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.06199/1.866, allocations: 24.24 MB / 0.929 GB, free: 48.14 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001978/1.868, allocations: 0.5571 MB / 0.9296 GB, free: 47.56 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002281/1.87, allocations: 64.55 kB / 0.9296 GB, free: 47.5 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.006263/1.876, allocations: 0.5043 MB / 0.9301 GB, free: 46.99 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.003699/1.88, allocations: 0.7879 MB / 0.9309 GB, free: 46.2 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0007962/1.881, allocations: 95.97 kB / 0.931 GB, free: 46.11 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.003147/1.884, allocations: 2.07 MB / 0.933 GB, free: 44.04 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.8e-07/1.884, allocations: 1.422 kB / 0.933 GB, free: 44.04 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.009045/1.893, allocations: 1.806 MB / 0.9348 GB, free: 42.23 MB / 0.5606 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 {(98,5.5%) 38} * Non-linear torn systems: 1 {1 6} Notification: Performance of Backend phase and start with SimCode phase: time 0.001054/1.894, allocations: 198.7 kB / 0.935 GB, free: 42.03 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0256/1.92, allocations: 10.26 MB / 0.945 GB, free: 31.73 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 7.273e-06/1.92, allocations: 0 / 0.945 GB, free: 31.73 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.01911/1.939, allocations: 7.026 MB / 0.9518 GB, free: 24.67 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003694/1.943, allocations: 314.7 kB / 0.9521 GB, free: 24.36 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01422/1.957, allocations: 9.676 MB / 0.9616 GB, free: 14.64 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001442/1.959, allocations: 2.542 MB / 0.9641 GB, free: 12.07 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.001662/1.96, allocations: 375.3 kB / 0.9644 GB, free: 11.71 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007244/1.961, allocations: 235.4 kB / 0.9647 GB, free: 11.48 MB / 0.5606 GB Notification: Performance of SimCode: time 9.82e-07/1.961, allocations: 0 / 0.9647 GB, free: 11.48 MB / 0.5606 GB Notification: Performance of Templates: time 0.4154/2.376, allocations: 80.55 MB / 1.043 GB, free: 159.5 MB / 0.5762 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)