Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_release_OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_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.ThirdOrder_AVRIII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_release_OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRIII") translateModel(OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRIII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_release_OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRIII") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001133/0.001133, allocations: 177.8 kB / 15.77 MB, free: 6.035 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.408/1.408, allocations: 223.3 MB / 239.8 MB, free: 1.738 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.001087/0.001087, allocations: 93.8 kB / 290.9 MB, free: 13.92 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.4614/0.4614, allocations: 78.62 MB / 420.7 MB, free: 44.26 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003482/0.0003483, allocations: 8 kB / 0.4888 GB, free: 2.945 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3997/0.4001, allocations: 69.36 MB / 0.5565 GB, free: 38.86 MB / 426.7 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRIII): time 0.01225/0.4124, allocations: 12.06 MB / 0.5683 GB, free: 33.15 MB / 426.7 MB Notification: Performance of NFInst.instExpressions: time 0.01007/0.4225, allocations: 3.239 MB / 0.5715 GB, free: 30.8 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004755/0.4274, allocations: 31.94 kB / 0.5715 GB, free: 30.8 MB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002651/0.4301, allocations: 354.6 kB / 0.5718 GB, free: 30.65 MB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 0.006707/0.4368, allocations: 1.115 MB / 0.5729 GB, free: 29.89 MB / 426.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.004224/0.441, allocations: 1.26 MB / 0.5741 GB, free: 29.23 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 0.005486/0.4465, allocations: 2.969 MB / 0.577 GB, free: 27.7 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001648/0.4482, allocations: 0.609 MB / 0.5776 GB, free: 27.4 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002507/0.4507, allocations: 1.175 MB / 0.5788 GB, free: 26.86 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00296/0.4537, allocations: 1.586 MB / 0.5803 GB, free: 26.16 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001369/0.4551, allocations: 133 kB / 0.5805 GB, free: 26.16 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002257/0.4574, allocations: 259.8 kB / 0.5807 GB, free: 26.13 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 0.00121/0.4586, allocations: 0.5383 MB / 0.5812 GB, free: 25.8 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001467/0.4601, allocations: 491.9 kB / 0.5817 GB, free: 25.51 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003772/0.4639, allocations: 2.661 MB / 0.5843 GB, free: 24.66 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.402e-06/0.4639, allocations: 0 / 0.5843 GB, free: 24.66 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.615e-06/0.4639, allocations: 0 / 0.5843 GB, free: 24.66 MB / 426.7 MB Notification: Performance of Transformations before backend: time 0.0001803/0.4641, allocations: 0 / 0.5843 GB, free: 24.66 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: 486 * Number of variables: 486 Notification: Performance of Generate backend data structure: time 0.02106/0.4852, allocations: 5.729 MB / 0.5899 GB, free: 22.65 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.21e-05/0.4852, allocations: 8.094 kB / 0.5899 GB, free: 22.65 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01509/0.5003, allocations: 2.267 MB / 0.5921 GB, free: 22.24 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00409/0.5045, allocations: 1.546 MB / 0.5936 GB, free: 21.28 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008164/0.5053, allocations: 0.6903 MB / 0.5943 GB, free: 20.69 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009156/0.5063, allocations: 204 kB / 0.5945 GB, free: 20.62 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007901/0.5142, allocations: 3.082 MB / 0.5975 GB, free: 19.56 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.047e-05/0.5143, allocations: 0 / 0.5975 GB, free: 19.56 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002615/0.5145, allocations: 75.5 kB / 0.5976 GB, free: 19.5 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001114/0.5147, allocations: 49.61 kB / 0.5976 GB, free: 19.5 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006636/0.5213, allocations: 2.865 MB / 0.6004 GB, free: 18.6 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.02916/0.5505, allocations: 9.785 MB / 0.61 GB, free: 13.16 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01932/0.5699, allocations: 4.782 MB / 0.6146 GB, free: 11.55 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.007305/0.5772, allocations: 2.073 MB / 0.6167 GB, free: 10.8 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005933/0.5779, allocations: 40.2 kB / 0.6167 GB, free: 10.79 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.678e-05/0.578, allocations: 56.19 kB / 0.6168 GB, free: 10.74 MB / 426.7 MB Notification: Performance of pre-optimization done (n=227): time 9.458e-06/0.578, allocations: 7.938 kB / 0.6168 GB, free: 10.73 MB / 426.7 MB Notification: Performance of matching and sorting (n=227): time 0.1474/0.7254, allocations: 33.71 MB / 0.6497 GB, free: 10.31 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001191/0.7255, allocations: 124.8 kB / 0.6498 GB, free: 10.16 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004083/0.7296, allocations: 1.972 MB / 0.6517 GB, free: 8.168 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0009809/0.7306, allocations: 69.7 kB / 0.6518 GB, free: 8.094 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001177/0.7318, allocations: 1.081 MB / 0.6529 GB, free: 7 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001627/0.7335, allocations: 0.801 MB / 0.6536 GB, free: 6.188 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007104/0.7342, allocations: 55.94 kB / 0.6537 GB, free: 6.133 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0003102/0.7345, allocations: 412 kB / 0.6541 GB, free: 5.723 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005394/0.7399, allocations: 2.055 MB / 0.6561 GB, free: 3.664 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005562/0.7455, allocations: 2.421 MB / 0.6585 GB, free: 1.145 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005483/0.751, allocations: 2.212 MB / 0.6606 GB, free: 14.91 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.179e-05/0.7511, allocations: 0 / 0.6606 GB, free: 14.91 MB / 474.7 MB Notification: Performance of matching and sorting (n=373) (initialization): time 0.05769/0.8088, allocations: 14.79 MB / 0.6751 GB, free: 64 kB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0003844/0.8092, allocations: 295.4 kB / 0.6753 GB, free: 15.68 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.593e-05/0.8093, allocations: 4 kB / 0.6753 GB, free: 15.67 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0427/0.852, allocations: 6.437 MB / 0.6816 GB, free: 9.227 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004992/0.857, allocations: 487.3 kB / 0.6821 GB, free: 8.75 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1273/0.9844, allocations: 25.16 MB / 0.7067 GB, free: 15.43 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00585/0.9902, allocations: 0.5286 MB / 0.7072 GB, free: 14.9 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004732/0.9907, allocations: 99.97 kB / 0.7073 GB, free: 14.8 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.149e-05/0.9908, allocations: 5.406 kB / 0.7073 GB, free: 14.8 MB / 0.5105 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.04592/1.037, allocations: 14.49 MB / 0.7214 GB, free: 280 kB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.104e-05/1.037, allocations: 8 kB / 0.7214 GB, free: 272 kB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02036/1.057, allocations: 6.43 MB / 0.7277 GB, free: 9.832 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002787/1.06, allocations: 471.3 kB / 0.7282 GB, free: 9.371 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.06241/1.122, allocations: 25.17 MB / 0.7527 GB, free: 44 kB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004088/1.127, allocations: 497.6 kB / 0.7532 GB, free: 15.55 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003087/1.127, allocations: 104 kB / 0.7533 GB, free: 15.45 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 order3_1.e1q:VARIABLE(start = order3_1.e1q0 unit = "1" fixed = true ) "q-axis transient voltage" type: Real order3_1.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 (283): * Single equations (assignments): 282 * 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: 0 * Non-linear torn systems: 1 {65 26} Notification: Performance of prepare postOptimizeDAE: time 0.001329/1.128, allocations: 0.5019 MB / 0.7538 GB, free: 14.94 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005754/1.129, allocations: 272.6 kB / 0.7541 GB, free: 14.67 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.04254/1.171, allocations: 14.26 MB / 0.768 GB, free: 396 kB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.38e-05/1.171, allocations: 20 kB / 0.768 GB, free: 376 kB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.579e-05/1.171, allocations: 20 kB / 0.768 GB, free: 356 kB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.821e-05/1.172, allocations: 7.969 kB / 0.768 GB, free: 348 kB / 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.2787/1.45, allocations: 17.79 MB / 0.7854 GB, free: 160 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.737e-05/1.45, allocations: 0 / 0.7854 GB, free: 160 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001586/1.452, allocations: 240.4 kB / 0.7856 GB, free: 160 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01782/1.47, allocations: 6.091 MB / 0.7916 GB, free: 159.9 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007039/1.47, allocations: 42.16 kB / 0.7916 GB, free: 159.9 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.05659/1.527, allocations: 21.38 MB / 0.8125 GB, free: 153.1 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.052e-06/1.527, allocations: 0 / 0.8125 GB, free: 153.1 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.04611/1.573, allocations: 16.73 MB / 0.8288 GB, free: 145.5 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009231/1.574, allocations: 378.5 kB / 0.8292 GB, free: 145.1 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001005/1.575, allocations: 40 kB / 0.8292 GB, free: 145.1 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003243/1.578, allocations: 361.5 kB / 0.8296 GB, free: 144.8 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002162/1.581, allocations: 0.5442 MB / 0.8301 GB, free: 144.5 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004324/1.581, allocations: 55.33 kB / 0.8302 GB, free: 144.5 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 0.001884/1.583, allocations: 1.274 MB / 0.8314 GB, free: 143.4 MB / 0.5573 GB Notification: Performance of sort global known variables: time 2.3e-07/1.583, allocations: 0 / 0.8314 GB, free: 143.4 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.005918/1.589, allocations: 1.827 MB / 0.8332 GB, free: 141.6 MB / 0.5573 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 (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 {(66,7.7%) 22} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0005326/1.589, allocations: 170.8 kB / 0.8334 GB, free: 141.5 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.03055/1.62, allocations: 12.19 MB / 0.8453 GB, free: 131 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 7.985e-06/1.62, allocations: 0 / 0.8453 GB, free: 131 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.01308/1.633, allocations: 4.6 MB / 0.8498 GB, free: 127 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002666/1.636, allocations: 222.8 kB / 0.85 GB, free: 126.8 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009644/1.646, allocations: 5.979 MB / 0.8558 GB, free: 120.8 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001266/1.647, allocations: 1.733 MB / 0.8575 GB, free: 119 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008033/1.648, allocations: 155.4 kB / 0.8576 GB, free: 118.9 MB / 0.5573 GB Notification: Performance of SimCode: time 7.92e-07/1.648, allocations: 4 kB / 0.8576 GB, free: 118.9 MB / 0.5573 GB Notification: Performance of Templates: time 0.0592/1.707, allocations: 51.64 MB / 0.9081 GB, free: 67.2 MB / 0.5573 GB make -j1 -f OpenIPSL_release_OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRIII.makefile (rm -f OpenIPSL_release_OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRIII.pipe ; mkfifo OpenIPSL_release_OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRIII.pipe ; head -c 1048576 < OpenIPSL_release_OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRIII.pipe >> ../files/OpenIPSL_release_OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRIII.sim & ./OpenIPSL_release_OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRIII -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_release_OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRIII.pipe 2>&1)