Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_release_OpenIPSL.Examples.PSATSystems.ThreeArea.FourthOrder_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.FourthOrder_AVRII,fileNamePrefix="OpenIPSL_release_OpenIPSL_Examples_PSATSystems_ThreeArea_FourthOrder_AVRII",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Examples.PSATSystems.ThreeArea.FourthOrder_AVRII,fileNamePrefix="OpenIPSL_release_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 4.0.0+maint.om/package.mo): time 0.001598/0.001598, allocations: 174.7 kB / 12.73 MB, free: 2.59 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.295/1.295, allocations: 221.4 MB / 234.6 MB, free: 14.45 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.0008773/0.0008775, allocations: 78.98 kB / 285.6 MB, free: 12.99 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.4712/0.4712, allocations: 78.08 MB / 414.6 MB, free: 11 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 4.329e-05/4.361e-05, allocations: 8 kB / 491.9 MB, free: 13.96 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3484/0.3484, allocations: 69.34 MB / 0.5481 GB, free: 20.2 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1224/0.4709, allocations: 100.2 MB / 0.646 GB, free: 300 kB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002362/0.4711, allocations: 75.95 kB / 0.646 GB, free: 224 kB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.4753/0.9464, allocations: 69.34 MB / 0.7138 GB, free: 95.21 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.372e-06/0.9465, allocations: 0 / 0.7138 GB, free: 95.21 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.0001951/0.9467, allocations: 56 kB / 0.7138 GB, free: 95.15 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.01205/0.9587, allocations: 4.035 MB / 0.7178 GB, free: 91.04 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.923e-05/0.9588, allocations: 11.97 kB / 0.7178 GB, free: 91.02 MB / 490.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0009622/0.9598, allocations: 303.2 kB / 0.7181 GB, free: 90.71 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009711/0.9695, allocations: 1.6 MB / 0.7196 GB, free: 89.11 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004213/0.9737, allocations: 1.639 MB / 0.7212 GB, free: 87.41 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006693/0.9744, allocations: 0.7409 MB / 0.7219 GB, free: 86.55 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001003/0.9755, allocations: 208 kB / 0.7221 GB, free: 86.35 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005411/0.9809, allocations: 2.564 MB / 0.7246 GB, free: 83.71 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.01e-05/0.981, allocations: 4 kB / 0.7246 GB, free: 83.7 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004016/0.9814, allocations: 84 kB / 0.7247 GB, free: 83.62 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.528e-05/0.9815, allocations: 51.94 kB / 0.7248 GB, free: 83.57 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004321/0.9858, allocations: 2.32 MB / 0.727 GB, free: 81.23 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.01842/1.004, allocations: 9.932 MB / 0.7367 GB, free: 70.88 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.009164/1.013, allocations: 4.191 MB / 0.7408 GB, free: 66.55 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002629/1.016, allocations: 1.533 MB / 0.7423 GB, free: 65.02 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004328/1.017, allocations: 49.94 kB / 0.7424 GB, free: 64.97 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003487/1.02, allocations: 1.795 MB / 0.7441 GB, free: 63.15 MB / 490.7 MB Notification: Performance of pre-optimization done (n=248): time 5.64e-06/1.02, allocations: 0 / 0.7441 GB, free: 63.15 MB / 490.7 MB Notification: Performance of matching and sorting (n=248): time 0.03768/1.058, allocations: 12.55 MB / 0.7564 GB, free: 50.56 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.252e-05/1.058, allocations: 184.3 kB / 0.7566 GB, free: 50.34 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003024/1.061, allocations: 1.842 MB / 0.7584 GB, free: 48.48 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0006426/1.062, allocations: 65.7 kB / 0.7584 GB, free: 48.41 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007427/1.062, allocations: 1.196 MB / 0.7596 GB, free: 47.21 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.00153/1.064, allocations: 0.8509 MB / 0.7604 GB, free: 46.34 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005276/1.064, allocations: 48 kB / 0.7605 GB, free: 46.3 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001978/1.065, allocations: 399 kB / 0.7608 GB, free: 45.9 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002479/1.067, allocations: 1.263 MB / 0.7621 GB, free: 44.64 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002584/1.07, allocations: 1.57 MB / 0.7636 GB, free: 42.97 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002446/1.072, allocations: 1.48 MB / 0.7651 GB, free: 41.43 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.659e-06/1.072, allocations: 4 kB / 0.7651 GB, free: 41.43 MB / 490.7 MB Notification: Performance of matching and sorting (n=316) (initialization): time 0.03661/1.109, allocations: 12.62 MB / 0.7774 GB, free: 28.73 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.339e-05/1.109, allocations: 118.8 kB / 0.7775 GB, free: 28.59 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.913e-05/1.109, allocations: 8 kB / 0.7775 GB, free: 28.58 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01603/1.125, allocations: 5.219 MB / 0.7826 GB, free: 23.35 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002454/1.127, allocations: 419.4 kB / 0.783 GB, free: 22.94 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04212/1.17, allocations: 17.89 MB / 0.8005 GB, free: 4.887 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004546/1.174, allocations: 0.5367 MB / 0.801 GB, free: 4.348 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007786/1.175, allocations: 91.97 kB / 0.8011 GB, free: 4.258 MB / 490.7 MB 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.001272/1.176, allocations: 293.5 kB / 0.8014 GB, free: 3.953 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001251/1.178, allocations: 300.3 kB / 0.8017 GB, free: 3.656 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0394/1.217, allocations: 12.9 MB / 0.8143 GB, free: 6.703 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.822e-05/1.217, allocations: 24 kB / 0.8143 GB, free: 6.68 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.777e-05/1.217, allocations: 23.94 kB / 0.8143 GB, free: 6.656 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.643e-05/1.217, allocations: 15.95 kB / 0.8143 GB, free: 6.641 MB / 0.4948 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.04941/1.267, allocations: 16.43 MB / 0.8304 GB, free: 6.059 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.398e-05/1.267, allocations: 0 / 0.8304 GB, free: 6.059 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001734/1.269, allocations: 255.6 kB / 0.8306 GB, free: 5.809 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0164/1.285, allocations: 4.972 MB / 0.8355 GB, free: 0.8203 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000812/1.286, allocations: 59.98 kB / 0.8355 GB, free: 0.7617 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0429/1.329, allocations: 19.3 MB / 0.8544 GB, free: 13.02 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.961e-06/1.329, allocations: 4 kB / 0.8544 GB, free: 13.02 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.04539/1.374, allocations: 14.85 MB / 0.8689 GB, free: 14.04 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00151/1.376, allocations: 413 kB / 0.8693 GB, free: 13.61 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001493/1.377, allocations: 51.92 kB / 0.8693 GB, free: 13.56 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004335/1.382, allocations: 407.6 kB / 0.8697 GB, free: 13.16 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002691/1.384, allocations: 0.5798 MB / 0.8703 GB, free: 12.58 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004044/1.385, allocations: 67.98 kB / 0.8703 GB, free: 12.51 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 0.002608/1.387, allocations: 1.413 MB / 0.8717 GB, free: 11.09 MB / 0.5573 GB Notification: Performance of sort global known variables: time 4.01e-07/1.387, allocations: 0 / 0.8717 GB, free: 11.09 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.005225/1.393, allocations: 1.108 MB / 0.8728 GB, free: 9.977 MB / 0.5573 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.04647/1.439, allocations: 15.64 MB / 0.8881 GB, free: 10.2 MB / 0.573 GB Notification: Performance of simCode: created initialization part: time 0.01681/1.456, allocations: 5.743 MB / 0.8937 GB, free: 4.371 MB / 0.573 GB Notification: Performance of simCode: created event and clocks part: time 1.316e-05/1.456, allocations: 0 / 0.8937 GB, free: 4.371 MB / 0.573 GB Notification: Performance of simCode: created simulation system equations: time 0.2955/1.752, allocations: 4.364 MB / 0.8979 GB, free: 177.3 MB / 0.573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00238/1.754, allocations: 230.5 kB / 0.8982 GB, free: 177.3 MB / 0.573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01177/1.766, allocations: 4.554 MB / 0.9026 GB, free: 176.2 MB / 0.573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001604/1.768, allocations: 1.863 MB / 0.9044 GB, free: 175.5 MB / 0.573 GB Notification: Performance of simCode: alias equations: time 0.001137/1.769, allocations: 219.3 kB / 0.9046 GB, free: 175.5 MB / 0.573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001504/1.77, allocations: 1.19 MB / 0.9058 GB, free: 175.5 MB / 0.573 GB Notification: Performance of SimCode: time 1.052e-06/1.77, allocations: 0.625 kB / 0.9058 GB, free: 175.5 MB / 0.573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0961/1.866, allocations: 78.64 MB / 0.9826 GB, free: 126 MB / 0.573 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001325/1.866, allocations: 200.2 kB / 0.9828 GB, free: 125.8 MB / 0.573 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.951/6.817, allocations: 0 / 0.9828 GB, free: 125.8 MB / 0.573 GB (rm -f OpenIPSL_release_OpenIPSL.Examples.PSATSystems.ThreeArea.FourthOrder_AVRII.pipe ; mkfifo OpenIPSL_release_OpenIPSL.Examples.PSATSystems.ThreeArea.FourthOrder_AVRII.pipe ; head -c 1048576 < OpenIPSL_release_OpenIPSL.Examples.PSATSystems.ThreeArea.FourthOrder_AVRII.pipe >> ../files/OpenIPSL_release_OpenIPSL.Examples.PSATSystems.ThreeArea.FourthOrder_AVRII.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_OpenIPSL_release_OpenIPSL_Examples_PSATSystems_ThreeArea_FourthOrder_AVRII_fmu --startTime=0 --stopTime=20 --timeout=50 --tolerance=1e-06 OpenIPSL_release_OpenIPSL_Examples_PSATSystems_ThreeArea_FourthOrder_AVRII.fmu > OpenIPSL_release_OpenIPSL.Examples.PSATSystems.ThreeArea.FourthOrder_AVRII.pipe 2>&1)