Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_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.0.1/package.mo", uses=false) Using package OpenIPSL with version 3.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/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.ThreeArea.SixthOrder_AVRII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_AVRII") translateModel(OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_AVRII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_AVRII") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001207/0.001207, allocations: 97.91 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.237/1.237, allocations: 223.2 MB / 238.9 MB, free: 5.652 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.001143/0.001143, allocations: 188.3 kB / 290.2 MB, free: 2.344 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.4137/0.4137, allocations: 78.52 MB / 419.8 MB, free: 4.332 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003347/0.0003347, allocations: 11.94 kB / 499.6 MB, free: 6.414 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1041/0.1045, allocations: 69.37 MB / 0.5557 GB, free: 0.9961 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_AVRII): time 0.1907/0.2952, allocations: 12.23 MB / 0.5676 GB, free: 36.32 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.006085/0.3014, allocations: 3.617 MB / 0.5712 GB, free: 33.72 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001934/0.3033, allocations: 31.44 kB / 0.5712 GB, free: 33.72 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00133/0.3047, allocations: 395 kB / 0.5716 GB, free: 33.55 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003791/0.3085, allocations: 1.354 MB / 0.5729 GB, free: 32.62 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00289/0.3114, allocations: 1.291 MB / 0.5741 GB, free: 32.03 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.003602/0.315, allocations: 2.412 MB / 0.5765 GB, free: 30.72 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001176/0.3162, allocations: 0.6914 MB / 0.5772 GB, free: 30.43 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001745/0.318, allocations: 1.343 MB / 0.5785 GB, free: 29.8 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001923/0.3199, allocations: 1.712 MB / 0.5802 GB, free: 29.04 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000584/0.3205, allocations: 144.4 kB / 0.5803 GB, free: 29.04 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008161/0.3213, allocations: 270 kB / 0.5806 GB, free: 29 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004257/0.3218, allocations: 0.5922 MB / 0.5811 GB, free: 28.66 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005404/0.3223, allocations: 0.5235 MB / 0.5816 GB, free: 28.33 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002294/0.3246, allocations: 2.873 MB / 0.5845 GB, free: 27.45 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.865e-06/0.3246, allocations: 0 / 0.5845 GB, free: 27.45 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.144e-06/0.3246, allocations: 0 / 0.5845 GB, free: 27.45 MB / 430.1 MB Notification: Performance of Transformations before backend: time 7.385e-05/0.3247, allocations: 0 / 0.5845 GB, free: 27.45 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: 525 * Number of variables: 525 Notification: Performance of Generate backend data structure: time 0.02061/0.3453, allocations: 6.257 MB / 0.5906 GB, free: 25.17 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.54e-05/0.3454, allocations: 9.25 kB / 0.5906 GB, free: 25.17 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01484/0.3602, allocations: 2.303 MB / 0.5928 GB, free: 24.75 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003841/0.3641, allocations: 1.807 MB / 0.5946 GB, free: 23.68 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006079/0.3647, allocations: 0.7519 MB / 0.5953 GB, free: 23.02 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004913/0.3652, allocations: 221 kB / 0.5955 GB, free: 22.95 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006579/0.3718, allocations: 3.224 MB / 0.5987 GB, free: 21.76 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.696e-05/0.3719, allocations: 0.5 kB / 0.5987 GB, free: 21.76 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002489/0.3721, allocations: 83.2 kB / 0.5988 GB, free: 21.7 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.11e-05/0.3722, allocations: 57.08 kB / 0.5988 GB, free: 21.69 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006557/0.3787, allocations: 2.989 MB / 0.6017 GB, free: 20.71 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.01991/0.3987, allocations: 10.51 MB / 0.612 GB, free: 14.79 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01172/0.4104, allocations: 4.891 MB / 0.6168 GB, free: 12.99 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004384/0.4109, allocations: 44.86 kB / 0.6168 GB, free: 12.97 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004786/0.4157, allocations: 2.44 MB / 0.6192 GB, free: 11.65 MB / 430.1 MB Notification: Performance of pre-optimization done (n=250): time 4.899e-06/0.4157, allocations: 0 / 0.6192 GB, free: 11.65 MB / 430.1 MB Notification: Performance of matching and sorting (n=250): time 0.1243/0.54, allocations: 35.41 MB / 0.6538 GB, free: 9.25 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.306e-05/0.5402, allocations: 180.2 kB / 0.654 GB, free: 9.035 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003429/0.5436, allocations: 2.317 MB / 0.6562 GB, free: 6.699 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0006245/0.5442, allocations: 69.7 kB / 0.6563 GB, free: 6.625 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008434/0.5451, allocations: 1.176 MB / 0.6574 GB, free: 5.438 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001077/0.5462, allocations: 0.8858 MB / 0.6583 GB, free: 4.539 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002735/0.5465, allocations: 68 kB / 0.6584 GB, free: 4.473 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001824/0.5467, allocations: 429 kB / 0.6588 GB, free: 4.047 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004522/0.5512, allocations: 2.171 MB / 0.6609 GB, free: 1.875 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004843/0.5561, allocations: 2.538 MB / 0.6634 GB, free: 15.25 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00475/0.5608, allocations: 2.444 MB / 0.6658 GB, free: 12.76 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.666e-06/0.5608, allocations: 0 / 0.6658 GB, free: 12.76 MB / 478.1 MB Notification: Performance of matching and sorting (n=425) (initialization): time 0.04384/0.6047, allocations: 15.31 MB / 0.6807 GB, free: 13.39 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.909e-05/0.6048, allocations: 114.8 kB / 0.6808 GB, free: 13.25 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.416e-05/0.6049, allocations: 11.98 kB / 0.6808 GB, free: 13.24 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0205/0.6254, allocations: 6.502 MB / 0.6872 GB, free: 6.746 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00295/0.6284, allocations: 0.5695 MB / 0.6877 GB, free: 6.176 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.06581/0.6942, allocations: 27.89 MB / 0.715 GB, free: 10.02 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004714/0.6989, allocations: 0.5916 MB / 0.7155 GB, free: 9.426 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00053/0.6995, allocations: 120 kB / 0.7157 GB, free: 9.309 MB / 0.5137 GB Warning: Assuming fixed start value for the following 6 variables: Exc2.firstOrder2.y:VARIABLE(flow=false start = Exc2.firstOrder2.y_start fixed = true ) "Connector of Real output signal" type: Real Exc1.firstOrder2.y:VARIABLE(flow=false start = Exc1.firstOrder2.y_start fixed = true ) "Connector of Real output signal" type: Real Syn2.e2d:VARIABLE(start = Syn2.e2d0 unit = "1" fixed = true ) "d-axis sub-transient voltage" type: Real Syn2.w:VARIABLE(flow=false start = 1.0 fixed = true ) "Rotor speed [pu]" type: Real order2.w:VARIABLE(flow=false start = 1.0 fixed = true ) "Rotor speed [pu]" type: Real order3_2.w:VARIABLE(flow=false start = 1.0 fixed = true ) "Rotor speed [pu]" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 29 * Number of states: 0 () * Number of discrete variables: 4 ($whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (334): * Single equations (assignments): 328 * Array equations: 0 * Algorithm blocks: 4 * 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 {(1,100.0%) 1} * Non-linear torn systems: 1 {65 26} Notification: Performance of prepare postOptimizeDAE: time 0.001355/0.7008, allocations: 0.5286 MB / 0.7162 GB, free: 8.762 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007179/0.7016, allocations: 304.2 kB / 0.7165 GB, free: 8.461 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.04419/0.7458, allocations: 14.77 MB / 0.7309 GB, free: 9.59 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.879e-05/0.7458, allocations: 31.98 kB / 0.7309 GB, free: 9.559 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.998e-05/0.7459, allocations: 16 kB / 0.7309 GB, free: 9.543 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.984e-05/0.746, allocations: 19.95 kB / 0.731 GB, free: 9.523 MB / 0.5294 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.05061/0.7966, allocations: 18.51 MB / 0.749 GB, free: 6.777 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.077e-05/0.7966, allocations: 0 / 0.749 GB, free: 6.777 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001687/0.7983, allocations: 255.7 kB / 0.7493 GB, free: 6.527 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01947/0.8178, allocations: 6.26 MB / 0.7554 GB, free: 256 kB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000648/0.8185, allocations: 52.94 kB / 0.7554 GB, free: 204 kB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.2517/1.07, allocations: 26.86 MB / 0.7817 GB, free: 164 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.827e-06/1.07, allocations: 11.59 kB / 0.7817 GB, free: 164 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.04622/1.116, allocations: 17.39 MB / 0.7987 GB, free: 163.4 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009435/1.117, allocations: 416.7 kB / 0.7991 GB, free: 163.1 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005386/1.118, allocations: 47.59 kB / 0.7991 GB, free: 163.1 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003072/1.121, allocations: 408.2 kB / 0.7995 GB, free: 163.1 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00194/1.123, allocations: 0.5821 MB / 0.8001 GB, free: 163.1 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002219/1.123, allocations: 69.16 kB / 0.8001 GB, free: 163.1 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.002216/1.125, allocations: 1.523 MB / 0.8016 GB, free: 162.9 MB / 0.5606 GB Notification: Performance of sort global known variables: time 3.41e-07/1.125, allocations: 0 / 0.8016 GB, free: 162.9 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.003131/1.129, allocations: 1.196 MB / 0.8028 GB, free: 162.9 MB / 0.5606 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 19 (order3_2.delta,order3_2.w,order3_2.e1q,order2.delta,order2.w,Syn2.delta,Syn2.w,Syn2.e1q,Syn2.e1d,Syn2.e2q,Syn2.e2d,Exc1.ExcitationSystem.x_scaled[1],Exc1.derivativeBlock.x,Exc1.firstOrder2.y,Exc1.simpleLagLim.state,Exc2.ExcitationSystem.x_scaled[1],Exc2.derivativeBlock.x,Exc2.firstOrder2.y,Exc2.simpleLagLim.state) * Number of discrete variables: 4 ($whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (159): * Single equations (assignments): 154 * 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: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(66,7.7%) 22} * Non-linear torn systems: 2 {1 6,1 6} Notification: Performance of Backend phase and start with SimCode phase: time 0.0003896/1.129, allocations: 175.1 kB / 0.8029 GB, free: 162.8 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.01882/1.148, allocations: 7.702 MB / 0.8105 GB, free: 160.2 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 4.859e-06/1.148, allocations: 1.406 kB / 0.8105 GB, free: 160.2 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.01322/1.161, allocations: 5.111 MB / 0.8155 GB, free: 158.4 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001821/1.163, allocations: 222.2 kB / 0.8157 GB, free: 158.3 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008449/1.171, allocations: 6.682 MB / 0.8222 GB, free: 154.3 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001009/1.172, allocations: 1.879 MB / 0.824 GB, free: 153.5 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.001011/1.173, allocations: 261.3 kB / 0.8243 GB, free: 153.4 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005379/1.174, allocations: 162.7 kB / 0.8244 GB, free: 153.3 MB / 0.5606 GB Notification: Performance of SimCode: time 6.61e-07/1.174, allocations: 0 / 0.8244 GB, free: 153.3 MB / 0.5606 GB Notification: Performance of Templates: time 0.06658/1.241, allocations: 57.32 MB / 0.8804 GB, free: 100.3 MB / 0.5606 GB make -j1 -f OpenIPSL_OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_AVRII.makefile Environment - environmentSimulation: (rm -f OpenIPSL_OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_AVRII.pipe ; mkfifo OpenIPSL_OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_AVRII.pipe ; head -c 1048576 < OpenIPSL_OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_AVRII.pipe >> ../files/OpenIPSL_OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_AVRII.sim & ./OpenIPSL_OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_AVRII -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_AVRII.pipe 2>&1) Environment - environmentSimulation: