Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_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.TwoAreaOld.FifthOrder_AVRII,fileNamePrefix="OpenIPSL_2_0_0_OpenIPSL_Examples_PSATSystems_TwoAreaOld_FifthOrder_AVRII",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_AVRII,fileNamePrefix="OpenIPSL_2_0_0_OpenIPSL_Examples_PSATSystems_TwoAreaOld_FifthOrder_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.001169/0.00117, 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 3.2.3+maint.om/package.mo): time 1.189/1.189, allocations: 205.2 MB / 218.5 MB, free: 9.219 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.0007805/0.0007805, allocations: 92.52 kB / 266.6 MB, free: 9.273 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0/package.mo): time 0.06036/0.06036, allocations: 12.2 MB / 326.9 MB, free: 12.89 MB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo): time 0.2832/0.2832, allocations: 78.03 MB / 455.7 MB, free: 15.35 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 3.54e-05/3.543e-05, allocations: 7.984 kB / 0.5213 GB, free: 24.1 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1017/0.1018, allocations: 69.24 MB / 0.5889 GB, free: 2.926 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3439/0.4458, allocations: 100.7 MB / 0.6873 GB, free: 15.54 MB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001897/0.446, allocations: 80.14 kB / 0.6874 GB, free: 15.5 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.08358/0.5296, allocations: 31.35 MB / 0.718 GB, free: 5.008 MB / 458.7 MB Notification: Performance of FrontEnd: time 1.112e-06/0.5296, allocations: 0 / 0.718 GB, free: 5.008 MB / 458.7 MB Notification: Performance of Transformations before backend: time 9.444e-05/0.5297, allocations: 24 kB / 0.718 GB, free: 4.984 MB / 458.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 191 * Number of variables: 191 Notification: Performance of Generate backend data structure: time 0.004701/0.5344, allocations: 1.736 MB / 0.7197 GB, free: 3.301 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.581e-05/0.5345, allocations: 15.98 kB / 0.7197 GB, free: 3.285 MB / 458.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003321/0.5348, allocations: 124.6 kB / 0.7199 GB, free: 3.207 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003613/0.5384, allocations: 0.5716 MB / 0.7204 GB, free: 2.676 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001859/0.5403, allocations: 0.7785 MB / 0.7212 GB, free: 2.023 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003462/0.5407, allocations: 264.7 kB / 0.7214 GB, free: 1.754 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002579/0.5409, allocations: 85.59 kB / 0.7215 GB, free: 1.695 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001846/0.5428, allocations: 0.9435 MB / 0.7224 GB, free: 1.078 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.905e-05/0.5428, allocations: 3.984 kB / 0.7224 GB, free: 1.074 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000104/0.5429, allocations: 33.19 kB / 0.7225 GB, free: 1.066 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.751e-05/0.543, allocations: 16 kB / 0.7225 GB, free: 1.051 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001576/0.5445, allocations: 0.8526 MB / 0.7233 GB, free: 0.5117 MB / 458.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.00697/0.5515, allocations: 3.851 MB / 0.7271 GB, free: 13.47 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007241/0.5588, allocations: 2.665 MB / 0.7297 GB, free: 11.05 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009225/0.5597, allocations: 0.5484 MB / 0.7302 GB, free: 10.75 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001248/0.5599, allocations: 20.75 kB / 0.7302 GB, free: 10.73 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001159/0.561, allocations: 0.6944 MB / 0.7309 GB, free: 10.25 MB / 474.7 MB Notification: Performance of pre-optimization done (n=97): time 3.566e-06/0.5611, allocations: 0 / 0.7309 GB, free: 10.25 MB / 474.7 MB Notification: Performance of matching and sorting (n=97): time 0.01243/0.5735, allocations: 4.038 MB / 0.7348 GB, free: 6.754 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.434e-05/0.5736, allocations: 118.7 kB / 0.735 GB, free: 6.617 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001481/0.5751, allocations: 0.9138 MB / 0.7359 GB, free: 5.934 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000307/0.5754, allocations: 47.77 kB / 0.7359 GB, free: 5.895 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003894/0.5758, allocations: 0.514 MB / 0.7364 GB, free: 5.617 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005234/0.5763, allocations: 349.2 kB / 0.7367 GB, free: 5.316 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.77e-05/0.5764, allocations: 33.22 kB / 0.7368 GB, free: 5.301 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0001354/0.5766, allocations: 342.7 kB / 0.7371 GB, free: 4.977 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007893/0.5774, allocations: 464 kB / 0.7375 GB, free: 4.73 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008236/0.5782, allocations: 0.5882 MB / 0.7381 GB, free: 4.32 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008518/0.5791, allocations: 0.5673 MB / 0.7387 GB, free: 3.949 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.468e-06/0.5791, allocations: 0 / 0.7387 GB, free: 3.949 MB / 474.7 MB Notification: Performance of matching and sorting (n=130) (initialization): time 0.01217/0.5913, allocations: 4.117 MB / 0.7427 GB, free: 376 kB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.424e-05/0.5914, allocations: 66.27 kB / 0.7427 GB, free: 300 kB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.193e-05/0.5914, allocations: 4 kB / 0.7428 GB, free: 296 kB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005398/0.5968, allocations: 1.55 MB / 0.7443 GB, free: 14.94 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001191/0.598, allocations: 199.2 kB / 0.7445 GB, free: 14.75 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.014/0.612, allocations: 6.725 MB / 0.751 GB, free: 8.375 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001676/0.6137, allocations: 211 kB / 0.7512 GB, free: 8.168 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000125/0.6139, allocations: 39.98 kB / 0.7513 GB, free: 8.129 MB / 490.7 MB Warning: Assuming fixed start value for the following 5 variables: order5.w:VARIABLE(start = 1.0 ) "Rotor speed [pu]" type: Real order2.w:VARIABLE(start = 1.0 ) "Rotor speed [pu]" type: Real aVRTypeII.firstOrder2.y:VARIABLE(start = aVRTypeII.firstOrder2.y_start ) "Connector of Real output signal" type: Real order5.e2d:VARIABLE(start = order5.e2d0 unit = "1" ) "d-axis sub-transient voltage" type: Real order5.e2q:VARIABLE(start = order5.e2q0 unit = "1" ) "q-axis sub-transient voltage" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * Number of states: 0 () * Number of discrete variables: 2 ($whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (98): * Single equations (assignments): 95 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {21 12} Notification: Performance of prepare postOptimizeDAE: time 0.0002892/0.6142, allocations: 176.4 kB / 0.7514 GB, free: 7.941 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002351/0.6144, allocations: 134.4 kB / 0.7516 GB, free: 7.809 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01242/0.6268, allocations: 4.182 MB / 0.7556 GB, free: 3.602 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.654e-05/0.6269, allocations: 8 kB / 0.7556 GB, free: 3.594 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.171e-05/0.6269, allocations: 8 kB / 0.7557 GB, free: 3.586 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.96e-05/0.6269, allocations: 3.984 kB / 0.7557 GB, free: 3.582 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 postOpt removeSimpleEquations (simulation): time 0.01437/0.6413, allocations: 5.746 MB / 0.7613 GB, free: 13.73 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.497e-05/0.6414, allocations: 3.938 kB / 0.7613 GB, free: 13.72 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007281/0.6421, allocations: 103.8 kB / 0.7614 GB, free: 13.62 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004986/0.6471, allocations: 1.5 MB / 0.7628 GB, free: 12.11 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002024/0.6473, allocations: 27.98 kB / 0.7629 GB, free: 12.09 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01415/0.6615, allocations: 7.701 MB / 0.7704 GB, free: 4.105 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.515e-06/0.6615, allocations: 0 / 0.7704 GB, free: 4.105 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01373/0.6753, allocations: 4.929 MB / 0.7752 GB, free: 15.14 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006245/0.6759, allocations: 231.2 kB / 0.7754 GB, free: 14.89 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002149/0.6762, allocations: 27.89 kB / 0.7754 GB, free: 14.86 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001261/0.6774, allocations: 151.8 kB / 0.7756 GB, free: 14.71 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005681/0.678, allocations: 192.7 kB / 0.7758 GB, free: 14.53 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.198e-05/0.6781, allocations: 27.98 kB / 0.7758 GB, free: 14.5 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.0009747/0.6791, allocations: 0.7136 MB / 0.7765 GB, free: 13.78 MB / 0.5105 GB Notification: Performance of sort global known variables: time 2.5e-07/0.6791, allocations: 8 kB / 0.7765 GB, free: 13.77 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.001211/0.6803, allocations: 439.5 kB / 0.7769 GB, free: 13.34 MB / 0.5105 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 11 (order2.delta,order2.w,order5.delta,order5.w,order5.e1q,order5.e2q,order5.e2d,aVRTypeII.ExcitationSystem.x_scaled[1],aVRTypeII.derivativeBlock.x,aVRTypeII.firstOrder2.y,aVRTypeII.simpleLagLim.state) * Number of discrete variables: 2 ($whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (65): * Single equations (assignments): 62 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(19,24.4%) 13} * Non-linear torn systems: 1 {1 6} Notification: Performance of Backend phase and start with SimCode phase: time 0.01418/0.6945, allocations: 5.586 MB / 0.7824 GB, free: 7.703 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.005371/0.6999, allocations: 2.11 MB / 0.7844 GB, free: 5.559 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 4.348e-06/0.7, allocations: 4.062 kB / 0.7844 GB, free: 5.555 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.004014/0.704, allocations: 1.593 MB / 0.786 GB, free: 3.922 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008629/0.7049, allocations: 104.4 kB / 0.7861 GB, free: 3.82 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004157/0.7091, allocations: 2.05 MB / 0.7881 GB, free: 1.719 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007148/0.7098, allocations: 1.166 MB / 0.7892 GB, free: 0.5234 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.0004535/0.7103, allocations: 98.88 kB / 0.7893 GB, free: 432 kB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006476/0.7109, allocations: 471.3 kB / 0.7898 GB, free: 15.96 MB / 0.5261 GB Notification: Performance of SimCode: time 8.11e-07/0.7109, allocations: 0 / 0.7898 GB, free: 15.96 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0707/0.7816, allocations: 31.42 MB / 0.8205 GB, free: 0.6758 MB / 0.5417 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002733/0.7819, allocations: 186 kB / 0.8206 GB, free: 468 kB / 0.5417 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.862/3.644, allocations: 0 / 0.8206 GB, free: 468 kB / 0.5417 GB (rm -f OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_AVRII.pipe ; mkfifo OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_AVRII.pipe ; head -c 1048576 < OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_AVRII.pipe >> ../files/OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_AVRII.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_OpenIPSL_2_0_0_OpenIPSL_Examples_PSATSystems_TwoAreaOld_FifthOrder_AVRII_fmu --startTime=0 --stopTime=20 --timeout=50 --tolerance=1e-06 OpenIPSL_2_0_0_OpenIPSL_Examples_PSATSystems_TwoAreaOld_FifthOrder_AVRII.fmu > OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_AVRII.pipe 2>&1)