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.001322/0.001322, allocations: 108 kB / 15.61 MB, free: 152 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.383/1.383, allocations: 222.9 MB / 239.2 MB, free: 4.605 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.001513/0.001513, allocations: 195.6 kB / 289.5 MB, free: 2.328 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.5003/0.5003, allocations: 91.89 MB / 431.6 MB, free: 9.309 MB / 302.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001753/0.001753, allocations: 79.88 kB / 0.5019 GB, free: 7.777 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4829/0.4846, allocations: 71.27 MB / 0.5715 GB, free: 36.65 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.PSATSystems.TwoArea.FifthOrder_AVRII): time 0.02268/0.5074, allocations: 21.92 MB / 0.5929 GB, free: 21.49 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.01471/0.5221, allocations: 4.89 MB / 0.5976 GB, free: 17.96 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00561/0.5278, allocations: 45.72 kB / 0.5977 GB, free: 17.96 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004022/0.5318, allocations: 0.8881 MB / 0.5986 GB, free: 17.47 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0106/0.5425, allocations: 2.043 MB / 0.6005 GB, free: 16.02 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.006629/0.5492, allocations: 2.069 MB / 0.6026 GB, free: 14.94 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.01356/0.5628, allocations: 5.726 MB / 0.6082 GB, free: 12 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003937/0.5667, allocations: 1.32 MB / 0.6094 GB, free: 11.36 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005408/0.5722, allocations: 2.339 MB / 0.6117 GB, free: 10.16 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00817/0.5804, allocations: 2.97 MB / 0.6146 GB, free: 8.652 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.004529/0.585, allocations: 443.7 kB / 0.6151 GB, free: 8.652 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.006707/0.5917, allocations: 0.5818 MB / 0.6156 GB, free: 8.613 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003842/0.5956, allocations: 1.16 MB / 0.6168 GB, free: 7.82 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.007509/0.6031, allocations: 2.632 MB / 0.6193 GB, free: 6.051 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01184/0.615, allocations: 6.201 MB / 0.6254 GB, free: 3.156 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.406e-06/0.615, allocations: 1.125 kB / 0.6254 GB, free: 3.156 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.004e-06/0.615, allocations: 0 / 0.6254 GB, free: 3.156 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.0003677/0.6154, allocations: 0 / 0.6254 GB, free: 3.156 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.04036/0.6558, allocations: 9.224 MB / 0.6344 GB, free: 14.08 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.704e-05/0.6558, allocations: 8.031 kB / 0.6344 GB, free: 14.07 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0285/0.6843, allocations: 4.013 MB / 0.6383 GB, free: 10.05 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008268/0.6926, allocations: 2.678 MB / 0.6409 GB, free: 7.289 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001258/0.6939, allocations: 0.9574 MB / 0.6419 GB, free: 6.195 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00196/0.6959, allocations: 344 kB / 0.6422 GB, free: 5.859 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01557/0.7115, allocations: 4.743 MB / 0.6468 GB, free: 1.086 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.347e-05/0.7116, allocations: 3.938 kB / 0.6468 GB, free: 1.082 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000611/0.7123, allocations: 140 kB / 0.647 GB, free: 0.9453 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.563e-05/0.7123, allocations: 84 kB / 0.647 GB, free: 0.8633 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01046/0.7228, allocations: 4.252 MB / 0.6512 GB, free: 12.61 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.04122/0.7641, allocations: 18.39 MB / 0.6692 GB, free: 9.039 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01389/0.778, allocations: 5.013 MB / 0.674 GB, free: 3.945 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.006854/0.7849, allocations: 2.794 MB / 0.6768 GB, free: 1.141 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0007421/0.7857, allocations: 70.92 kB / 0.6768 GB, free: 1.07 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.008001/0.7937, allocations: 3.181 MB / 0.68 GB, free: 13.85 MB / 494.1 MB Notification: Performance of pre-optimization done (n=384): time 9.738e-06/0.7937, allocations: 4 kB / 0.68 GB, free: 13.84 MB / 494.1 MB Notification: Performance of matching and sorting (n=384): time 0.3188/1.113, allocations: 67.77 MB / 0.7461 GB, free: 9.883 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001245/1.113, allocations: 141.8 kB / 0.7463 GB, free: 9.719 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00787/1.121, allocations: 3.25 MB / 0.7494 GB, free: 6.449 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 0.00146/1.122, allocations: 101.6 kB / 0.7495 GB, free: 6.344 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.001902/1.124, allocations: 1.97 MB / 0.7515 GB, free: 4.359 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.002609/1.127, allocations: 1.328 MB / 0.7528 GB, free: 3.012 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003678/1.13, allocations: 0.6783 MB / 0.7534 GB, free: 2.32 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001122/1.13, allocations: 301.1 kB / 0.7537 GB, free: 2.023 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006699/1.137, allocations: 2.605 MB / 0.7563 GB, free: 15.41 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00731/1.144, allocations: 3.229 MB / 0.7594 GB, free: 11.96 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.3954/1.54, allocations: 19.06 MB / 0.778 GB, free: 154 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.059e-05/1.54, allocations: 6.484 kB / 0.778 GB, free: 154 MB / 0.5606 GB Notification: Performance of matching and sorting (n=542) (initialization): time 0.05968/1.6, allocations: 17.29 MB / 0.7949 GB, free: 152.2 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 7.853e-05/1.6, allocations: 68.83 kB / 0.795 GB, free: 152.1 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.154e-05/1.6, allocations: 17.66 kB / 0.795 GB, free: 152.1 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02738/1.627, allocations: 7.172 MB / 0.802 GB, free: 150.8 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003823/1.631, allocations: 0.689 MB / 0.8027 GB, free: 150.8 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0817/1.713, allocations: 33.34 MB / 0.8352 GB, free: 133.1 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007974/1.721, allocations: 0.6219 MB / 0.8358 GB, free: 132.5 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009726/1.722, allocations: 156 kB / 0.836 GB, free: 132.4 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.002707/1.725, allocations: 0.6674 MB / 0.8366 GB, free: 131.7 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001666/1.726, allocations: 458.3 kB / 0.8371 GB, free: 131.2 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.05196/1.778, allocations: 16.87 MB / 0.8536 GB, free: 114.3 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.08e-05/1.778, allocations: 36 kB / 0.8536 GB, free: 114.3 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.26e-05/1.778, allocations: 28 kB / 0.8536 GB, free: 114.2 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001252/1.778, allocations: 26.55 kB / 0.8536 GB, free: 114.2 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.05962/1.838, allocations: 21.88 MB / 0.875 GB, free: 92.28 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.609e-05/1.838, allocations: 3.984 kB / 0.875 GB, free: 92.28 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002668/1.841, allocations: 395.2 kB / 0.8754 GB, free: 91.89 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.02546/1.866, allocations: 7.392 MB / 0.8826 GB, free: 84.49 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001249/1.868, allocations: 67.98 kB / 0.8827 GB, free: 84.43 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.07857/1.946, allocations: 31.82 MB / 0.9137 GB, free: 52.3 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.651e-06/1.946, allocations: 2.5 kB / 0.9138 GB, free: 52.3 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.05797/2.004, allocations: 20.25 MB / 0.9335 GB, free: 31.98 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001707/2.006, allocations: 0.5532 MB / 0.9341 GB, free: 31.4 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001822/2.008, allocations: 68 kB / 0.9341 GB, free: 31.33 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00545/2.013, allocations: 383.5 kB / 0.9345 GB, free: 30.96 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.003567/2.017, allocations: 0.7844 MB / 0.9353 GB, free: 30.17 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0008435/2.018, allocations: 92.86 kB / 0.9354 GB, free: 30.08 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.003741/2.021, allocations: 2.137 MB / 0.9374 GB, free: 27.94 MB / 0.5606 GB Notification: Performance of sort global known variables: time 5.01e-07/2.022, allocations: 0 / 0.9374 GB, free: 27.94 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.008176/2.03, allocations: 1.81 MB / 0.9392 GB, free: 26.13 MB / 0.5606 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.001288/2.031, allocations: 193.7 kB / 0.9394 GB, free: 25.94 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.03237/2.063, allocations: 9.33 MB / 0.9485 GB, free: 16.56 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 9.668e-06/2.063, allocations: 3.938 kB / 0.9485 GB, free: 16.56 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.02094/2.084, allocations: 6.195 MB / 0.9546 GB, free: 10.31 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006276/2.091, allocations: 384.6 kB / 0.9549 GB, free: 9.934 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01941/2.11, allocations: 8.065 MB / 0.9628 GB, free: 1.867 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00308/2.113, allocations: 2.455 MB / 0.9652 GB, free: 15.38 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.00262/2.116, allocations: 379.1 kB / 0.9656 GB, free: 15 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001506/2.117, allocations: 255.4 kB / 0.9658 GB, free: 14.75 MB / 0.5762 GB Notification: Performance of SimCode: time 1.162e-06/2.117, allocations: 0 / 0.9658 GB, free: 14.75 MB / 0.5762 GB Notification: Performance of Templates: time 0.4134/2.531, allocations: 89.39 MB / 1.053 GB, free: 161.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)