Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_release_OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_AVRIII.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_AVRIII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_release_OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_AVRIII") translateModel(OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_AVRIII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_release_OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_AVRIII") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001159/0.001159, allocations: 177.8 kB / 15.78 MB, free: 6.352 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.403/1.403, allocations: 223.3 MB / 239.8 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.0008006/0.0008006, allocations: 88.7 kB / 290.9 MB, free: 13.96 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.4945/0.4945, allocations: 78.61 MB / 420.7 MB, free: 44.18 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003826/0.0003826, allocations: 16 kB / 0.4888 GB, free: 2.953 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4231/0.4235, allocations: 69.34 MB / 0.5565 GB, free: 38.91 MB / 426.7 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_AVRIII): time 0.009611/0.4331, allocations: 12.28 MB / 0.5685 GB, free: 33.02 MB / 426.7 MB Notification: Performance of NFInst.instExpressions: time 0.00813/0.4413, allocations: 3.297 MB / 0.5717 GB, free: 30.62 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003628/0.445, allocations: 28.53 kB / 0.5717 GB, free: 30.62 MB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001985/0.447, allocations: 350.2 kB / 0.5721 GB, free: 30.48 MB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 0.006555/0.4536, allocations: 1.146 MB / 0.5732 GB, free: 29.69 MB / 426.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.004844/0.4584, allocations: 1.271 MB / 0.5744 GB, free: 29.03 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 0.006338/0.4648, allocations: 3.052 MB / 0.5774 GB, free: 27.46 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002239/0.4671, allocations: 0.6114 MB / 0.578 GB, free: 27.15 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003251/0.4703, allocations: 1.195 MB / 0.5792 GB, free: 26.61 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004372/0.4747, allocations: 1.628 MB / 0.5808 GB, free: 25.9 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001333/0.4761, allocations: 138.1 kB / 0.5809 GB, free: 25.9 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002101/0.4782, allocations: 267.7 kB / 0.5812 GB, free: 25.86 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001284/0.4795, allocations: 0.5518 MB / 0.5817 GB, free: 25.54 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 0.00162/0.4811, allocations: 0.4896 MB / 0.5822 GB, free: 25.23 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.004252/0.4854, allocations: 2.714 MB / 0.5848 GB, free: 24.37 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.51e-06/0.4854, allocations: 0 / 0.5848 GB, free: 24.37 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.895e-06/0.4854, allocations: 2.969 kB / 0.5848 GB, free: 24.37 MB / 426.7 MB Notification: Performance of Transformations before backend: time 0.0001567/0.4856, allocations: 0 / 0.5848 GB, free: 24.37 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: 489 * Number of variables: 489 Notification: Performance of Generate backend data structure: time 0.02789/0.5135, allocations: 5.823 MB / 0.5905 GB, free: 22.35 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.554e-05/0.5136, allocations: 8.969 kB / 0.5905 GB, free: 22.35 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02239/0.536, allocations: 2.273 MB / 0.5927 GB, free: 21.94 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004623/0.5406, allocations: 1.588 MB / 0.5943 GB, free: 20.95 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007457/0.5414, allocations: 0.6919 MB / 0.595 GB, free: 20.36 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007091/0.5421, allocations: 205.5 kB / 0.5952 GB, free: 20.29 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009386/0.5515, allocations: 3.104 MB / 0.5982 GB, free: 19.23 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.487e-05/0.5516, allocations: 0 / 0.5982 GB, free: 19.23 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003625/0.552, allocations: 75.62 kB / 0.5983 GB, free: 19.17 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.54e-05/0.5521, allocations: 54.28 kB / 0.5983 GB, free: 19.16 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009961/0.562, allocations: 2.886 MB / 0.6011 GB, free: 18.25 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.02705/0.5891, allocations: 9.895 MB / 0.6108 GB, free: 12.77 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01405/0.6032, allocations: 4.812 MB / 0.6155 GB, free: 11.14 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00537/0.6087, allocations: 2.107 MB / 0.6176 GB, free: 10.26 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003205/0.609, allocations: 39.02 kB / 0.6176 GB, free: 10.25 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.059e-05/0.6091, allocations: 65.17 kB / 0.6177 GB, free: 10.18 MB / 426.7 MB Notification: Performance of pre-optimization done (n=230): time 4.388e-06/0.6091, allocations: 0 / 0.6177 GB, free: 10.18 MB / 426.7 MB Notification: Performance of matching and sorting (n=230): time 0.1204/0.7295, allocations: 32.27 MB / 0.6492 GB, free: 10.84 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.95e-05/0.7296, allocations: 132.8 kB / 0.6493 GB, free: 10.68 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003157/0.7328, allocations: 2.013 MB / 0.6513 GB, free: 8.648 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0008856/0.7337, allocations: 69.7 kB / 0.6513 GB, free: 8.574 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009318/0.7346, allocations: 1.089 MB / 0.6524 GB, free: 7.473 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001219/0.7358, allocations: 0.8125 MB / 0.6532 GB, free: 6.648 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002256/0.7361, allocations: 60 kB / 0.6532 GB, free: 6.59 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0002084/0.7363, allocations: 416.2 kB / 0.6536 GB, free: 6.176 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00448/0.7408, allocations: 2.095 MB / 0.6557 GB, free: 4.078 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004796/0.7456, allocations: 2.465 MB / 0.6581 GB, free: 1.516 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004825/0.7504, allocations: 2.245 MB / 0.6603 GB, free: 15.25 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.088e-05/0.7505, allocations: 0 / 0.6603 GB, free: 15.25 MB / 474.7 MB Notification: Performance of matching and sorting (n=385) (initialization): time 0.04602/0.7965, allocations: 14.96 MB / 0.6749 GB, free: 236 kB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.000257/0.7968, allocations: 313.5 kB / 0.6752 GB, free: 15.83 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.259e-05/0.7968, allocations: 8 kB / 0.6752 GB, free: 15.82 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.02263/0.8195, allocations: 6.484 MB / 0.6815 GB, free: 9.328 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002913/0.8224, allocations: 491.3 kB / 0.682 GB, free: 8.848 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.06528/0.8877, allocations: 26.55 MB / 0.7079 GB, free: 14.01 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005105/0.8929, allocations: 0.5363 MB / 0.7085 GB, free: 13.47 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005289/0.8934, allocations: 108 kB / 0.7086 GB, free: 13.36 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.242e-05/0.8934, allocations: 4 kB / 0.7086 GB, free: 13.36 MB / 0.5105 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.04468/0.9381, allocations: 14.64 MB / 0.7229 GB, free: 14.67 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.661e-05/0.9382, allocations: 8 kB / 0.7229 GB, free: 14.66 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02118/0.9594, allocations: 6.476 MB / 0.7292 GB, free: 8.18 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002774/0.9622, allocations: 479.3 kB / 0.7297 GB, free: 7.711 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.06532/1.028, allocations: 26.54 MB / 0.7556 GB, free: 12.88 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004963/1.033, allocations: 0.4977 MB / 0.7561 GB, free: 12.38 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005568/1.033, allocations: 107.9 kB / 0.7562 GB, free: 12.27 MB / 0.5573 GB Warning: Assuming fixed start value for the following 6 variables: Exc2.vref:VARIABLE(unit = "1" fixed = true protected = true ) type: Real Exc1.vref:VARIABLE(unit = "1" fixed = true protected = true ) 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (294): * Single equations (assignments): 292 * Array equations: 0 * Algorithm blocks: 0 * 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 {64 27} Notification: Performance of prepare postOptimizeDAE: time 0.001666/1.035, allocations: 0.5096 MB / 0.7567 GB, free: 11.75 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009082/1.036, allocations: 272.6 kB / 0.7569 GB, free: 11.48 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.3277/1.363, allocations: 14.3 MB / 0.7709 GB, free: 160.4 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.621e-05/1.364, allocations: 22.84 kB / 0.7709 GB, free: 160.4 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.121e-05/1.364, allocations: 30.36 kB / 0.7709 GB, free: 160.4 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.894e-05/1.364, allocations: 14.56 kB / 0.771 GB, free: 160.4 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 postOpt removeSimpleEquations (simulation): time 0.04992/1.414, allocations: 17.88 MB / 0.7884 GB, free: 159.5 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.312e-05/1.414, allocations: 0 / 0.7884 GB, free: 159.5 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001794/1.416, allocations: 256.2 kB / 0.7887 GB, free: 159.4 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01958/1.435, allocations: 6.017 MB / 0.7945 GB, free: 159.4 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0008391/1.436, allocations: 44.59 kB / 0.7946 GB, free: 159.4 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.05427/1.49, allocations: 21.4 MB / 0.8155 GB, free: 152.1 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.237e-06/1.49, allocations: 2.625 kB / 0.8155 GB, free: 152.1 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.04412/1.534, allocations: 16.81 MB / 0.8319 GB, free: 143.2 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009171/1.535, allocations: 385.1 kB / 0.8323 GB, free: 142.9 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005511/1.536, allocations: 44 kB / 0.8323 GB, free: 142.9 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002881/1.539, allocations: 368.8 kB / 0.8326 GB, free: 142.6 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001846/1.541, allocations: 0.5434 MB / 0.8332 GB, free: 142.3 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002047/1.541, allocations: 55.75 kB / 0.8332 GB, free: 142.2 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 0.001514/1.543, allocations: 1.31 MB / 0.8345 GB, free: 141.1 MB / 0.5573 GB Notification: Performance of sort global known variables: time 6.01e-07/1.543, allocations: 0 / 0.8345 GB, free: 141.1 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.007691/1.55, allocations: 1.869 MB / 0.8363 GB, free: 139.3 MB / 0.5573 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 17 (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.vm,Exc1.vr,Exc1.vf1,Exc2.vm,Exc2.vr,Exc2.vf1) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (149): * Single equations (assignments): 148 * Array equations: 0 * Algorithm blocks: 0 * 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: 1 {(63,8.1%) 25} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0006061/1.551, allocations: 167.3 kB / 0.8365 GB, free: 139.1 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.03231/1.583, allocations: 12.58 MB / 0.8488 GB, free: 127.2 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 7.925e-06/1.583, allocations: 0 / 0.8488 GB, free: 127.2 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.01287/1.596, allocations: 4.584 MB / 0.8533 GB, free: 122.6 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002109/1.598, allocations: 229 kB / 0.8535 GB, free: 122.4 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008246/1.607, allocations: 6.269 MB / 0.8596 GB, free: 116.1 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008704/1.607, allocations: 1.741 MB / 0.8613 GB, free: 114.3 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008676/1.608, allocations: 167.4 kB / 0.8615 GB, free: 114.1 MB / 0.5573 GB Notification: Performance of SimCode: time 8.91e-07/1.608, allocations: 0 / 0.8615 GB, free: 114.1 MB / 0.5573 GB Notification: Performance of Templates: time 0.05406/1.662, allocations: 57.42 MB / 0.9175 GB, free: 56.68 MB / 0.5573 GB make -j1 -f OpenIPSL_release_OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_AVRIII.makefile (rm -f OpenIPSL_release_OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_AVRIII.pipe ; mkfifo OpenIPSL_release_OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_AVRIII.pipe ; head -c 1048576 < OpenIPSL_release_OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_AVRIII.pipe >> ../files/OpenIPSL_release_OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_AVRIII.sim & ./OpenIPSL_release_OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_AVRIII -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_release_OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_AVRIII.pipe 2>&1)