Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRIII.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.ThreeArea.ThirdOrder_AVRIII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRIII") translateModel(OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRIII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRIII") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008342/0.0008341, allocations: 98.88 kB / 16.02 MB, free: 76 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.344/1.344, allocations: 223.3 MB / 240 MB, free: 5.289 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.001155/0.001155, allocations: 184.5 kB / 291.3 MB, free: 1.949 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.515/0.515, allocations: 91.93 MB / 434.3 MB, free: 10.27 MB / 302.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003904/0.0003904, allocations: 8 kB / 0.5054 GB, free: 7.273 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3876/0.388, allocations: 72.47 MB / 0.5762 GB, free: 36.5 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRIII): time 0.008991/0.397, allocations: 13 MB / 0.5889 GB, free: 27.28 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.006806/0.4039, allocations: 3.376 MB / 0.5922 GB, free: 24.86 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001733/0.4057, allocations: 27.69 kB / 0.5922 GB, free: 24.86 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008442/0.4065, allocations: 401.9 kB / 0.5926 GB, free: 24.7 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003096/0.4096, allocations: 1.141 MB / 0.5937 GB, free: 23.93 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00271/0.4123, allocations: 1.345 MB / 0.595 GB, free: 23.21 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.004027/0.4164, allocations: 3.122 MB / 0.5981 GB, free: 21.66 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008965/0.4173, allocations: 0.6518 MB / 0.5987 GB, free: 21.3 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001939/0.4192, allocations: 1.216 MB / 0.5999 GB, free: 20.72 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00175/0.421, allocations: 1.643 MB / 0.6015 GB, free: 19.96 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003279/0.4213, allocations: 133.2 kB / 0.6016 GB, free: 19.96 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007855/0.4221, allocations: 269.5 kB / 0.6019 GB, free: 19.92 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004002/0.4225, allocations: 0.5484 MB / 0.6024 GB, free: 19.59 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001149/0.4237, allocations: 1.388 MB / 0.6038 GB, free: 18.67 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002429/0.4261, allocations: 2.662 MB / 0.6064 GB, free: 17.82 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.2e-06/0.4261, allocations: 1.156 kB / 0.6064 GB, free: 17.82 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.414e-06/0.4261, allocations: 0 / 0.6064 GB, free: 17.82 MB / 430.1 MB Notification: Performance of Transformations before backend: time 5.237e-05/0.4262, allocations: 0 / 0.6064 GB, free: 17.82 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: 486 * Number of variables: 486 Notification: Performance of Generate backend data structure: time 0.02162/0.4478, allocations: 5.69 MB / 0.6119 GB, free: 15.81 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.885e-05/0.4479, allocations: 9.625 kB / 0.6119 GB, free: 15.81 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01592/0.4638, allocations: 2.265 MB / 0.6141 GB, free: 15.41 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004311/0.4682, allocations: 1.642 MB / 0.6157 GB, free: 14.35 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006496/0.4688, allocations: 0.6921 MB / 0.6164 GB, free: 13.76 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000549/0.4694, allocations: 199 kB / 0.6166 GB, free: 13.69 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007114/0.4765, allocations: 3.097 MB / 0.6196 GB, free: 12.63 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.328e-05/0.4766, allocations: 0 / 0.6196 GB, free: 12.63 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000245/0.4768, allocations: 80.88 kB / 0.6197 GB, free: 12.57 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.865e-05/0.4769, allocations: 45.91 kB / 0.6198 GB, free: 12.57 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006595/0.4835, allocations: 2.882 MB / 0.6226 GB, free: 11.67 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.01869/0.5022, allocations: 9.792 MB / 0.6321 GB, free: 3.762 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01092/0.5131, allocations: 4.782 MB / 0.6368 GB, free: 14.86 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004583/0.5178, allocations: 2.092 MB / 0.6388 GB, free: 12.77 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00031/0.5181, allocations: 41.95 kB / 0.6389 GB, free: 12.73 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.999e-05/0.5182, allocations: 56.56 kB / 0.6389 GB, free: 12.66 MB / 446.1 MB Notification: Performance of pre-optimization done (n=227): time 3.967e-06/0.5182, allocations: 0 / 0.6389 GB, free: 12.66 MB / 446.1 MB Notification: Performance of matching and sorting (n=227): time 0.1305/0.6487, allocations: 33.9 MB / 0.672 GB, free: 10.7 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001175/0.6489, allocations: 128.8 kB / 0.6722 GB, free: 10.55 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004157/0.653, allocations: 1.996 MB / 0.6741 GB, free: 8.531 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0008653/0.6539, allocations: 73.64 kB / 0.6742 GB, free: 8.453 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00118/0.6551, allocations: 1.077 MB / 0.6752 GB, free: 7.363 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001618/0.6568, allocations: 0.7972 MB / 0.676 GB, free: 6.555 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009977/0.6578, allocations: 251.7 kB / 0.6763 GB, free: 6.301 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.000109/0.6579, allocations: 305.1 kB / 0.6765 GB, free: 6 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005385/0.6633, allocations: 2.071 MB / 0.6786 GB, free: 3.926 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005597/0.6689, allocations: 2.429 MB / 0.6809 GB, free: 1.398 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.06398/0.7329, allocations: 15.14 MB / 0.6957 GB, free: 2.105 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.673e-05/0.733, allocations: 0 / 0.6957 GB, free: 2.105 MB / 494.1 MB Notification: Performance of matching and sorting (n=373) (initialization): time 0.04921/0.7822, allocations: 14.97 MB / 0.7103 GB, free: 3.09 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 0.000295/0.7825, allocations: 303.2 kB / 0.7106 GB, free: 2.695 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.818e-05/0.7825, allocations: 8 kB / 0.7106 GB, free: 2.688 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02117/0.8037, allocations: 6.332 MB / 0.7168 GB, free: 12.35 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002811/0.8066, allocations: 491.3 kB / 0.7173 GB, free: 11.87 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.06567/0.8723, allocations: 24.81 MB / 0.7415 GB, free: 2.918 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004733/0.877, allocations: 0.5402 MB / 0.742 GB, free: 2.375 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003583/0.8774, allocations: 95.97 kB / 0.7421 GB, free: 2.281 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 2.44e-05/0.8774, allocations: 4 kB / 0.7421 GB, free: 2.277 MB / 0.5294 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0456/0.9231, allocations: 14.65 MB / 0.7564 GB, free: 3.586 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.97e-05/0.9231, allocations: 8 kB / 0.7565 GB, free: 3.578 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01993/0.9431, allocations: 6.332 MB / 0.7626 GB, free: 13.23 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002617/0.9457, allocations: 475.3 kB / 0.7631 GB, free: 12.77 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.3415/1.287, allocations: 24.78 MB / 0.7873 GB, free: 155 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004492/1.292, allocations: 0.4928 MB / 0.7878 GB, free: 155 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004241/1.292, allocations: 105 kB / 0.7879 GB, free: 155 MB / 0.5606 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 order3_1.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 (285): * Single equations (assignments): 284 * Array equations: 0 * Algorithm blocks: 0 * 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,26)} Notification: Performance of prepare postOptimizeDAE: time 0.00144/1.294, allocations: 0.5075 MB / 0.7884 GB, free: 154.8 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000741/1.294, allocations: 275.2 kB / 0.7886 GB, free: 154.8 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0461/1.34, allocations: 14.27 MB / 0.8026 GB, free: 152.6 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.524e-05/1.341, allocations: 22.78 kB / 0.8026 GB, free: 152.6 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.668e-05/1.341, allocations: 17.88 kB / 0.8026 GB, free: 152.6 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.984e-05/1.341, allocations: 15.23 kB / 0.8026 GB, free: 152.6 MB / 0.5606 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.04843/1.389, allocations: 17.8 MB / 0.82 GB, free: 148.4 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.249e-05/1.389, allocations: 3.812 kB / 0.82 GB, free: 148.4 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001563/1.391, allocations: 253.1 kB / 0.8202 GB, free: 148.3 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01724/1.408, allocations: 6.087 MB / 0.8262 GB, free: 145.4 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006889/1.409, allocations: 51.62 kB / 0.8262 GB, free: 145.3 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.04964/1.458, allocations: 21.39 MB / 0.8471 GB, free: 126.3 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.456e-06/1.458, allocations: 14.75 kB / 0.8471 GB, free: 126.3 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.04504/1.504, allocations: 16.74 MB / 0.8635 GB, free: 109.5 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001127/1.505, allocations: 379.2 kB / 0.8638 GB, free: 109.1 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007459/1.505, allocations: 43.94 kB / 0.8639 GB, free: 109.1 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002929/1.508, allocations: 367.7 kB / 0.8642 GB, free: 108.7 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001823/1.51, allocations: 0.5293 MB / 0.8648 GB, free: 108.2 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001747/1.51, allocations: 60 kB / 0.8648 GB, free: 108.1 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.001549/1.512, allocations: 1.294 MB / 0.8661 GB, free: 106.8 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.5e-07/1.512, allocations: 0 / 0.8661 GB, free: 106.8 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.005194/1.517, allocations: 1.818 MB / 0.8678 GB, free: 105 MB / 0.5606 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 14 (order3_2.delta,order3_2.w,order3_2.e1q,order2.delta,order2.w,order3_1.delta,order3_1.w,order3_1.e1q,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 (146): * Single equations (assignments): 145 * Array equations: 0 * Algorithm blocks: 0 * 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): 1 system {(66,22,7.7%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0004502/1.518, allocations: 168.6 kB / 0.868 GB, free: 104.8 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.03277/1.55, allocations: 12.17 MB / 0.8799 GB, free: 92.62 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 9.047e-06/1.55, allocations: 0 / 0.8799 GB, free: 92.62 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.01387/1.564, allocations: 4.599 MB / 0.8844 GB, free: 88.02 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004057/1.568, allocations: 230.8 kB / 0.8846 GB, free: 87.79 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009948/1.578, allocations: 6.267 MB / 0.8907 GB, free: 81.49 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009736/1.579, allocations: 1.733 MB / 0.8924 GB, free: 79.73 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009477/1.58, allocations: 155.4 kB / 0.8926 GB, free: 79.57 MB / 0.5606 GB Notification: Performance of SimCode: time 1.973e-06/1.58, allocations: 0 / 0.8926 GB, free: 79.57 MB / 0.5606 GB Notification: Performance of Templates: time 0.0628/1.643, allocations: 51.25 MB / 0.9426 GB, free: 28.29 MB / 0.5606 GB make -j1 -f OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRIII.makefile (rm -f OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRIII.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRIII.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRIII.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRIII.sim & ./OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRIII -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRIII.pipe 2>&1)