Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.ThreeArea.FourthOrder_AVRII.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo", uses=false) Using package OpenIPSL with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo) Using package Modelica_Synchronous with version 0.93.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: "" <> buildModelFMU(OpenIPSL.Examples.PSATSystems.ThreeArea.FourthOrder_AVRII,fileNamePrefix="OpenIPSL_2_0_0_OpenIPSL_Examples_PSATSystems_ThreeArea_FourthOrder_AVRII",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Examples.PSATSystems.ThreeArea.FourthOrder_AVRII,fileNamePrefix="OpenIPSL_2_0_0_OpenIPSL_Examples_PSATSystems_ThreeArea_FourthOrder_AVRII",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001144/0.001143, allocations: 173.9 kB / 7.648 MB, free: 1.422 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.616/1.616, allocations: 205.3 MB / 213.4 MB, free: 13.76 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008315/0.0008315, allocations: 89.45 kB / 261.4 MB, free: 13.45 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0/package.mo): time 0.06789/0.06789, allocations: 12.2 MB / 321.5 MB, free: 1.191 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo): time 0.3083/0.3083, allocations: 78.07 MB / 450.3 MB, free: 3.48 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 1.953e-05/1.955e-05, allocations: 4 kB / 0.5142 GB, free: 29.94 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1481/0.1482, allocations: 69.24 MB / 0.5819 GB, free: 8.816 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4651/0.6133, allocations: 101.1 MB / 0.6806 GB, free: 7.395 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002057/0.6136, allocations: 80.58 kB / 0.6807 GB, free: 7.352 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1641/0.7777, allocations: 66.63 MB / 0.7458 GB, free: 15.76 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.874e-06/0.7777, allocations: 0 / 0.7458 GB, free: 15.76 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.0001621/0.7779, allocations: 59.94 kB / 0.7458 GB, free: 15.7 MB / 490.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 523 * Number of variables: 523 Notification: Performance of Generate backend data structure: time 0.01164/0.7896, allocations: 4.022 MB / 0.7497 GB, free: 11.6 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.292e-05/0.7896, allocations: 8.969 kB / 0.7498 GB, free: 11.59 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009708/0.7993, allocations: 1.6 MB / 0.7513 GB, free: 9.984 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004082/0.8035, allocations: 1.646 MB / 0.7529 GB, free: 8.273 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008009/0.8043, allocations: 0.6744 MB / 0.7536 GB, free: 7.484 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005411/0.8048, allocations: 124 kB / 0.7537 GB, free: 7.363 MB / 490.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.004111/0.8089, allocations: 2.215 MB / 0.7559 GB, free: 5.141 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004032/0.813, allocations: 2.275 MB / 0.7581 GB, free: 2.797 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.527e-05/0.813, allocations: 4 kB / 0.7581 GB, free: 2.793 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002123/0.8133, allocations: 3.984 kB / 0.7581 GB, free: 2.789 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.708e-05/0.8133, allocations: 52 kB / 0.7581 GB, free: 2.738 MB / 490.7 MB Warning: The model contains alias variables with conflicting start and/or 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.01808/0.8314, allocations: 9.588 MB / 0.7675 GB, free: 8.75 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.009177/0.8406, allocations: 4.091 MB / 0.7715 GB, free: 4.523 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002278/0.8429, allocations: 1.465 MB / 0.7729 GB, free: 3.059 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002937/0.8432, allocations: 41.95 kB / 0.773 GB, free: 3.016 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002647/0.8459, allocations: 1.721 MB / 0.7746 GB, free: 1.273 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=248): time 4.288e-06/0.8459, allocations: 0 / 0.7746 GB, free: 1.273 MB / 0.4948 GB Notification: Performance of matching and sorting (n=248): time 0.0374/0.8833, allocations: 12.31 MB / 0.7867 GB, free: 4.926 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001132/0.8834, allocations: 188.1 kB / 0.7869 GB, free: 4.703 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003143/0.8866, allocations: 1.693 MB / 0.7885 GB, free: 3.004 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.000701/0.8873, allocations: 29.69 kB / 0.7885 GB, free: 2.969 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.001052/0.8884, allocations: 1.203 MB / 0.7897 GB, free: 1.754 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.001013/0.8894, allocations: 0.8196 MB / 0.7905 GB, free: 0.9219 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001838/0.8896, allocations: 0 / 0.7905 GB, free: 0.9219 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0001876/0.8898, allocations: 407 kB / 0.7909 GB, free: 0.5195 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002078/0.8919, allocations: 1.212 MB / 0.7921 GB, free: 15.3 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002181/0.894, allocations: 1.499 MB / 0.7935 GB, free: 13.71 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002131/0.8962, allocations: 1.328 MB / 0.7948 GB, free: 12.35 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.845e-06/0.8962, allocations: 0 / 0.7948 GB, free: 12.35 MB / 0.5261 GB Notification: Performance of matching and sorting (n=316) (initialization): time 0.03598/0.9322, allocations: 12.27 MB / 0.8068 GB, free: 20 kB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001266/0.9324, allocations: 122.8 kB / 0.8069 GB, free: 15.88 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.425e-05/0.9324, allocations: 4 kB / 0.8069 GB, free: 15.87 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01571/0.9481, allocations: 4.977 MB / 0.8118 GB, free: 10.88 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002359/0.9505, allocations: 419.4 kB / 0.8122 GB, free: 10.47 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03851/0.989, allocations: 17.55 MB / 0.8293 GB, free: 8.781 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004247/0.9933, allocations: 493.7 kB / 0.8298 GB, free: 8.297 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003596/0.9937, allocations: 87.97 kB / 0.8299 GB, free: 8.211 MB / 0.5573 GB Warning: Assuming fixed start value for the following 7 variables: Exc2.firstOrder2.y:VARIABLE(start = Exc2.firstOrder2.y_start ) "Connector of Real output signal" type: Real Exc1.firstOrder2.y:VARIABLE(start = Exc1.firstOrder2.y_start ) "Connector of Real output signal" type: Real order4_1.e1d:VARIABLE(start = order4_1.e1d0 unit = "1" ) "d-axis transient voltage" type: Real order4_1.e1q:VARIABLE(start = order4_1.e1q0 unit = "1" ) "q-axis transient voltage" type: Real order4_1.w:VARIABLE(start = 1.0 ) "Rotor speed [pu]" type: Real order2.w:VARIABLE(start = 1.0 ) "Rotor speed [pu]" type: Real order3_2.w:VARIABLE(start = 1.0 ) "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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (226): * Single equations (assignments): 221 * 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 {65 26} Notification: Performance of prepare postOptimizeDAE: time 0.0006545/0.9944, allocations: 209.5 kB / 0.8301 GB, free: 7.988 MB / 0.5573 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.03728/1.032, allocations: 12.33 MB / 0.8421 GB, free: 11.63 MB / 0.573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001487/1.033, allocations: 296.4 kB / 0.8424 GB, free: 11.34 MB / 0.573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.3471/1.38, allocations: 12.61 MB / 0.8547 GB, free: 141.1 MB / 0.573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.832e-05/1.38, allocations: 24.91 kB / 0.8548 GB, free: 141.1 MB / 0.573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.541e-05/1.38, allocations: 20.62 kB / 0.8548 GB, free: 141.1 MB / 0.573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001063/1.381, allocations: 16.58 kB / 0.8548 GB, free: 141.1 MB / 0.573 GB Warning: The model contains alias variables with conflicting start and/or 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.04808/1.429, allocations: 15.93 MB / 0.8704 GB, free: 140.3 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.762e-05/1.429, allocations: 0 / 0.8704 GB, free: 140.3 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001907/1.431, allocations: 248.4 kB / 0.8706 GB, free: 140.3 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01644/1.447, allocations: 4.935 MB / 0.8754 GB, free: 140.2 MB / 0.573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0008502/1.448, allocations: 15.77 kB / 0.8754 GB, free: 140.2 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03604/1.484, allocations: 19 MB / 0.894 GB, free: 136.1 MB / 0.573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.681e-06/1.484, allocations: 0 / 0.894 GB, free: 136.1 MB / 0.573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.04007/1.524, allocations: 14.58 MB / 0.9082 GB, free: 134.6 MB / 0.573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001493/1.526, allocations: 416.4 kB / 0.9086 GB, free: 134.3 MB / 0.573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007912/1.527, allocations: 9.922 kB / 0.9086 GB, free: 134.3 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003102/1.53, allocations: 365.2 kB / 0.909 GB, free: 134.3 MB / 0.573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002084/1.532, allocations: 0.5778 MB / 0.9095 GB, free: 134.2 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002252/1.532, allocations: 65.59 kB / 0.9096 GB, free: 134.2 MB / 0.573 GB Notification: Performance of sorting global known variables: time 0.001858/1.534, allocations: 1.263 MB / 0.9108 GB, free: 133.6 MB / 0.573 GB Notification: Performance of sort global known variables: time 1.964e-06/1.534, allocations: 2.812 kB / 0.9108 GB, free: 133.6 MB / 0.573 GB Notification: Performance of remove unused functions: time 0.004091/1.538, allocations: 1.01 MB / 0.9118 GB, free: 133.6 MB / 0.573 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 17 (order3_2.delta,order3_2.w,order3_2.e1q,order2.delta,order2.w,order4_1.delta,order4_1.w,order4_1.e1q,order4_1.e1d,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 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (157): * Single equations (assignments): 152 * 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 {(63,8.1%) 25} * Non-linear torn systems: 2 {1 6,1 6} Notification: Performance of Backend phase and start with SimCode phase: time 0.03873/1.577, allocations: 15.32 MB / 0.9268 GB, free: 129.4 MB / 0.573 GB Notification: Performance of simCode: created initialization part: time 0.01452/1.591, allocations: 5.568 MB / 0.9322 GB, free: 125.9 MB / 0.573 GB Notification: Performance of simCode: created event and clocks part: time 9.558e-06/1.591, allocations: 0 / 0.9322 GB, free: 125.9 MB / 0.573 GB Notification: Performance of simCode: created simulation system equations: time 0.01253/1.604, allocations: 4.253 MB / 0.9364 GB, free: 122.1 MB / 0.573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002838/1.607, allocations: 189.7 kB / 0.9365 GB, free: 122 MB / 0.573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009346/1.616, allocations: 4.364 MB / 0.9408 GB, free: 118.1 MB / 0.573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001282/1.618, allocations: 1.865 MB / 0.9426 GB, free: 116.6 MB / 0.573 GB Notification: Performance of simCode: alias equations: time 0.0009452/1.619, allocations: 212.7 kB / 0.9428 GB, free: 116.5 MB / 0.573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001288/1.62, allocations: 1.182 MB / 0.944 GB, free: 115.4 MB / 0.573 GB Notification: Performance of SimCode: time 1.453e-06/1.62, allocations: 0 / 0.944 GB, free: 115.4 MB / 0.573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1229/1.743, allocations: 73.82 MB / 1.016 GB, free: 53.78 MB / 0.573 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002392/1.743, allocations: 154.2 kB / 1.016 GB, free: 53.58 MB / 0.573 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.139/6.882, allocations: 0 / 1.016 GB, free: 53.58 MB / 0.573 GB (rm -f OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.ThreeArea.FourthOrder_AVRII.pipe ; mkfifo OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.ThreeArea.FourthOrder_AVRII.pipe ; head -c 1048576 < OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.ThreeArea.FourthOrder_AVRII.pipe >> ../files/OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.ThreeArea.FourthOrder_AVRII.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_OpenIPSL_2_0_0_OpenIPSL_Examples_PSATSystems_ThreeArea_FourthOrder_AVRII_fmu --startTime=0 --stopTime=20 --timeout=50 --tolerance=1e-06 OpenIPSL_2_0_0_OpenIPSL_Examples_PSATSystems_ThreeArea_FourthOrder_AVRII.fmu > OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.ThreeArea.FourthOrder_AVRII.pipe 2>&1)