Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_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.0.1/package.mo", uses=false) Using package OpenIPSL with version 3.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/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_OpenIPSL_Examples_PSATSystems_ThreeArea_FifthOrder_AVRII",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Examples.PSATSystems.ThreeArea.FifthOrder_AVRII,fileNamePrefix="OpenIPSL_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.006181/0.006181, allocations: 172 kB / 15.11 MB, free: 5.969 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.417/1.417, allocations: 223.2 MB / 239 MB, free: 1.789 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.0009326/0.0009328, allocations: 104.2 kB / 290.2 MB, free: 13.94 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.4784/0.4784, allocations: 78.52 MB / 419.8 MB, free: 44.05 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005756/0.0005756, allocations: 15.98 kB / 499.8 MB, free: 2.629 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4116/0.4122, allocations: 69.35 MB / 0.5558 GB, free: 38.71 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1336/0.5459, allocations: 100.7 MB / 0.6542 GB, free: 5.633 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002811/0.5462, allocations: 83.95 kB / 0.6542 GB, free: 5.551 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1779/0.7241, allocations: 70.33 MB / 0.7229 GB, free: 14.83 MB / 0.5261 GB Notification: Performance of FrontEnd: time 1.883e-06/0.7242, allocations: 0 / 0.7229 GB, free: 14.83 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 0.0001617/0.7243, allocations: 59.94 kB / 0.723 GB, free: 14.77 MB / 0.5261 GB 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.01487/0.7392, allocations: 4.695 MB / 0.7276 GB, free: 9.984 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 5.087e-05/0.7393, allocations: 8.031 kB / 0.7276 GB, free: 9.977 MB / 0.5261 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001287/0.7406, allocations: 299.3 kB / 0.7279 GB, free: 9.672 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00977/0.7503, allocations: 1.623 MB / 0.7294 GB, free: 8.043 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00484/0.7552, allocations: 1.713 MB / 0.7311 GB, free: 6.266 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008646/0.7561, allocations: 0.7448 MB / 0.7318 GB, free: 5.406 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001152/0.7573, allocations: 208 kB / 0.732 GB, free: 5.203 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007154/0.7645, allocations: 3.215 MB / 0.7352 GB, free: 1.91 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.037e-05/0.7645, allocations: 7.891 kB / 0.7352 GB, free: 1.902 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002549/0.7648, allocations: 83.98 kB / 0.7353 GB, free: 1.82 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.043e-05/0.7648, allocations: 52 kB / 0.7353 GB, free: 1.77 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005898/0.7707, allocations: 2.979 MB / 0.7382 GB, free: 14.77 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 preOpt removeSimpleEquations (simulation): time 0.01862/0.7894, allocations: 9.983 MB / 0.748 GB, free: 4.371 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01136/0.8008, allocations: 4.872 MB / 0.7527 GB, free: 15.36 MB / 0.5573 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000476/0.8013, allocations: 45.97 kB / 0.7528 GB, free: 15.31 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.005146/0.8064, allocations: 2.428 MB / 0.7552 GB, free: 12.87 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=249): time 5.229e-06/0.8065, allocations: 0 / 0.7552 GB, free: 12.87 MB / 0.5573 GB Notification: Performance of matching and sorting (n=249): time 0.4355/1.242, allocations: 31.91 MB / 0.7863 GB, free: 118 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001081/1.242, allocations: 191.1 kB / 0.7865 GB, free: 117.8 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003406/1.246, allocations: 1.952 MB / 0.7884 GB, free: 117.6 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 0.0007746/1.246, allocations: 71.69 kB / 0.7885 GB, free: 117.5 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 0.001088/1.247, allocations: 1.213 MB / 0.7897 GB, free: 117.3 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 0.0013/1.249, allocations: 0.8532 MB / 0.7905 GB, free: 116.8 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001976/1.249, allocations: 53.34 kB / 0.7905 GB, free: 116.8 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 0.0001342/1.249, allocations: 405.6 kB / 0.7909 GB, free: 116.5 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003751/1.253, allocations: 1.888 MB / 0.7928 GB, free: 116.5 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004565/1.257, allocations: 2.199 MB / 0.7949 GB, free: 116.2 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004554/1.262, allocations: 2.113 MB / 0.797 GB, free: 115.9 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.862e-05/1.262, allocations: 1.281 kB / 0.797 GB, free: 115.9 MB / 0.5573 GB Notification: Performance of matching and sorting (n=318) (initialization): time 0.04552/1.308, allocations: 14.5 MB / 0.8111 GB, free: 114.9 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001028/1.308, allocations: 111.2 kB / 0.8112 GB, free: 114.8 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.515e-05/1.308, allocations: 11.72 kB / 0.8113 GB, free: 114.8 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01814/1.326, allocations: 6.496 MB / 0.8176 GB, free: 114.5 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002596/1.329, allocations: 435.5 kB / 0.818 GB, free: 114.5 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0571/1.386, allocations: 26.43 MB / 0.8438 GB, free: 108.3 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004212/1.39, allocations: 0.5395 MB / 0.8444 GB, free: 108.2 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004146/1.39, allocations: 104.3 kB / 0.8445 GB, free: 108.1 MB / 0.5573 GB Warning: Assuming fixed start value for the following 7 variables: Exc2.firstOrder2.y:VARIABLE(start = Exc2.firstOrder2.y_start fixed = true ) "Connector of Real output signal" type: Real Exc1.firstOrder2.y:VARIABLE(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.e2q:VARIABLE(start = Syn2.e2q0 unit = "1" fixed = true ) "q-axis sub-transient voltage" type: Real Syn2.w:VARIABLE(start = 1.0 fixed = true ) "Rotor speed [pu]" type: Real order2.w:VARIABLE(start = 1.0 fixed = true ) "Rotor speed [pu]" type: Real order3_2.w:VARIABLE(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 (228): * Single equations (assignments): 223 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {66 25} Notification: Performance of prepare postOptimizeDAE: time 0.001339/1.392, allocations: 0.504 MB / 0.845 GB, free: 107.8 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006153/1.392, allocations: 299.8 kB / 0.8452 GB, free: 107.6 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03841/1.431, allocations: 14.77 MB / 0.8597 GB, free: 99.81 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.024e-05/1.431, allocations: 28 kB / 0.8597 GB, free: 99.79 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.79e-05/1.431, allocations: 23.95 kB / 0.8597 GB, free: 99.76 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.246e-05/1.431, allocations: 10.27 kB / 0.8597 GB, free: 99.76 MB / 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.04328/1.474, allocations: 18.32 MB / 0.8776 GB, free: 85.7 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.573e-05/1.474, allocations: 4 kB / 0.8776 GB, free: 85.7 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001696/1.476, allocations: 245.5 kB / 0.8778 GB, free: 85.48 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01672/1.493, allocations: 6.267 MB / 0.884 GB, free: 80.6 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006764/1.493, allocations: 51.8 kB / 0.884 GB, free: 80.55 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.05096/1.544, allocations: 26.86 MB / 0.9103 GB, free: 56.04 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.487e-06/1.545, allocations: 3.938 kB / 0.9103 GB, free: 56.04 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.04349/1.588, allocations: 17.37 MB / 0.9272 GB, free: 38.53 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001172/1.589, allocations: 414.9 kB / 0.9276 GB, free: 38.14 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007234/1.59, allocations: 55.94 kB / 0.9277 GB, free: 38.08 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003148/1.593, allocations: 411.6 kB / 0.9281 GB, free: 37.68 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002216/1.595, allocations: 0.5761 MB / 0.9286 GB, free: 37.1 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002161/1.596, allocations: 63.98 kB / 0.9287 GB, free: 37.04 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 0.002342/1.598, allocations: 1.519 MB / 0.9302 GB, free: 35.52 MB / 0.5573 GB Notification: Performance of sort global known variables: time 5.21e-07/1.598, allocations: 0 / 0.9302 GB, free: 35.52 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.003932/1.602, allocations: 1.121 MB / 0.9313 GB, free: 34.4 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 (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.04348/1.645, allocations: 18.14 MB / 0.949 GB, free: 16.14 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.01695/1.662, allocations: 7.085 MB / 0.9559 GB, free: 8.969 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 8.937e-06/1.662, allocations: 4 kB / 0.9559 GB, free: 8.965 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.01303/1.675, allocations: 5.098 MB / 0.9609 GB, free: 3.797 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002178/1.678, allocations: 227.4 kB / 0.9611 GB, free: 3.574 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01576/1.693, allocations: 12.06 MB / 0.9729 GB, free: 7.242 MB / 0.573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0015/1.695, allocations: 1.88 MB / 0.9747 GB, free: 5.328 MB / 0.573 GB Notification: Performance of simCode: alias equations: time 0.001197/1.696, allocations: 218.8 kB / 0.9749 GB, free: 5.117 MB / 0.573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001641/1.698, allocations: 1.206 MB / 0.9761 GB, free: 3.91 MB / 0.573 GB Notification: Performance of SimCode: time 2.434e-06/1.698, allocations: 0 / 0.9761 GB, free: 3.91 MB / 0.573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4176/2.115, allocations: 78.43 MB / 1.053 GB, free: 133.3 MB / 0.5886 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001516/2.116, allocations: 216.1 kB / 1.053 GB, free: 133.1 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.246/7.362, allocations: 0 / 1.053 GB, free: 133.1 MB / 0.5886 GB (rm -f OpenIPSL_OpenIPSL.Examples.PSATSystems.ThreeArea.FifthOrder_AVRII.pipe ; mkfifo OpenIPSL_OpenIPSL.Examples.PSATSystems.ThreeArea.FifthOrder_AVRII.pipe ; head -c 1048576 < OpenIPSL_OpenIPSL.Examples.PSATSystems.ThreeArea.FifthOrder_AVRII.pipe >> ../files/OpenIPSL_OpenIPSL.Examples.PSATSystems.ThreeArea.FifthOrder_AVRII.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_OpenIPSL_OpenIPSL_Examples_PSATSystems_ThreeArea_FifthOrder_AVRII_fmu --startTime=0 --stopTime=20 --timeout=50 --tolerance=1e-06 OpenIPSL_OpenIPSL_Examples_PSATSystems_ThreeArea_FifthOrder_AVRII.fmu > OpenIPSL_OpenIPSL.Examples.PSATSystems.ThreeArea.FifthOrder_AVRII.pipe 2>&1)