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/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.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/Complex 4.0.0+maint.om/package.mo): time 0.004737/0.004738, allocations: 168.7 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.185/1.185, allocations: 223.2 MB / 239 MB, free: 1.773 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008857/0.0008855, allocations: 101.6 kB / 290.2 MB, free: 13.94 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.4075/0.4075, allocations: 79.43 MB / 420.8 MB, free: 43.62 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003735/0.0003735, allocations: 12 kB / 0.489 GB, free: 2.039 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3423/0.3427, allocations: 69.5 MB / 0.5569 GB, free: 39.07 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1098/0.4526, allocations: 102.1 MB / 0.6567 GB, free: 3.422 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002035/0.4529, allocations: 83.95 kB / 0.6567 GB, free: 3.34 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2354/0.6883, allocations: 102.1 MB / 0.7565 GB, free: 12.57 MB / 0.5573 GB Notification: Performance of FrontEnd: time 1.643e-06/0.6884, allocations: 0 / 0.7565 GB, free: 12.57 MB / 0.5573 GB Notification: Performance of Transformations before backend: time 0.0001982/0.6886, allocations: 87.94 kB / 0.7566 GB, free: 12.49 MB / 0.5573 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.01742/0.706, allocations: 6.597 MB / 0.763 GB, free: 5.801 MB / 0.5573 GB Notification: Performance of prepare preOptimizeDAE: time 3.556e-05/0.706, allocations: 8.031 kB / 0.763 GB, free: 5.793 MB / 0.5573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01535/0.7214, allocations: 2.803 MB / 0.7658 GB, free: 2.98 MB / 0.5573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00489/0.7263, allocations: 2.268 MB / 0.768 GB, free: 0.6367 MB / 0.5573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.2521/0.9784, allocations: 0.9844 MB / 0.7689 GB, free: 90.02 MB / 0.5573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001559/0.98, allocations: 344.3 kB / 0.7693 GB, free: 90.02 MB / 0.5573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01079/0.9908, allocations: 4.934 MB / 0.7741 GB, free: 89.85 MB / 0.5573 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.331e-05/0.9909, allocations: 1.25 kB / 0.7741 GB, free: 89.85 MB / 0.5573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004602/0.9913, allocations: 139.1 kB / 0.7742 GB, free: 89.85 MB / 0.5573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.713e-05/0.9914, allocations: 88.31 kB / 0.7743 GB, free: 89.85 MB / 0.5573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007972/0.9994, allocations: 4.484 MB / 0.7787 GB, free: 89.82 MB / 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.02796/1.027, allocations: 18.58 MB / 0.7968 GB, free: 83.45 MB / 0.5573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0113/1.039, allocations: 5.667 MB / 0.8023 GB, free: 83.01 MB / 0.5573 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005306/1.039, allocations: 75.02 kB / 0.8024 GB, free: 83 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.006475/1.046, allocations: 3.422 MB / 0.8058 GB, free: 82.86 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=382): time 6.061e-06/1.046, allocations: 0 / 0.8058 GB, free: 82.86 MB / 0.5573 GB Notification: Performance of matching and sorting (n=382): time 0.2714/1.317, allocations: 78.4 MB / 0.8823 GB, free: 75.24 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.694e-05/1.317, allocations: 149.8 kB / 0.8825 GB, free: 75.07 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003656/1.321, allocations: 2.724 MB / 0.8851 GB, free: 73.14 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 0.0007473/1.322, allocations: 89.7 kB / 0.8852 GB, free: 73.05 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 0.001043/1.323, allocations: 2.003 MB / 0.8872 GB, free: 71.39 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 0.001233/1.324, allocations: 1.292 MB / 0.8884 GB, free: 70.4 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002622/1.324, allocations: 72 kB / 0.8885 GB, free: 70.33 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 0.0001283/1.324, allocations: 444.2 kB / 0.8889 GB, free: 69.91 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004377/1.329, allocations: 2.658 MB / 0.8915 GB, free: 67.25 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004528/1.333, allocations: 3.232 MB / 0.8947 GB, free: 63.83 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004431/1.338, allocations: 2.908 MB / 0.8975 GB, free: 60.91 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.06e-05/1.338, allocations: 4 kB / 0.8975 GB, free: 60.91 MB / 0.5573 GB Notification: Performance of matching and sorting (n=466) (initialization): time 0.04841/1.386, allocations: 20.16 MB / 0.9172 GB, free: 40.88 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 6.815e-05/1.386, allocations: 67.39 kB / 0.9173 GB, free: 40.8 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.775e-05/1.386, allocations: 16 kB / 0.9173 GB, free: 40.79 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02316/1.41, allocations: 8.562 MB / 0.9256 GB, free: 32.23 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002791/1.412, allocations: 0.5551 MB / 0.9262 GB, free: 31.71 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.07351/1.486, allocations: 37.1 MB / 0.9624 GB, free: 10.51 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005719/1.492, allocations: 0.7268 MB / 0.9631 GB, free: 9.781 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008424/1.493, allocations: 132 kB / 0.9632 GB, free: 9.652 MB / 0.573 GB Warning: Assuming fixed start value for the following 4 variables: order3_1.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 order3_1.e1q:VARIABLE(start = order3_1.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 (329): * Single equations (assignments): 326 * 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.002417/1.495, allocations: 0.6433 MB / 0.9639 GB, free: 9.031 MB / 0.573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001073/1.496, allocations: 454.4 kB / 0.9643 GB, free: 8.582 MB / 0.573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.05526/1.551, allocations: 20.55 MB / 0.9844 GB, free: 3.988 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.54e-05/1.551, allocations: 38.38 kB / 0.9844 GB, free: 3.953 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.875e-05/1.551, allocations: 35.95 kB / 0.9845 GB, free: 3.918 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.584e-05/1.552, allocations: 19.92 kB / 0.9845 GB, free: 3.898 MB / 0.5886 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.3283/1.88, allocations: 25.5 MB / 1.009 GB, free: 104.4 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.422e-05/1.88, allocations: 1.969 kB / 1.009 GB, free: 104.4 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002368/1.882, allocations: 384.9 kB / 1.01 GB, free: 104.4 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0252/1.908, allocations: 8.619 MB / 1.018 GB, free: 104.3 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0008897/1.908, allocations: 70.97 kB / 1.018 GB, free: 104.3 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.07446/1.983, allocations: 34.34 MB / 1.052 GB, free: 101.2 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.254e-06/1.983, allocations: 0 / 1.052 GB, free: 101.2 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.05639/2.039, allocations: 24.19 MB / 1.075 GB, free: 96.77 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001383/2.041, allocations: 0.5566 MB / 1.076 GB, free: 96.39 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007/2.042, allocations: 68.44 kB / 1.076 GB, free: 96.34 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003719/2.045, allocations: 0.5029 MB / 1.076 GB, free: 96.27 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00278/2.048, allocations: 0.7824 MB / 1.077 GB, free: 96.15 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002753/2.048, allocations: 93.48 kB / 1.077 GB, free: 96.12 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 0.00257/2.051, allocations: 2.078 MB / 1.079 GB, free: 95.37 MB / 0.5886 GB Notification: Performance of sort global known variables: time 3.51e-07/2.051, allocations: 4 kB / 1.079 GB, free: 95.37 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.004112/2.055, allocations: 1.757 MB / 1.081 GB, free: 95.16 MB / 0.5886 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 (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.0004838/2.056, allocations: 210.4 kB / 1.081 GB, free: 95.02 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.02102/2.077, allocations: 9.943 MB / 1.091 GB, free: 91.98 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 5.12e-06/2.077, allocations: 3.828 kB / 1.091 GB, free: 91.98 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 0.01629/2.093, allocations: 7.026 MB / 1.098 GB, free: 89.82 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002243/2.095, allocations: 302.8 kB / 1.098 GB, free: 89.61 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01129/2.106, allocations: 9.566 MB / 1.107 GB, free: 80.8 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001385/2.108, allocations: 2.542 MB / 1.11 GB, free: 78.91 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 0.001257/2.109, allocations: 299 kB / 1.11 GB, free: 78.7 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007022/2.11, allocations: 199 kB / 1.11 GB, free: 78.53 MB / 0.5886 GB Notification: Performance of SimCode: time 6.61e-07/2.11, allocations: 0 / 1.11 GB, free: 78.53 MB / 0.5886 GB Notification: Performance of Templates: time 0.09833/2.208, allocations: 78.37 MB / 1.187 GB, free: 19.17 MB / 0.5886 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)