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.00128/0.00128, allocations: 103.3 kB / 16.41 MB, free: 6.5 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.32/1.32, allocations: 222.9 MB / 240.1 MB, free: 4.562 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.001626/0.001626, allocations: 184.5 kB / 290.4 MB, free: 2.277 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.5163/0.5163, allocations: 91.9 MB / 432.4 MB, free: 9.137 MB / 302.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001459/0.001459, allocations: 80.27 kB / 0.5735 GB, free: 33.54 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1422/0.1436, allocations: 71.27 MB / 0.6431 GB, free: 3.457 MB / 446.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.PSATSystems.TwoArea.ThirdOrder_AVRII): time 0.01786/0.1615, allocations: 21.75 MB / 0.6644 GB, free: 13.62 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.01098/0.1726, allocations: 4.841 MB / 0.6691 GB, free: 8.754 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004033/0.1766, allocations: 44 kB / 0.6691 GB, free: 8.711 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002201/0.1789, allocations: 0.8789 MB / 0.67 GB, free: 7.824 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006477/0.1854, allocations: 2.032 MB / 0.672 GB, free: 5.781 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004682/0.1901, allocations: 2.056 MB / 0.674 GB, free: 3.758 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.007152/0.1972, allocations: 5.705 MB / 0.6795 GB, free: 14.03 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002058/0.1993, allocations: 1.321 MB / 0.6808 GB, free: 12.66 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003295/0.2026, allocations: 2.326 MB / 0.6831 GB, free: 10.32 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00406/0.2067, allocations: 2.939 MB / 0.686 GB, free: 7.367 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 0.00143/0.2081, allocations: 436 kB / 0.6864 GB, free: 6.941 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002366/0.2105, allocations: 0.5741 MB / 0.687 GB, free: 6.367 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0009458/0.2115, allocations: 1.155 MB / 0.6881 GB, free: 5.207 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002355/0.2138, allocations: 2.617 MB / 0.6906 GB, free: 2.574 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006144/0.22, allocations: 6.212 MB / 0.6967 GB, free: 12.34 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 5.13e-06/0.22, allocations: 0 / 0.6967 GB, free: 12.34 MB / 0.4981 GB Notification: Performance of FrontEnd: time 2.164e-06/0.22, allocations: 0 / 0.6967 GB, free: 12.34 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 0.000131/0.2202, allocations: 0 / 0.6967 GB, free: 12.34 MB / 0.4981 GB 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.03124/0.2514, allocations: 9.149 MB / 0.7056 GB, free: 3.098 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.711e-05/0.2515, allocations: 12.03 kB / 0.7057 GB, free: 3.086 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0265/0.278, allocations: 4.009 MB / 0.7096 GB, free: 15.07 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006822/0.2848, allocations: 2.658 MB / 0.7122 GB, free: 12.33 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001121/0.286, allocations: 0.9495 MB / 0.7131 GB, free: 11.24 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001523/0.2875, allocations: 351.9 kB / 0.7134 GB, free: 10.9 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01319/0.3008, allocations: 4.719 MB / 0.718 GB, free: 6.148 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.963e-05/0.3009, allocations: 7.938 kB / 0.718 GB, free: 6.141 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0008238/0.3017, allocations: 144 kB / 0.7182 GB, free: 6 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.381e-05/0.3018, allocations: 84 kB / 0.7183 GB, free: 5.918 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01006/0.3119, allocations: 4.244 MB / 0.7224 GB, free: 1.668 MB / 0.5137 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.03007/0.3419, allocations: 18.19 MB / 0.7402 GB, free: 14.3 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01191/0.3539, allocations: 4.996 MB / 0.745 GB, free: 9.207 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005152/0.359, allocations: 2.779 MB / 0.7478 GB, free: 6.418 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003867/0.3594, allocations: 70.83 kB / 0.7478 GB, free: 6.352 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.006005/0.3654, allocations: 3.169 MB / 0.7509 GB, free: 3.141 MB / 0.545 GB Notification: Performance of pre-optimization done (n=382): time 4.769e-06/0.3655, allocations: 0 / 0.7509 GB, free: 3.141 MB / 0.545 GB Notification: Performance of matching and sorting (n=382): time 0.6424/1.008, allocations: 68.2 MB / 0.8175 GB, free: 83.54 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.732e-05/1.008, allocations: 145.8 kB / 0.8177 GB, free: 83.37 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003928/1.012, allocations: 3.225 MB / 0.8208 GB, free: 81 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 0.0009286/1.013, allocations: 87.08 kB / 0.8209 GB, free: 80.96 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.001095/1.014, allocations: 1.975 MB / 0.8228 GB, free: 79.66 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.001432/1.015, allocations: 1.307 MB / 0.8241 GB, free: 78.36 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001216/1.017, allocations: 0.6742 MB / 0.8248 GB, free: 77.67 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 5.663e-05/1.017, allocations: 301.1 kB / 0.825 GB, free: 77.38 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004956/1.022, allocations: 2.577 MB / 0.8276 GB, free: 74.79 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005281/1.027, allocations: 3.205 MB / 0.8307 GB, free: 71.36 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.06595/1.093, allocations: 18.75 MB / 0.849 GB, free: 52.36 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.517e-05/1.093, allocations: 4 kB / 0.849 GB, free: 52.35 MB / 0.5606 GB Notification: Performance of matching and sorting (n=534) (initialization): time 0.05706/1.15, allocations: 16.94 MB / 0.8655 GB, free: 35.37 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 7.935e-05/1.15, allocations: 63.41 kB / 0.8656 GB, free: 35.29 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.121e-05/1.15, allocations: 12 kB / 0.8656 GB, free: 35.28 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02476/1.175, allocations: 7.229 MB / 0.8727 GB, free: 28.04 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003335/1.178, allocations: 0.6684 MB / 0.8733 GB, free: 27.38 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.08907/1.268, allocations: 33.7 MB / 0.9062 GB, free: 9.531 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006696/1.274, allocations: 0.6193 MB / 0.9068 GB, free: 8.91 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001227/1.276, allocations: 156 kB / 0.907 GB, free: 8.758 MB / 0.5762 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.003725/1.279, allocations: 0.6721 MB / 0.9076 GB, free: 8.074 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002106/1.281, allocations: 458.3 kB / 0.9081 GB, free: 7.621 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.05995/1.341, allocations: 16.84 MB / 0.9245 GB, free: 6.711 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.195e-05/1.341, allocations: 39.06 kB / 0.9246 GB, free: 6.676 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001246/1.342, allocations: 28 kB / 0.9246 GB, free: 6.648 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001301/1.342, allocations: 19.94 kB / 0.9246 GB, free: 6.629 MB / 0.5919 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.07476/1.416, allocations: 21.81 MB / 0.9459 GB, free: 0.7305 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.474e-05/1.417, allocations: 0 / 0.9459 GB, free: 0.7305 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002691/1.419, allocations: 391.5 kB / 0.9463 GB, free: 356 kB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.02785/1.447, allocations: 7.371 MB / 0.9535 GB, free: 8.957 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001268/1.448, allocations: 71.98 kB / 0.9536 GB, free: 8.887 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.09533/1.544, allocations: 31.81 MB / 0.9846 GB, free: 8.789 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.086e-06/1.544, allocations: 0 / 0.9846 GB, free: 8.789 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.06911/1.613, allocations: 20.2 MB / 1.004 GB, free: 4.504 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001993/1.615, allocations: 0.5494 MB / 1.005 GB, free: 3.93 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001876/1.617, allocations: 60 kB / 1.005 GB, free: 3.871 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005577/1.623, allocations: 384.5 kB / 1.005 GB, free: 3.496 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.004001/1.627, allocations: 0.7844 MB / 1.006 GB, free: 2.711 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0008618/1.628, allocations: 95.98 kB / 1.006 GB, free: 2.617 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.004705/1.632, allocations: 2.105 MB / 1.008 GB, free: 0.5078 MB / 0.67 GB Notification: Performance of sort global known variables: time 1.8e-07/1.632, allocations: 0 / 1.008 GB, free: 0.5078 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.007492/1.64, allocations: 1.8 MB / 1.01 GB, free: 14.71 MB / 0.6856 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.0009717/1.641, allocations: 201.2 kB / 1.01 GB, free: 14.5 MB / 0.6856 GB Notification: Performance of simCode: created initialization part: time 0.02745/1.668, allocations: 9.275 MB / 1.019 GB, free: 5.18 MB / 0.6856 GB Notification: Performance of simCode: created event and clocks part: time 6.382e-06/1.668, allocations: 4.062 kB / 1.019 GB, free: 5.176 MB / 0.6856 GB Notification: Performance of simCode: created simulation system equations: time 0.02066/1.689, allocations: 6.17 MB / 1.025 GB, free: 14.97 MB / 0.7012 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0044/1.693, allocations: 384.5 kB / 1.026 GB, free: 14.59 MB / 0.7012 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01772/1.711, allocations: 7.87 MB / 1.033 GB, free: 6.691 MB / 0.7012 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001989/1.713, allocations: 2.435 MB / 1.036 GB, free: 4.219 MB / 0.7012 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001451/1.715, allocations: 279.4 kB / 1.036 GB, free: 3.945 MB / 0.7012 GB Notification: Performance of SimCode: time 1.763e-06/1.715, allocations: 0 / 1.036 GB, free: 3.945 MB / 0.7012 GB Notification: Performance of Templates: time 0.4119/2.127, allocations: 89.16 MB / 1.123 GB, free: 179.2 MB / 0.7012 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)