Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_dev_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_dev_OpenIPSL_Examples_PSATSystems_ThreeArea_FourthOrder_AVRII",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Examples.PSATSystems.ThreeArea.FourthOrder_AVRII,fileNamePrefix="OpenIPSL_dev_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.001202/0.001202, 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.262/1.262, allocations: 221.4 MB / 234.6 MB, free: 14.43 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.0008412/0.0008413, allocations: 94.92 kB / 285.6 MB, free: 12.98 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.4556/0.4556, allocations: 78.91 MB / 415.4 MB, free: 10.24 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 3.515e-05/3.517e-05, allocations: 0 / 492.9 MB, free: 13.01 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3341/0.3341, allocations: 69.51 MB / 0.5492 GB, free: 19.52 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1277/0.4619, allocations: 100.9 MB / 0.6478 GB, free: 14.66 MB / 474.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002379/0.4622, allocations: 79.95 kB / 0.6478 GB, free: 14.58 MB / 474.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.4714/0.9336, allocations: 70.53 MB / 0.7167 GB, free: 91.79 MB / 490.7 MB Notification: Performance of FrontEnd: time 2.465e-06/0.9337, allocations: 0 / 0.7167 GB, free: 91.79 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.0001578/0.9338, allocations: 59.94 kB / 0.7168 GB, free: 91.73 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.01104/0.9449, allocations: 4.028 MB / 0.7207 GB, free: 87.62 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.147e-05/0.9449, allocations: 11.97 kB / 0.7207 GB, free: 87.61 MB / 490.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0008116/0.9458, allocations: 303.2 kB / 0.721 GB, free: 87.3 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009454/0.9552, allocations: 1.607 MB / 0.7226 GB, free: 85.68 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003449/0.9587, allocations: 1.635 MB / 0.7242 GB, free: 83.98 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005321/0.9593, allocations: 0.7525 MB / 0.7249 GB, free: 83.12 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005831/0.9599, allocations: 208 kB / 0.7251 GB, free: 82.91 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004043/0.9639, allocations: 2.56 MB / 0.7276 GB, free: 80.28 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.465e-05/0.964, allocations: 0 / 0.7276 GB, free: 80.28 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002342/0.9642, allocations: 87.98 kB / 0.7277 GB, free: 80.19 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.814e-05/0.9642, allocations: 52 kB / 0.7277 GB, free: 80.14 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003579/0.9678, allocations: 2.324 MB / 0.73 GB, free: 77.8 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.01692/0.9848, allocations: 9.947 MB / 0.7397 GB, free: 67.43 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008557/0.9934, allocations: 4.179 MB / 0.7438 GB, free: 63.11 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002443/0.9958, allocations: 1.531 MB / 0.7453 GB, free: 61.58 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002897/0.9961, allocations: 41.95 kB / 0.7453 GB, free: 61.54 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002672/0.9988, allocations: 1.799 MB / 0.7471 GB, free: 59.72 MB / 490.7 MB Notification: Performance of pre-optimization done (n=248): time 4.809e-06/0.9988, allocations: 0 / 0.7471 GB, free: 59.72 MB / 490.7 MB Notification: Performance of matching and sorting (n=248): time 0.03401/1.033, allocations: 12.54 MB / 0.7593 GB, free: 47.13 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.842e-05/1.033, allocations: 188.2 kB / 0.7595 GB, free: 46.91 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002521/1.035, allocations: 1.842 MB / 0.7613 GB, free: 45.05 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0007085/1.036, allocations: 65.7 kB / 0.7614 GB, free: 44.98 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005814/1.037, allocations: 1.196 MB / 0.7626 GB, free: 43.77 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001001/1.038, allocations: 0.8586 MB / 0.7634 GB, free: 42.9 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001922/1.038, allocations: 48 kB / 0.7634 GB, free: 42.86 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001219/1.038, allocations: 398.9 kB / 0.7638 GB, free: 42.46 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001928/1.04, allocations: 1.255 MB / 0.765 GB, free: 41.2 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002026/1.042, allocations: 1.57 MB / 0.7666 GB, free: 39.54 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002071/1.044, allocations: 1.48 MB / 0.768 GB, free: 38 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.107e-06/1.044, allocations: 7.938 kB / 0.768 GB, free: 37.99 MB / 490.7 MB Notification: Performance of matching and sorting (n=316) (initialization): time 0.03442/1.079, allocations: 12.61 MB / 0.7803 GB, free: 25.3 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.43e-05/1.079, allocations: 118.8 kB / 0.7805 GB, free: 25.16 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.69e-05/1.079, allocations: 4 kB / 0.7805 GB, free: 25.15 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01553/1.094, allocations: 5.227 MB / 0.7856 GB, free: 19.92 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00224/1.097, allocations: 415.4 kB / 0.786 GB, free: 19.51 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03613/1.133, allocations: 17.9 MB / 0.8034 GB, free: 1.453 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004236/1.137, allocations: 0.5367 MB / 0.804 GB, free: 0.9141 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005442/1.138, allocations: 87.97 kB / 0.804 GB, free: 0.8281 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.0006122/1.138, allocations: 311.3 kB / 0.8043 GB, free: 0.5078 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007003/1.139, allocations: 300.3 kB / 0.8046 GB, free: 216 kB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03701/1.176, allocations: 12.9 MB / 0.8172 GB, free: 3.262 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.255e-05/1.176, allocations: 24 kB / 0.8172 GB, free: 3.238 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.612e-05/1.176, allocations: 20 kB / 0.8173 GB, free: 3.219 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.627e-05/1.176, allocations: 11.95 kB / 0.8173 GB, free: 3.207 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.04244/1.219, allocations: 16.45 MB / 0.8333 GB, free: 2.602 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.993e-05/1.219, allocations: 0 / 0.8333 GB, free: 2.602 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001619/1.22, allocations: 247.7 kB / 0.8336 GB, free: 2.359 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01569/1.236, allocations: 5.024 MB / 0.8385 GB, free: 13.31 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007183/1.237, allocations: 55.98 kB / 0.8385 GB, free: 13.26 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03976/1.277, allocations: 19.28 MB / 0.8574 GB, free: 9.555 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.14e-06/1.277, allocations: 4 kB / 0.8574 GB, free: 9.551 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.04186/1.318, allocations: 14.86 MB / 0.8719 GB, free: 10.55 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001509/1.32, allocations: 408.9 kB / 0.8723 GB, free: 10.13 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009946/1.321, allocations: 48 kB / 0.8723 GB, free: 10.09 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003346/1.324, allocations: 407.6 kB / 0.8727 GB, free: 9.688 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002284/1.327, allocations: 0.5875 MB / 0.8733 GB, free: 9.098 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003285/1.327, allocations: 63.98 kB / 0.8733 GB, free: 9.035 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 0.002252/1.329, allocations: 1.409 MB / 0.8747 GB, free: 7.617 MB / 0.5573 GB Notification: Performance of sort global known variables: time 2e-07/1.329, allocations: 0 / 0.8747 GB, free: 7.617 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.004224/1.334, allocations: 1.12 MB / 0.8758 GB, free: 6.496 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 {(65,7.8%) 23} * Non-linear torn systems: 2 {1 6,1 6} Notification: Performance of Backend phase and start with SimCode phase: time 0.04139/1.375, allocations: 15.62 MB / 0.8911 GB, free: 6.742 MB / 0.573 GB Notification: Performance of simCode: created initialization part: time 0.01508/1.39, allocations: 5.747 MB / 0.8967 GB, free: 0.9102 MB / 0.573 GB Notification: Performance of simCode: created event and clocks part: time 6.292e-06/1.39, allocations: 0 / 0.8967 GB, free: 0.9102 MB / 0.573 GB Notification: Performance of simCode: created simulation system equations: time 0.2893/1.679, allocations: 4.388 MB / 0.901 GB, free: 176.4 MB / 0.573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002229/1.682, allocations: 237.4 kB / 0.9012 GB, free: 176.4 MB / 0.573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009953/1.692, allocations: 4.548 MB / 0.9056 GB, free: 175.2 MB / 0.573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001497/1.693, allocations: 1.865 MB / 0.9075 GB, free: 174.4 MB / 0.573 GB Notification: Performance of simCode: alias equations: time 0.001122/1.694, allocations: 210.7 kB / 0.9077 GB, free: 174.4 MB / 0.573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001378/1.696, allocations: 1.192 MB / 0.9088 GB, free: 174.4 MB / 0.573 GB Notification: Performance of SimCode: time 1.052e-06/1.696, allocations: 4.75 kB / 0.9088 GB, free: 174.4 MB / 0.573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1005/1.796, allocations: 78.66 MB / 0.9856 GB, free: 122.4 MB / 0.573 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001445/1.796, allocations: 184 kB / 0.9858 GB, free: 122.2 MB / 0.573 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.542/6.339, allocations: 0 / 0.9858 GB, free: 122.2 MB / 0.573 GB (rm -f OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.FourthOrder_AVRII.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.FourthOrder_AVRII.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.FourthOrder_AVRII.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.FourthOrder_AVRII.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_OpenIPSL_dev_OpenIPSL_Examples_PSATSystems_ThreeArea_FourthOrder_AVRII_fmu --startTime=0 --stopTime=20 --timeout=50 --tolerance=1e-06 OpenIPSL_dev_OpenIPSL_Examples_PSATSystems_ThreeArea_FourthOrder_AVRII.fmu > OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.FourthOrder_AVRII.pipe 2>&1)