Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_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.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_AVRII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRII") translateModel(OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRII") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001529/0.001529, allocations: 108 kB / 15.6 MB, free: 132 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.369/1.369, allocations: 222.9 MB / 239.2 MB, free: 4.648 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.001505/0.001506, allocations: 192.4 kB / 289.5 MB, free: 2.363 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.5138/0.5138, allocations: 91.91 MB / 431.6 MB, free: 9.254 MB / 302.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001609/0.001609, allocations: 79.86 kB / 0.5019 GB, free: 7.73 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3534/0.3551, allocations: 71.26 MB / 0.5715 GB, free: 36.68 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRII): time 0.01056/0.3657, allocations: 13.62 MB / 0.5848 GB, free: 27.62 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.007478/0.3732, allocations: 3.475 MB / 0.5881 GB, free: 25.13 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002847/0.3761, allocations: 27.09 kB / 0.5882 GB, free: 25.13 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001763/0.3778, allocations: 0.5599 MB / 0.5887 GB, free: 24.82 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0055/0.3834, allocations: 1.422 MB / 0.5901 GB, free: 23.86 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004002/0.3874, allocations: 1.503 MB / 0.5916 GB, free: 23.1 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.006232/0.3937, allocations: 3.686 MB / 0.5952 GB, free: 21.25 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00151/0.3952, allocations: 0.8964 MB / 0.5961 GB, free: 20.78 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002633/0.3979, allocations: 1.529 MB / 0.5975 GB, free: 20 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002727/0.4006, allocations: 1.949 MB / 0.5994 GB, free: 19.05 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000828/0.4015, allocations: 284.7 kB / 0.5997 GB, free: 19.05 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001426/0.4029, allocations: 438.5 kB / 0.6001 GB, free: 19 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005155/0.4034, allocations: 0.7564 MB / 0.6009 GB, free: 18.49 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001473/0.4049, allocations: 1.637 MB / 0.6025 GB, free: 17.38 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004447/0.4094, allocations: 3.919 MB / 0.6063 GB, free: 15.56 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.644e-06/0.4094, allocations: 3.938 kB / 0.6063 GB, free: 15.55 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.284e-06/0.4094, allocations: 5.312 kB / 0.6063 GB, free: 15.55 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.0001495/0.4096, allocations: 0 / 0.6063 GB, free: 15.55 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: 522 * Number of variables: 522 Notification: Performance of Generate backend data structure: time 0.02551/0.4351, allocations: 6.579 MB / 0.6127 GB, free: 12.93 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.232e-05/0.4352, allocations: 9.594 kB / 0.6127 GB, free: 12.93 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01605/0.4512, allocations: 2.277 MB / 0.615 GB, free: 12.48 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005331/0.4566, allocations: 1.886 MB / 0.6168 GB, free: 11.31 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006806/0.4573, allocations: 0.7194 MB / 0.6175 GB, free: 10.66 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007421/0.458, allocations: 215.4 kB / 0.6177 GB, free: 10.59 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007435/0.4655, allocations: 3.031 MB / 0.6207 GB, free: 9.441 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.275e-05/0.4656, allocations: 0 / 0.6207 GB, free: 9.441 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002707/0.4658, allocations: 85.75 kB / 0.6208 GB, free: 9.375 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.753e-05/0.4659, allocations: 49.5 kB / 0.6208 GB, free: 9.375 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006841/0.4727, allocations: 2.784 MB / 0.6235 GB, free: 8.402 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.01838/0.4912, allocations: 9.859 MB / 0.6332 GB, free: 14.71 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01102/0.5022, allocations: 4.192 MB / 0.6372 GB, free: 10.38 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004639/0.5069, allocations: 1.966 MB / 0.6392 GB, free: 8.41 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003243/0.5073, allocations: 49.95 kB / 0.6392 GB, free: 8.363 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004864/0.5121, allocations: 2.22 MB / 0.6414 GB, free: 6.121 MB / 446.1 MB Notification: Performance of pre-optimization done (n=247): time 6.872e-06/0.5122, allocations: 0 / 0.6414 GB, free: 6.121 MB / 446.1 MB Notification: Performance of matching and sorting (n=247): time 0.1259/0.638, allocations: 29.47 MB / 0.6702 GB, free: 8.527 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001084/0.6382, allocations: 188.3 kB / 0.6703 GB, free: 8.305 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004053/0.6422, allocations: 2.277 MB / 0.6726 GB, free: 6.008 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.001123/0.6434, allocations: 69.7 kB / 0.6726 GB, free: 5.934 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001016/0.6444, allocations: 1.176 MB / 0.6738 GB, free: 4.746 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001584/0.646, allocations: 0.8626 MB / 0.6746 GB, free: 3.871 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001207/0.6472, allocations: 0.5656 MB / 0.6752 GB, free: 3.297 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 9.692e-05/0.6473, allocations: 301.1 kB / 0.6755 GB, free: 3 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004436/0.6518, allocations: 1.947 MB / 0.6774 GB, free: 1.051 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005004/0.6568, allocations: 2.31 MB / 0.6796 GB, free: 14.65 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.05676/0.7136, allocations: 14.05 MB / 0.6933 GB, free: 376 kB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.24e-05/0.7137, allocations: 4 kB / 0.6933 GB, free: 372 kB / 494.1 MB Notification: Performance of matching and sorting (n=413) (initialization): time 0.04294/0.7566, allocations: 12.28 MB / 0.7053 GB, free: 4.008 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 0.000107/0.7568, allocations: 118.8 kB / 0.7054 GB, free: 3.867 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.561e-05/0.7568, allocations: 11.94 kB / 0.7055 GB, free: 3.855 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01886/0.7757, allocations: 5.324 MB / 0.7107 GB, free: 14.53 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003157/0.7789, allocations: 0.5578 MB / 0.7112 GB, free: 13.97 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.06129/0.8402, allocations: 23.51 MB / 0.7342 GB, free: 6.297 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006299/0.8465, allocations: 493 kB / 0.7346 GB, free: 5.812 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006676/0.8472, allocations: 116 kB / 0.7347 GB, free: 5.699 MB / 0.5294 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: 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 (325): * Single equations (assignments): 320 * 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,26)} Notification: Performance of prepare postOptimizeDAE: time 0.001732/0.849, allocations: 0.5352 MB / 0.7353 GB, free: 5.145 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001095/0.8501, allocations: 296.3 kB / 0.7356 GB, free: 4.852 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.04193/0.892, allocations: 11.9 MB / 0.7472 GB, free: 8.898 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.54e-05/0.8921, allocations: 27.94 kB / 0.7472 GB, free: 8.871 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.275e-05/0.8921, allocations: 20 kB / 0.7472 GB, free: 8.852 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.755e-05/0.8922, allocations: 15.95 kB / 0.7472 GB, free: 8.836 MB / 0.545 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.04755/0.9397, allocations: 15.49 MB / 0.7624 GB, free: 9.188 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.045e-05/0.9398, allocations: 0 / 0.7624 GB, free: 9.188 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00167/0.9415, allocations: 255.6 kB / 0.7626 GB, free: 8.938 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0186/0.9601, allocations: 5.287 MB / 0.7678 GB, free: 3.637 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000717/0.9609, allocations: 55.98 kB / 0.7678 GB, free: 3.582 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.2787/1.24, allocations: 24.95 MB / 0.7922 GB, free: 158.2 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.528e-06/1.24, allocations: 3.219 kB / 0.7922 GB, free: 158.2 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.048/1.288, allocations: 14.26 MB / 0.8061 GB, free: 154.6 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001185/1.289, allocations: 408.8 kB / 0.8065 GB, free: 154.3 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009383/1.29, allocations: 46.38 kB / 0.8065 GB, free: 154.2 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003227/1.293, allocations: 298.3 kB / 0.8068 GB, free: 154.2 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002252/1.295, allocations: 0.5815 MB / 0.8074 GB, free: 154.1 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002681/1.296, allocations: 65.25 kB / 0.8075 GB, free: 154 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.002655/1.298, allocations: 1.509 MB / 0.8089 GB, free: 153.5 MB / 0.5606 GB Notification: Performance of sort global known variables: time 2.81e-07/1.298, allocations: 0 / 0.8089 GB, free: 153.5 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.004584/1.303, allocations: 1.167 MB / 0.8101 GB, free: 153.3 MB / 0.5606 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 16 (order3_2.delta,order3_2.w,order3_2.e1q,order2.delta,order2.w,order3_1.delta,order3_1.w,order3_1.e1q,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 (156): * Single equations (assignments): 151 * 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.0004985/1.303, allocations: 173 kB / 0.8102 GB, free: 153.2 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.01992/1.323, allocations: 6.81 MB / 0.8169 GB, free: 150.8 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 7.495e-06/1.323, allocations: 4.094 kB / 0.8169 GB, free: 150.8 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.01322/1.337, allocations: 4.405 MB / 0.8212 GB, free: 147.9 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002633/1.339, allocations: 264.5 kB / 0.8214 GB, free: 147.6 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008966/1.348, allocations: 5.33 MB / 0.8267 GB, free: 142.7 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001029/1.349, allocations: 1.809 MB / 0.8284 GB, free: 141.2 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.00106/1.35, allocations: 257.1 kB / 0.8287 GB, free: 141 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005239/1.351, allocations: 172.3 kB / 0.8288 GB, free: 140.9 MB / 0.5606 GB Notification: Performance of SimCode: time 7.12e-07/1.351, allocations: 2.078 kB / 0.8288 GB, free: 140.9 MB / 0.5606 GB Notification: Performance of Templates: time 0.08538/1.436, allocations: 65.09 MB / 0.8924 GB, free: 76.38 MB / 0.5606 GB make -j1 -f OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRII.makefile (rm -f OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRII.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRII.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRII.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRII.sim & ./OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRII -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRII.pipe 2>&1)