Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_release_OpenIPSL.Examples.PSATSystems.ThreeArea.FifthOrder_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.FifthOrder_AVRII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_release_OpenIPSL.Examples.PSATSystems.ThreeArea.FifthOrder_AVRII") translateModel(OpenIPSL.Examples.PSATSystems.ThreeArea.FifthOrder_AVRII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_release_OpenIPSL.Examples.PSATSystems.ThreeArea.FifthOrder_AVRII") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0008183/0.0008183, allocations: 178.9 kB / 15.45 MB, free: 6.23 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.186/1.186, allocations: 223.3 MB / 239.5 MB, free: 1.617 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.0007449/0.0007448, allocations: 95.14 kB / 290.7 MB, free: 13.8 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.4113/0.4113, allocations: 78.62 MB / 420.4 MB, free: 44.07 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000325/0.000325, allocations: 12 kB / 0.4888 GB, free: 2.539 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2935/0.2938, allocations: 69.35 MB / 0.5565 GB, free: 39.04 MB / 426.7 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.PSATSystems.ThreeArea.FifthOrder_AVRII): time 0.009241/0.3031, allocations: 13.89 MB / 0.5701 GB, free: 31.02 MB / 426.7 MB Notification: Performance of NFInst.instExpressions: time 0.006699/0.3099, allocations: 3.612 MB / 0.5736 GB, free: 28.96 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00204/0.3119, allocations: 34.94 kB / 0.5736 GB, free: 28.96 MB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001002/0.3129, allocations: 440.1 kB / 0.5741 GB, free: 28.79 MB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003468/0.3164, allocations: 1.236 MB / 0.5753 GB, free: 27.95 MB / 426.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002683/0.3191, allocations: 1.41 MB / 0.5766 GB, free: 27.17 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 0.002986/0.3221, allocations: 3.579 MB / 0.5801 GB, free: 25.41 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008681/0.323, allocations: 0.7939 MB / 0.5809 GB, free: 24.98 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00155/0.3245, allocations: 1.347 MB / 0.5822 GB, free: 24.34 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001373/0.3259, allocations: 1.796 MB / 0.584 GB, free: 23.53 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002718/0.3262, allocations: 144.5 kB / 0.5841 GB, free: 23.53 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005967/0.3268, allocations: 281.8 kB / 0.5844 GB, free: 23.48 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0003536/0.3272, allocations: 0.6194 MB / 0.585 GB, free: 23.11 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0008669/0.328, allocations: 1.506 MB / 0.5865 GB, free: 22.11 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00226/0.3303, allocations: 3.759 MB / 0.5901 GB, free: 20.68 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.087e-06/0.3303, allocations: 0 / 0.5901 GB, free: 20.68 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.293e-06/0.3303, allocations: 0 / 0.5901 GB, free: 20.68 MB / 426.7 MB Notification: Performance of Transformations before backend: time 5.946e-05/0.3304, allocations: 0 / 0.5901 GB, free: 20.68 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: 524 * Number of variables: 524 Notification: Performance of Generate backend data structure: time 0.01778/0.3482, allocations: 6.19 MB / 0.5962 GB, free: 18.4 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.312e-05/0.3482, allocations: 7.188 kB / 0.5962 GB, free: 18.4 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01353/0.3618, allocations: 2.301 MB / 0.5984 GB, free: 17.98 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00333/0.3651, allocations: 1.889 MB / 0.6003 GB, free: 16.82 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005666/0.3657, allocations: 0.7581 MB / 0.601 GB, free: 16.15 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004109/0.3661, allocations: 217.8 kB / 0.6012 GB, free: 16.08 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005642/0.3718, allocations: 3.24 MB / 0.6044 GB, free: 14.91 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.619e-05/0.3718, allocations: 0 / 0.6044 GB, free: 14.91 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002124/0.372, allocations: 86.06 kB / 0.6045 GB, free: 14.84 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.722e-05/0.3721, allocations: 53.22 kB / 0.6045 GB, free: 14.84 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005402/0.3775, allocations: 2.993 MB / 0.6074 GB, free: 13.87 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.01667/0.3942, allocations: 10.19 MB / 0.6174 GB, free: 8.297 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01022/0.4044, allocations: 4.901 MB / 0.6222 GB, free: 5.938 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003453/0.4079, allocations: 2.183 MB / 0.6243 GB, free: 4 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002696/0.4082, allocations: 37.97 kB / 0.6243 GB, free: 3.965 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00365/0.4118, allocations: 2.443 MB / 0.6267 GB, free: 1.5 MB / 426.7 MB Notification: Performance of pre-optimization done (n=249): time 3.587e-06/0.4119, allocations: 0 / 0.6267 GB, free: 1.5 MB / 426.7 MB Notification: Performance of matching and sorting (n=249): time 0.1129/0.5248, allocations: 33.64 MB / 0.6596 GB, free: 15.73 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.92e-05/0.5249, allocations: 184.2 kB / 0.6598 GB, free: 15.52 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003223/0.5281, allocations: 2.317 MB / 0.662 GB, free: 13.18 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0005397/0.5287, allocations: 73.69 kB / 0.6621 GB, free: 13.1 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008091/0.5295, allocations: 1.176 MB / 0.6632 GB, free: 11.92 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000841/0.5303, allocations: 0.878 MB / 0.6641 GB, free: 11.03 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000399/0.5307, allocations: 296.6 kB / 0.6644 GB, free: 10.73 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 8.657e-05/0.5308, allocations: 301.1 kB / 0.6647 GB, free: 10.43 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004293/0.5351, allocations: 2.173 MB / 0.6668 GB, free: 8.258 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004526/0.5397, allocations: 2.542 MB / 0.6693 GB, free: 5.625 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.05255/0.5922, allocations: 15.67 MB / 0.6846 GB, free: 5.719 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.341e-05/0.5923, allocations: 7.938 kB / 0.6846 GB, free: 5.711 MB / 490.7 MB Notification: Performance of matching and sorting (n=421) (initialization): time 0.04391/0.6362, allocations: 15.37 MB / 0.6996 GB, free: 6.266 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 8.033e-05/0.6363, allocations: 114.8 kB / 0.6997 GB, free: 6.129 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.07e-05/0.6363, allocations: 12 kB / 0.6997 GB, free: 6.117 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01712/0.6535, allocations: 6.226 MB / 0.7058 GB, free: 15.89 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002961/0.6565, allocations: 0.5851 MB / 0.7064 GB, free: 15.3 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.05444/0.7109, allocations: 24.49 MB / 0.7303 GB, free: 6.645 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00408/0.715, allocations: 0.5947 MB / 0.7309 GB, free: 6.047 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004161/0.7155, allocations: 116 kB / 0.731 GB, free: 5.934 MB / 0.5261 GB Warning: Assuming fixed start value for the following 7 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.delta:VARIABLE(flow=false start = Syn2.delta0 unit = "rad" fixed = true ) "Rotor angle" 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 (334): * Single equations (assignments): 329 * 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): 1 system {(63,25,8.1%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001178/0.7167, allocations: 0.54 MB / 0.7315 GB, free: 5.375 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005291/0.7172, allocations: 304.2 kB / 0.7318 GB, free: 5.074 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.04024/0.7574, allocations: 14.77 MB / 0.7462 GB, free: 6.215 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.913e-05/0.7575, allocations: 31.94 kB / 0.7462 GB, free: 6.184 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.341e-05/0.7575, allocations: 16 kB / 0.7463 GB, free: 6.168 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.814e-05/0.7576, allocations: 15.95 kB / 0.7463 GB, free: 6.152 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.04385/0.8015, allocations: 18.41 MB / 0.7642 GB, free: 3.531 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.127e-05/0.8015, allocations: 3.938 kB / 0.7642 GB, free: 3.527 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001324/0.8028, allocations: 251.6 kB / 0.7645 GB, free: 3.281 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.2122/1.015, allocations: 6.28 MB / 0.7706 GB, free: 162.5 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005874/1.016, allocations: 52.69 kB / 0.7707 GB, free: 162.5 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.04744/1.063, allocations: 25.53 MB / 0.7956 GB, free: 155.7 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.785e-06/1.063, allocations: 0.9688 kB / 0.7956 GB, free: 155.7 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.04334/1.106, allocations: 17.35 MB / 0.8126 GB, free: 151.8 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008375/1.107, allocations: 416.1 kB / 0.8129 GB, free: 151.5 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004304/1.108, allocations: 52.27 kB / 0.813 GB, free: 151.5 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002572/1.11, allocations: 408.2 kB / 0.8134 GB, free: 151.5 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002024/1.112, allocations: 0.567 MB / 0.8139 GB, free: 151.4 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001825/1.113, allocations: 66.94 kB / 0.814 GB, free: 151.3 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 0.001794/1.114, allocations: 1.533 MB / 0.8155 GB, free: 150.8 MB / 0.5573 GB Notification: Performance of sort global known variables: time 2e-07/1.114, allocations: 0 / 0.8155 GB, free: 150.8 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.002559/1.117, allocations: 1.181 MB / 0.8167 GB, free: 150.6 MB / 0.5573 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 18 (order3_2.delta,order3_2.w,order3_2.e1q,order2.delta,order2.w,Syn2.delta,Syn2.w,Syn2.e1q,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 (158): * Single equations (assignments): 153 * 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 {(67,21,7.5%)} * 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.0003356/1.117, allocations: 173.7 kB / 0.8168 GB, free: 150.5 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.01524/1.133, allocations: 7.545 MB / 0.8242 GB, free: 147.7 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 4.459e-06/1.133, allocations: 448 / 0.8242 GB, free: 147.7 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.01117/1.144, allocations: 5.13 MB / 0.8292 GB, free: 143.2 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00209/1.146, allocations: 270.8 kB / 0.8295 GB, free: 143 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007405/1.153, allocations: 6.702 MB / 0.836 GB, free: 136.7 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008429/1.154, allocations: 1.82 MB / 0.8378 GB, free: 135.3 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.0008653/1.155, allocations: 266.3 kB / 0.838 GB, free: 135.1 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005107/1.156, allocations: 165.4 kB / 0.8382 GB, free: 134.9 MB / 0.5573 GB Notification: Performance of SimCode: time 6.51e-07/1.156, allocations: 0 / 0.8382 GB, free: 134.9 MB / 0.5573 GB Notification: Performance of Templates: time 0.06684/1.222, allocations: 56.72 MB / 0.8936 GB, free: 81.57 MB / 0.5573 GB make -j1 -f OpenIPSL_release_OpenIPSL.Examples.PSATSystems.ThreeArea.FifthOrder_AVRII.makefile (rm -f OpenIPSL_release_OpenIPSL.Examples.PSATSystems.ThreeArea.FifthOrder_AVRII.pipe ; mkfifo OpenIPSL_release_OpenIPSL.Examples.PSATSystems.ThreeArea.FifthOrder_AVRII.pipe ; head -c 1048576 < OpenIPSL_release_OpenIPSL.Examples.PSATSystems.ThreeArea.FifthOrder_AVRII.pipe >> ../files/OpenIPSL_release_OpenIPSL.Examples.PSATSystems.ThreeArea.FifthOrder_AVRII.sim & ./OpenIPSL_release_OpenIPSL.Examples.PSATSystems.ThreeArea.FifthOrder_AVRII -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_release_OpenIPSL.Examples.PSATSystems.ThreeArea.FifthOrder_AVRII.pipe 2>&1)