Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_release_OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_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: "" <> buildModelFMU(OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_AVRII,fileNamePrefix="OpenIPSL_release_OpenIPSL_Examples_PSATSystems_ThreeArea_SixthOrder_AVRII",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_AVRII,fileNamePrefix="OpenIPSL_release_OpenIPSL_Examples_PSATSystems_ThreeArea_SixthOrder_AVRII",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.007373/0.007373, allocations: 168.3 kB / 15.13 MB, free: 6.027 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.496/1.496, allocations: 223.2 MB / 239.1 MB, free: 15.98 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008424/0.0008423, allocations: 99.47 kB / 290.3 MB, free: 4.504 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.4585/0.4585, allocations: 78.61 MB / 420 MB, free: 36.38 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003383/0.0003384, allocations: 16 kB / 500 MB, free: 7.129 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1234/0.1238, allocations: 69.35 MB / 0.556 GB, free: 1.715 MB / 426.7 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_AVRII): time 0.01074/0.1346, allocations: 12.96 MB / 0.5687 GB, free: 4.711 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.007212/0.1418, allocations: 3.496 MB / 0.5721 GB, free: 1.199 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002306/0.1442, allocations: 32 kB / 0.5721 GB, free: 1.168 MB / 442.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001316/0.1455, allocations: 389 kB / 0.5725 GB, free: 0.7852 MB / 442.7 MB Notification: Performance of NFTyping.typeBindings: time 0.2462/0.3917, allocations: 1.209 MB / 0.5737 GB, free: 31.89 MB / 442.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00347/0.3952, allocations: 1.289 MB / 0.5749 GB, free: 31.89 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 0.005168/0.4004, allocations: 3.409 MB / 0.5782 GB, free: 31.86 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001323/0.4017, allocations: 0.6998 MB / 0.5789 GB, free: 31.74 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002343/0.4041, allocations: 1.331 MB / 0.5802 GB, free: 31.39 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002415/0.4065, allocations: 1.757 MB / 0.5819 GB, free: 31.01 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0005102/0.407, allocations: 146.1 kB / 0.5821 GB, free: 31.01 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009688/0.408, allocations: 275.8 kB / 0.5823 GB, free: 31 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0004746/0.4085, allocations: 0.5992 MB / 0.5829 GB, free: 30.86 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000865/0.4094, allocations: 0.5268 MB / 0.5834 GB, free: 30.71 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003104/0.4125, allocations: 2.997 MB / 0.5864 GB, free: 30.38 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.821e-06/0.4125, allocations: 3.219 kB / 0.5864 GB, free: 30.38 MB / 442.7 MB Notification: Performance of FrontEnd: time 1.924e-06/0.4125, allocations: 0 / 0.5864 GB, free: 30.38 MB / 442.7 MB Notification: Performance of Transformations before backend: time 0.0001213/0.4126, allocations: 1.312 kB / 0.5864 GB, free: 30.38 MB / 442.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 525 * Number of variables: 525 Notification: Performance of Generate backend data structure: time 0.02259/0.4352, allocations: 6.258 MB / 0.5925 GB, free: 28.59 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.329e-05/0.4353, allocations: 10.28 kB / 0.5925 GB, free: 28.59 MB / 442.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001168/0.4365, allocations: 298.5 kB / 0.5928 GB, free: 28.54 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01514/0.4516, allocations: 2.307 MB / 0.595 GB, free: 28.31 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003907/0.4556, allocations: 1.81 MB / 0.5968 GB, free: 27.75 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006212/0.4562, allocations: 0.7515 MB / 0.5975 GB, free: 27.18 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004739/0.4567, allocations: 214.9 kB / 0.5977 GB, free: 27.18 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006183/0.4629, allocations: 3.241 MB / 0.6009 GB, free: 26.96 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.754e-05/0.463, allocations: 0 / 0.6009 GB, free: 26.96 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002564/0.4632, allocations: 83.98 kB / 0.601 GB, free: 26.96 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.726e-05/0.4633, allocations: 55.03 kB / 0.601 GB, free: 26.95 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005939/0.4692, allocations: 2.992 MB / 0.604 GB, free: 26.88 MB / 442.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.01869/0.4879, allocations: 10.21 MB / 0.6139 GB, free: 24.05 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01218/0.5001, allocations: 4.897 MB / 0.6187 GB, free: 22.3 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.005035/0.5052, allocations: 2.169 MB / 0.6208 GB, free: 21.5 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003163/0.5055, allocations: 42.27 kB / 0.6209 GB, free: 21.5 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.005459/0.511, allocations: 2.449 MB / 0.6233 GB, free: 20.68 MB / 442.7 MB Notification: Performance of pre-optimization done (n=250): time 5.3e-06/0.511, allocations: 3.938 kB / 0.6233 GB, free: 20.68 MB / 442.7 MB Notification: Performance of matching and sorting (n=250): time 0.1256/0.6366, allocations: 35.35 MB / 0.6578 GB, free: 10.8 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.153e-05/0.6367, allocations: 188.3 kB / 0.658 GB, free: 10.58 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003525/0.6403, allocations: 2.306 MB / 0.6602 GB, free: 8.254 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0007045/0.641, allocations: 73.69 kB / 0.6603 GB, free: 8.176 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008446/0.6419, allocations: 1.185 MB / 0.6615 GB, free: 6.992 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001018/0.6429, allocations: 0.878 MB / 0.6623 GB, free: 6.121 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002553/0.6432, allocations: 68 kB / 0.6624 GB, free: 6.055 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0001807/0.6433, allocations: 433 kB / 0.6628 GB, free: 5.625 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004663/0.648, allocations: 2.173 MB / 0.6649 GB, free: 3.449 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004911/0.6529, allocations: 2.542 MB / 0.6674 GB, free: 0.8164 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004917/0.6579, allocations: 2.451 MB / 0.6698 GB, free: 14.33 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.818e-06/0.6579, allocations: 4 kB / 0.6698 GB, free: 14.32 MB / 474.7 MB Notification: Performance of matching and sorting (n=425) (initialization): time 0.04647/0.7044, allocations: 15.31 MB / 0.6847 GB, free: 14.95 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.785e-05/0.7045, allocations: 118.8 kB / 0.6849 GB, free: 14.81 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.272e-05/0.7045, allocations: 7.938 kB / 0.6849 GB, free: 14.8 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.02166/0.7262, allocations: 6.504 MB / 0.6912 GB, free: 8.301 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003127/0.7293, allocations: 0.5695 MB / 0.6918 GB, free: 7.73 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.06485/0.7942, allocations: 26.52 MB / 0.7177 GB, free: 12.95 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005375/0.7996, allocations: 0.5908 MB / 0.7182 GB, free: 12.36 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005355/0.8002, allocations: 121 kB / 0.7184 GB, free: 12.24 MB / 0.5105 GB Warning: Assuming fixed start value for the following 6 variables: Exc2.firstOrder2.y:VARIABLE(flow=false start = Exc2.firstOrder2.y_start fixed = true ) "Connector of Real output signal" type: Real Exc1.firstOrder2.y:VARIABLE(flow=false start = Exc1.firstOrder2.y_start fixed = true ) "Connector of Real output signal" 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: 4 ($whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (334): * Single equations (assignments): 328 * Array equations: 0 * Algorithm blocks: 4 * 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 {65 26} Notification: Performance of prepare postOptimizeDAE: time 0.001506/0.8017, allocations: 0.5394 MB / 0.7189 GB, free: 11.69 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006547/0.8024, allocations: 300.3 kB / 0.7192 GB, free: 11.39 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.04535/0.8477, allocations: 14.77 MB / 0.7336 GB, free: 12.52 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.463e-05/0.8478, allocations: 28.98 kB / 0.7336 GB, free: 12.49 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.093e-05/0.8478, allocations: 20 kB / 0.7336 GB, free: 12.47 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.025e-05/0.8479, allocations: 11.95 kB / 0.7337 GB, free: 12.46 MB / 0.5261 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.05073/0.8987, allocations: 18.41 MB / 0.7516 GB, free: 9.895 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.97e-05/0.8987, allocations: 4 kB / 0.7516 GB, free: 9.891 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001711/0.9004, allocations: 250.3 kB / 0.7519 GB, free: 9.648 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01986/0.9203, allocations: 6.26 MB / 0.758 GB, free: 3.375 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007837/0.9211, allocations: 58.55 kB / 0.7581 GB, free: 3.32 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.05938/0.9805, allocations: 25.49 MB / 0.7829 GB, free: 9.434 MB / 0.573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.322e-06/0.9806, allocations: 7.984 kB / 0.783 GB, free: 9.426 MB / 0.573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.2973/1.278, allocations: 17.35 MB / 0.7999 GB, free: 156.6 MB / 0.573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001009/1.279, allocations: 418.9 kB / 0.8003 GB, free: 156.5 MB / 0.573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007414/1.28, allocations: 48.31 kB / 0.8003 GB, free: 156.5 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00352/1.283, allocations: 411 kB / 0.8007 GB, free: 156.5 MB / 0.573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002152/1.285, allocations: 0.5773 MB / 0.8013 GB, free: 156.5 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002405/1.286, allocations: 68.81 kB / 0.8014 GB, free: 156.5 MB / 0.573 GB Notification: Performance of sorting global known variables: time 0.002459/1.288, allocations: 1.517 MB / 0.8028 GB, free: 156.3 MB / 0.573 GB Notification: Performance of sort global known variables: time 2.2e-07/1.288, allocations: 3.938 kB / 0.8029 GB, free: 156.3 MB / 0.573 GB Notification: Performance of remove unused functions: time 0.003838/1.292, allocations: 1.2 MB / 0.804 GB, free: 156.3 MB / 0.573 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 19 (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.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 (159): * Single equations (assignments): 154 * Array equations: 0 * Algorithm blocks: 2 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 3 * 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: 2 {1 6,1 6} Notification: Performance of Backend phase and start with SimCode phase: time 0.04721/1.339, allocations: 17.98 MB / 0.8216 GB, free: 155.3 MB / 0.573 GB Notification: Performance of simCode: created initialization part: time 0.0198/1.359, allocations: 7.702 MB / 0.8291 GB, free: 154.4 MB / 0.573 GB Notification: Performance of simCode: created event and clocks part: time 6.142e-06/1.359, allocations: 0 / 0.8291 GB, free: 154.4 MB / 0.573 GB Notification: Performance of simCode: created simulation system equations: time 0.01485/1.374, allocations: 5.111 MB / 0.8341 GB, free: 153.5 MB / 0.573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002551/1.376, allocations: 263.2 kB / 0.8343 GB, free: 153.5 MB / 0.573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0756/1.452, allocations: 34.46 MB / 0.868 GB, free: 135.8 MB / 0.573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001157/1.453, allocations: 1.821 MB / 0.8698 GB, free: 134.3 MB / 0.573 GB Notification: Performance of simCode: alias equations: time 0.001256/1.455, allocations: 262.8 kB / 0.87 GB, free: 134.2 MB / 0.573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001365/1.456, allocations: 1.236 MB / 0.8712 GB, free: 133 MB / 0.573 GB Notification: Performance of SimCode: time 6.81e-07/1.456, allocations: 0 / 0.8712 GB, free: 133 MB / 0.573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09926/1.555, allocations: 81.99 MB / 0.9513 GB, free: 53.29 MB / 0.573 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001307/1.555, allocations: 225.9 kB / 0.9515 GB, free: 53.05 MB / 0.573 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.892/6.448, allocations: 0 / 0.9515 GB, free: 53.05 MB / 0.573 GB (rm -f OpenIPSL_release_OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_AVRII.pipe ; mkfifo OpenIPSL_release_OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_AVRII.pipe ; head -c 1048576 < OpenIPSL_release_OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_AVRII.pipe >> ../files/OpenIPSL_release_OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_AVRII.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_OpenIPSL_release_OpenIPSL_Examples_PSATSystems_ThreeArea_SixthOrder_AVRII_fmu --startTime=0 --stopTime=20 --timeout=50 --tolerance=1e-06 OpenIPSL_release_OpenIPSL_Examples_PSATSystems_ThreeArea_SixthOrder_AVRII.fmu > OpenIPSL_release_OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_AVRII.pipe 2>&1)