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: "" <> buildModelFMU(OpenIPSL.Examples.PSATSystems.ThreeArea.FifthOrder_AVRII,fileNamePrefix="OpenIPSL_release_OpenIPSL_Examples_PSATSystems_ThreeArea_FifthOrder_AVRII",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Examples.PSATSystems.ThreeArea.FifthOrder_AVRII,fileNamePrefix="OpenIPSL_release_OpenIPSL_Examples_PSATSystems_ThreeArea_FifthOrder_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.0009708/0.0009708, allocations: 174.4 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.353/1.353, allocations: 223.2 MB / 239.5 MB, free: 1.605 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.0008772/0.0008771, allocations: 89.52 kB / 290.6 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.5736/0.5736, allocations: 78.62 MB / 420.4 MB, free: 44.05 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004059/0.000406, allocations: 8.281 kB / 0.4889 GB, free: 2.438 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4628/0.4633, allocations: 69.34 MB / 0.5566 GB, free: 39.16 MB / 426.7 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.PSATSystems.ThreeArea.FifthOrder_AVRII): time 0.01201/0.4753, allocations: 13.9 MB / 0.5702 GB, free: 31.14 MB / 426.7 MB Notification: Performance of NFInst.instExpressions: time 0.008572/0.484, allocations: 3.603 MB / 0.5737 GB, free: 29.08 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003938/0.4879, allocations: 30.09 kB / 0.5737 GB, free: 29.08 MB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002174/0.4901, allocations: 440.8 kB / 0.5741 GB, free: 28.91 MB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00672/0.4969, allocations: 1.238 MB / 0.5753 GB, free: 28.07 MB / 426.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.004297/0.5012, allocations: 1.418 MB / 0.5767 GB, free: 27.29 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 0.005555/0.5068, allocations: 3.571 MB / 0.5802 GB, free: 25.54 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001712/0.5085, allocations: 0.8015 MB / 0.581 GB, free: 25.09 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002686/0.5112, allocations: 1.344 MB / 0.5823 GB, free: 24.46 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003256/0.5145, allocations: 1.808 MB / 0.5841 GB, free: 23.64 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0008166/0.5154, allocations: 141.6 kB / 0.5842 GB, free: 23.64 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0011/0.5165, allocations: 277.3 kB / 0.5845 GB, free: 23.6 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0004638/0.5169, allocations: 0.6176 MB / 0.5851 GB, free: 23.23 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001306/0.5183, allocations: 1.504 MB / 0.5865 GB, free: 22.23 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003122/0.5214, allocations: 3.762 MB / 0.5902 GB, free: 20.79 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.712e-06/0.5214, allocations: 0 / 0.5902 GB, free: 20.79 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.483e-06/0.5214, allocations: 0 / 0.5902 GB, free: 20.79 MB / 426.7 MB Notification: Performance of Transformations before backend: time 8.513e-05/0.5215, allocations: 0 / 0.5902 GB, free: 20.79 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.01949/0.541, allocations: 6.182 MB / 0.5963 GB, free: 18.53 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.901e-05/0.5411, allocations: 6.875 kB / 0.5963 GB, free: 18.53 MB / 426.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001067/0.5421, allocations: 308.6 kB / 0.5966 GB, free: 18.33 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01445/0.5566, allocations: 2.299 MB / 0.5988 GB, free: 17.91 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004469/0.5611, allocations: 1.897 MB / 0.6007 GB, free: 16.74 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006872/0.5618, allocations: 0.7572 MB / 0.6014 GB, free: 16.08 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007283/0.5626, allocations: 214.8 kB / 0.6016 GB, free: 16.01 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007048/0.5696, allocations: 3.244 MB / 0.6048 GB, free: 14.83 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.463e-05/0.5697, allocations: 1.312 kB / 0.6048 GB, free: 14.83 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002338/0.57, allocations: 88.38 kB / 0.6049 GB, free: 14.76 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.675e-05/0.57, allocations: 49.62 kB / 0.6049 GB, free: 14.76 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006589/0.5766, allocations: 2.993 MB / 0.6078 GB, free: 13.79 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.02197/0.5986, allocations: 10.18 MB / 0.6178 GB, free: 8.199 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01137/0.61, allocations: 4.893 MB / 0.6225 GB, free: 5.766 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004162/0.6142, allocations: 2.183 MB / 0.6247 GB, free: 3.688 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003547/0.6146, allocations: 45.95 kB / 0.6247 GB, free: 3.645 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004179/0.6188, allocations: 2.439 MB / 0.6271 GB, free: 1.184 MB / 426.7 MB Notification: Performance of pre-optimization done (n=249): time 5.32e-06/0.6188, allocations: 0 / 0.6271 GB, free: 1.184 MB / 426.7 MB Notification: Performance of matching and sorting (n=249): time 0.1177/0.7365, allocations: 33.64 MB / 0.66 GB, free: 15.42 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001102/0.7367, allocations: 184.2 kB / 0.6601 GB, free: 15.2 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003911/0.7406, allocations: 2.321 MB / 0.6624 GB, free: 12.86 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0009665/0.7416, allocations: 73.69 kB / 0.6625 GB, free: 12.78 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001104/0.7427, allocations: 1.172 MB / 0.6636 GB, free: 11.6 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001615/0.7443, allocations: 0.8781 MB / 0.6645 GB, free: 10.71 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005237/0.7448, allocations: 288.6 kB / 0.6647 GB, free: 10.42 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0001195/0.745, allocations: 305.1 kB / 0.665 GB, free: 10.12 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004599/0.7496, allocations: 2.177 MB / 0.6672 GB, free: 7.938 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004827/0.7544, allocations: 2.542 MB / 0.6696 GB, free: 5.305 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.05704/0.8115, allocations: 15.68 MB / 0.685 GB, free: 5.391 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.786e-05/0.8116, allocations: 7.938 kB / 0.685 GB, free: 5.383 MB / 490.7 MB Notification: Performance of matching and sorting (n=421) (initialization): time 0.04532/0.8569, allocations: 15.36 MB / 0.7 GB, free: 5.949 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001587/0.8571, allocations: 118.8 kB / 0.7001 GB, free: 5.809 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.359e-05/0.8572, allocations: 8 kB / 0.7001 GB, free: 5.801 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01847/0.8756, allocations: 6.23 MB / 0.7062 GB, free: 15.57 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0033/0.879, allocations: 0.589 MB / 0.7067 GB, free: 14.98 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0599/0.9389, allocations: 24.49 MB / 0.7307 GB, free: 6.32 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004915/0.9439, allocations: 0.5908 MB / 0.7312 GB, free: 5.727 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008499/0.9448, allocations: 120 kB / 0.7314 GB, free: 5.609 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.001756/0.9466, allocations: 0.5395 MB / 0.7319 GB, free: 5.051 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008721/0.9474, allocations: 300.2 kB / 0.7322 GB, free: 4.754 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.04155/0.989, allocations: 14.77 MB / 0.7466 GB, free: 5.891 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.348e-05/0.9891, allocations: 28 kB / 0.7466 GB, free: 5.863 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.573e-05/0.9891, allocations: 16 kB / 0.7466 GB, free: 5.848 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.797e-05/0.9892, allocations: 11.95 kB / 0.7466 GB, free: 5.836 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.04762/1.037, allocations: 18.41 MB / 0.7646 GB, free: 3.211 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.301e-05/1.037, allocations: 0 / 0.7646 GB, free: 3.211 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001785/1.039, allocations: 251.6 kB / 0.7649 GB, free: 2.965 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.4732/1.512, allocations: 6.293 MB / 0.771 GB, free: 162.6 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0009743/1.513, allocations: 49.47 kB / 0.7711 GB, free: 162.6 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.05808/1.571, allocations: 25.53 MB / 0.796 GB, free: 155.8 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.46e-06/1.571, allocations: 5.469 kB / 0.796 GB, free: 155.8 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.05583/1.627, allocations: 17.35 MB / 0.8129 GB, free: 151.9 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001497/1.628, allocations: 419.7 kB / 0.8133 GB, free: 151.6 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001249/1.63, allocations: 52.41 kB / 0.8134 GB, free: 151.6 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003411/1.633, allocations: 407.9 kB / 0.8138 GB, free: 151.6 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002428/1.636, allocations: 0.5674 MB / 0.8143 GB, free: 151.5 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002651/1.636, allocations: 66.8 kB / 0.8144 GB, free: 151.4 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 0.002195/1.638, allocations: 1.534 MB / 0.8159 GB, free: 150.9 MB / 0.5573 GB Notification: Performance of sort global known variables: time 2.41e-07/1.638, allocations: 2.438 kB / 0.8159 GB, free: 150.9 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.004358/1.642, allocations: 1.178 MB / 0.817 GB, free: 150.7 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.04448/1.687, allocations: 17.99 MB / 0.8346 GB, free: 139.5 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.02437/1.711, allocations: 7.548 MB / 0.842 GB, free: 132.9 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 1.186e-05/1.711, allocations: 0 / 0.842 GB, free: 132.9 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.01935/1.731, allocations: 5.118 MB / 0.847 GB, free: 128.5 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004783/1.736, allocations: 280.8 kB / 0.8472 GB, free: 128.2 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1146/1.85, allocations: 53.42 MB / 0.8994 GB, free: 73.76 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001127/1.852, allocations: 1.815 MB / 0.9012 GB, free: 71.91 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.001388/1.853, allocations: 270.5 kB / 0.9014 GB, free: 71.65 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001349/1.854, allocations: 1.226 MB / 0.9026 GB, free: 70.42 MB / 0.5573 GB Notification: Performance of SimCode: time 7.81e-07/1.854, allocations: 4 kB / 0.9026 GB, free: 70.42 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1097/1.964, allocations: 80.23 MB / 0.981 GB, free: 6.434 MB / 0.573 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002113/1.964, allocations: 249.3 kB / 0.9812 GB, free: 6.176 MB / 0.573 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.038/7.002, allocations: 7.391 kB / 0.9812 GB, free: 6.172 MB / 0.573 GB (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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_OpenIPSL_release_OpenIPSL_Examples_PSATSystems_ThreeArea_FifthOrder_AVRII_fmu --startTime=0 --stopTime=20 --timeout=50 --tolerance=1e-06 OpenIPSL_release_OpenIPSL_Examples_PSATSystems_ThreeArea_FifthOrder_AVRII.fmu > OpenIPSL_release_OpenIPSL.Examples.PSATSystems.ThreeArea.FifthOrder_AVRII.pipe 2>&1)