Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_release_OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_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.ThreeArea.SixthOrder_AVRII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_release_OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_AVRII") translateModel(OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_AVRII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_release_OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_AVRII") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0008145/0.0008182, allocations: 177.2 kB / 15.45 MB, free: 6.227 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.189/1.189, allocations: 223.3 MB / 239.5 MB, free: 1.59 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.0007493/0.0007493, allocations: 99.17 kB / 290.7 MB, free: 13.79 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.4096/0.4096, allocations: 78.62 MB / 420.4 MB, free: 44.12 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003172/0.0003173, allocations: 12 kB / 0.4888 GB, free: 2.527 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.275/0.2753, allocations: 69.34 MB / 0.5565 GB, free: 39.02 MB / 426.7 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_AVRII): time 0.009058/0.2844, allocations: 13.94 MB / 0.5701 GB, free: 30.98 MB / 426.7 MB Notification: Performance of NFInst.instExpressions: time 0.00584/0.2902, allocations: 3.629 MB / 0.5737 GB, free: 28.9 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009385/0.2912, allocations: 34.47 kB / 0.5737 GB, free: 28.9 MB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0008208/0.292, allocations: 436 kB / 0.5741 GB, free: 28.73 MB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00373/0.2958, allocations: 1.239 MB / 0.5753 GB, free: 27.88 MB / 426.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003417/0.2992, allocations: 1.426 MB / 0.5767 GB, free: 27.09 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 0.003403/0.3026, allocations: 3.597 MB / 0.5802 GB, free: 25.34 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008172/0.3034, allocations: 0.7993 MB / 0.581 GB, free: 24.89 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001258/0.3047, allocations: 1.358 MB / 0.5823 GB, free: 24.26 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001217/0.3059, allocations: 1.825 MB / 0.5841 GB, free: 23.43 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002586/0.3062, allocations: 145.5 kB / 0.5843 GB, free: 23.43 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006042/0.3068, allocations: 273.8 kB / 0.5845 GB, free: 23.39 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0003711/0.3072, allocations: 0.6199 MB / 0.5851 GB, free: 23.02 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0008447/0.308, allocations: 1.509 MB / 0.5866 GB, free: 22.02 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002121/0.3102, allocations: 3.785 MB / 0.5903 GB, free: 20.58 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.867e-06/0.3102, allocations: 3.938 kB / 0.5903 GB, free: 20.57 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.243e-06/0.3102, allocations: 0 / 0.5903 GB, free: 20.57 MB / 426.7 MB Notification: Performance of Transformations before backend: time 3.125e-05/0.3102, allocations: 0 / 0.5903 GB, free: 20.57 MB / 426.7 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.01812/0.3284, allocations: 6.224 MB / 0.5964 GB, free: 18.29 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.541e-05/0.3284, allocations: 7.219 kB / 0.5964 GB, free: 18.29 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01377/0.3422, allocations: 2.297 MB / 0.5986 GB, free: 17.87 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003456/0.3457, allocations: 1.906 MB / 0.6005 GB, free: 16.7 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005522/0.3462, allocations: 0.7593 MB / 0.6012 GB, free: 16.04 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004161/0.3467, allocations: 218.9 kB / 0.6014 GB, free: 15.96 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005699/0.3524, allocations: 3.256 MB / 0.6046 GB, free: 14.78 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.915e-05/0.3524, allocations: 0 / 0.6046 GB, free: 14.78 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002241/0.3527, allocations: 85.73 kB / 0.6047 GB, free: 14.71 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.968e-05/0.3527, allocations: 53.66 kB / 0.6047 GB, free: 14.71 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005615/0.3583, allocations: 3.001 MB / 0.6077 GB, free: 13.73 MB / 426.7 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.01663/0.375, allocations: 10.22 MB / 0.6177 GB, free: 8.121 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.009827/0.3848, allocations: 4.9 MB / 0.6224 GB, free: 5.684 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003442/0.3883, allocations: 2.183 MB / 0.6246 GB, free: 3.727 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002636/0.3886, allocations: 49.94 kB / 0.6246 GB, free: 3.68 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003584/0.3922, allocations: 2.455 MB / 0.627 GB, free: 1.203 MB / 426.7 MB Notification: Performance of pre-optimization done (n=250): time 4.609e-06/0.3922, allocations: 0 / 0.627 GB, free: 1.203 MB / 426.7 MB Notification: Performance of matching and sorting (n=250): time 0.1204/0.5126, allocations: 35.56 MB / 0.6618 GB, free: 13.52 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001095/0.5127, allocations: 180.2 kB / 0.6619 GB, free: 13.3 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003647/0.5164, allocations: 2.341 MB / 0.6642 GB, free: 10.94 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0006902/0.5171, allocations: 69.7 kB / 0.6643 GB, free: 10.87 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008848/0.518, allocations: 1.184 MB / 0.6654 GB, free: 9.672 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001041/0.5191, allocations: 0.8857 MB / 0.6663 GB, free: 8.773 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004264/0.5195, allocations: 296.7 kB / 0.6666 GB, free: 8.477 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 8.592e-05/0.5196, allocations: 305.1 kB / 0.6669 GB, free: 8.176 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004433/0.524, allocations: 2.185 MB / 0.669 GB, free: 5.988 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004717/0.5288, allocations: 2.56 MB / 0.6715 GB, free: 3.34 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.05343/0.5822, allocations: 15.82 MB / 0.687 GB, free: 3.293 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.365e-05/0.5822, allocations: 3.938 kB / 0.687 GB, free: 3.289 MB / 490.7 MB Notification: Performance of matching and sorting (n=425) (initialization): time 0.04273/0.625, allocations: 15.43 MB / 0.702 GB, free: 3.789 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 8.97e-05/0.6251, allocations: 116.5 kB / 0.7021 GB, free: 3.652 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.074e-05/0.6251, allocations: 8 kB / 0.7021 GB, free: 3.645 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01865/0.6438, allocations: 6.414 MB / 0.7084 GB, free: 13.22 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002873/0.6467, allocations: 0.5773 MB / 0.709 GB, free: 12.64 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.05718/0.7039, allocations: 24.94 MB / 0.7333 GB, free: 3.559 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004475/0.7084, allocations: 0.5909 MB / 0.7339 GB, free: 2.965 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007306/0.7092, allocations: 120 kB / 0.734 GB, free: 2.848 MB / 0.5261 GB Warning: Assuming fixed start value for the following 6 variables: order3_2.delta:VARIABLE(flow=false start = order3_2.delta0 unit = "rad" fixed = true ) "Rotor angle" type: Real order3_2.w:VARIABLE(flow=false start = 1.0 fixed = true ) "Rotor speed [pu]" type: Real order3_2.e1q:VARIABLE(start = order3_2.e1q0 unit = "1" fixed = true ) "q-axis transient voltage" type: Real order2.delta:VARIABLE(flow=false start = order2.delta0 unit = "rad" fixed = true ) "Rotor angle" type: Real order2.w:VARIABLE(flow=false start = 1.0 fixed = true ) "Rotor speed [pu]" type: Real Syn2.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 ($whenCondition2,$whenCondition1,$whenCondition4,$whenCondition3) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (336): * Single equations (assignments): 331 * Array equations: 0 * Algorithm blocks: 4 * 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 {(63,27)} Notification: Performance of prepare postOptimizeDAE: time 0.001911/0.7111, allocations: 0.5496 MB / 0.7345 GB, free: 2.277 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009704/0.7121, allocations: 300.2 kB / 0.7348 GB, free: 1.98 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.04053/0.7526, allocations: 14.79 MB / 0.7493 GB, free: 3.086 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.025e-05/0.7527, allocations: 24 kB / 0.7493 GB, free: 3.062 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.326e-05/0.7528, allocations: 16 kB / 0.7493 GB, free: 3.047 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.939e-05/0.7528, allocations: 15.95 kB / 0.7493 GB, free: 3.031 MB / 0.5417 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.04738/0.8002, allocations: 18.44 MB / 0.7673 GB, free: 392 kB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.984e-05/0.8003, allocations: 0 / 0.7673 GB, free: 392 kB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001648/0.8019, allocations: 251.6 kB / 0.7676 GB, free: 140 kB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.226/1.028, allocations: 6.264 MB / 0.7737 GB, free: 163.3 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005101/1.028, allocations: 54.97 kB / 0.7737 GB, free: 163.3 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.049/1.077, allocations: 25.52 MB / 0.7987 GB, free: 156 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.224e-06/1.078, allocations: 3.906 kB / 0.7987 GB, free: 156 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.04437/1.122, allocations: 17.39 MB / 0.8157 GB, free: 152 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008513/1.123, allocations: 422.3 kB / 0.8161 GB, free: 151.7 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000793/1.124, allocations: 51.78 kB / 0.8161 GB, free: 151.6 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002985/1.127, allocations: 409.4 kB / 0.8165 GB, free: 151.6 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002087/1.129, allocations: 0.5629 MB / 0.817 GB, free: 151.5 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002738/1.129, allocations: 66.59 kB / 0.8171 GB, free: 151.5 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 0.00205/1.131, allocations: 1.544 MB / 0.8186 GB, free: 150.9 MB / 0.5573 GB Notification: Performance of sort global known variables: time 1.9e-07/1.131, allocations: 0 / 0.8186 GB, free: 150.9 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.003012/1.134, allocations: 1.19 MB / 0.8198 GB, free: 150.8 MB / 0.5573 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 (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(66,22,7.7%)} * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(1,6), (1,6)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0004002/1.134, allocations: 174.4 kB / 0.8199 GB, free: 150.6 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.01495/1.149, allocations: 7.579 MB / 0.8273 GB, free: 145.4 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 2.315e-06/1.149, allocations: 4.25 kB / 0.8274 GB, free: 145.4 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.01069/1.16, allocations: 5.113 MB / 0.8323 GB, free: 141 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001623/1.162, allocations: 267.3 kB / 0.8326 GB, free: 140.7 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007021/1.169, allocations: 6.779 MB / 0.8392 GB, free: 134.4 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008025/1.17, allocations: 1.824 MB / 0.841 GB, free: 133 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.0008184/1.17, allocations: 264.1 kB / 0.8413 GB, free: 132.8 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005003/1.171, allocations: 166.8 kB / 0.8414 GB, free: 132.6 MB / 0.5573 GB Notification: Performance of SimCode: time 1.493e-06/1.171, allocations: 4 kB / 0.8414 GB, free: 132.6 MB / 0.5573 GB Notification: Performance of Templates: time 0.06407/1.235, allocations: 58.64 MB / 0.8987 GB, free: 76.42 MB / 0.5573 GB make -j1 -f OpenIPSL_release_OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_AVRII.makefile (rm -f OpenIPSL_release_OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_AVRII.pipe ; mkfifo OpenIPSL_release_OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_AVRII.pipe ; head -c 1048576 < OpenIPSL_release_OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_AVRII.pipe >> ../files/OpenIPSL_release_OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_AVRII.sim & ./OpenIPSL_release_OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_AVRII -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_release_OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_AVRII.pipe 2>&1)