Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_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.ThirdOrder_AVRII,fileNamePrefix="OpenIPSL_2_0_0_OpenIPSL_Examples_PSATSystems_TwoAreaOld_ThirdOrder_AVRII",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRII,fileNamePrefix="OpenIPSL_2_0_0_OpenIPSL_Examples_PSATSystems_TwoAreaOld_ThirdOrder_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.0009808/0.0009807, allocations: 175.2 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.208/1.208, allocations: 205.2 MB / 218.5 MB, free: 9.215 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.000749/0.0007489, allocations: 86.58 kB / 266.6 MB, free: 9.285 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0/package.mo): time 0.05996/0.05996, 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.2662/0.2662, allocations: 78.03 MB / 455.6 MB, free: 15.36 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 3.103e-05/3.114e-05, allocations: 7.984 kB / 0.5213 GB, free: 24.12 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1049/0.1049, allocations: 69.24 MB / 0.5889 GB, free: 2.941 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3497/0.4546, allocations: 100.1 MB / 0.6867 GB, free: 232 kB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001879/0.4549, allocations: 78.33 kB / 0.6867 GB, free: 192 kB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.07884/0.5337, allocations: 30.47 MB / 0.7165 GB, free: 6.5 MB / 458.7 MB Notification: Performance of FrontEnd: time 1.523e-06/0.5337, allocations: 0 / 0.7165 GB, free: 6.5 MB / 458.7 MB Notification: Performance of Transformations before backend: time 7.651e-05/0.5338, allocations: 24 kB / 0.7165 GB, free: 6.477 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: 189 * Number of variables: 189 Notification: Performance of Generate backend data structure: time 0.004519/0.5384, allocations: 1.712 MB / 0.7182 GB, free: 4.816 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.346e-05/0.5384, allocations: 11.98 kB / 0.7182 GB, free: 4.805 MB / 458.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003191/0.5387, allocations: 121.7 kB / 0.7183 GB, free: 4.727 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003579/0.5423, allocations: 0.5658 MB / 0.7189 GB, free: 4.203 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001489/0.5438, allocations: 0.7593 MB / 0.7196 GB, free: 3.559 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002987/0.5441, allocations: 268.7 kB / 0.7199 GB, free: 3.289 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002116/0.5444, allocations: 76.73 kB / 0.7199 GB, free: 3.238 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001598/0.546, allocations: 0.9348 MB / 0.7209 GB, free: 2.621 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.752e-05/0.546, allocations: 0 / 0.7209 GB, free: 2.621 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.043e-05/0.5461, allocations: 25.62 kB / 0.7209 GB, free: 2.617 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.902e-05/0.5461, allocations: 27.95 kB / 0.7209 GB, free: 2.59 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001417/0.5476, allocations: 0.8402 MB / 0.7217 GB, free: 2.062 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.006237/0.5538, allocations: 3.789 MB / 0.7254 GB, free: 15.04 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007095/0.5609, allocations: 2.645 MB / 0.728 GB, free: 12.64 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008428/0.5618, allocations: 0.5484 MB / 0.7285 GB, free: 12.33 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000114/0.5619, allocations: 16.75 kB / 0.7286 GB, free: 12.32 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001055/0.563, allocations: 0.6644 MB / 0.7292 GB, free: 11.86 MB / 474.7 MB Notification: Performance of pre-optimization done (n=95): time 2.895e-06/0.563, allocations: 0 / 0.7292 GB, free: 11.86 MB / 474.7 MB Notification: Performance of matching and sorting (n=95): time 0.01207/0.5751, allocations: 4.028 MB / 0.7331 GB, free: 8.363 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.404e-05/0.5752, allocations: 119.2 kB / 0.7333 GB, free: 8.227 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001499/0.5767, allocations: 0.8824 MB / 0.7341 GB, free: 7.562 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002109/0.5769, allocations: 42.27 kB / 0.7342 GB, free: 7.527 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003181/0.5772, allocations: 0.5112 MB / 0.7347 GB, free: 7.246 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004034/0.5776, allocations: 333.2 kB / 0.735 GB, free: 6.961 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.166e-05/0.5777, allocations: 17.69 kB / 0.735 GB, free: 6.957 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0001204/0.5779, allocations: 344.4 kB / 0.7353 GB, free: 6.629 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007617/0.5786, allocations: 455.5 kB / 0.7358 GB, free: 6.383 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008377/0.5795, allocations: 0.5804 MB / 0.7363 GB, free: 5.98 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008645/0.5804, allocations: 0.5461 MB / 0.7369 GB, free: 5.621 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.831e-06/0.5804, allocations: 0 / 0.7369 GB, free: 5.621 MB / 474.7 MB Notification: Performance of matching and sorting (n=126) (initialization): time 0.01194/0.5923, allocations: 4.097 MB / 0.7409 GB, free: 2.059 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.829e-05/0.5924, allocations: 59.41 kB / 0.7409 GB, free: 1.988 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.259e-05/0.5924, allocations: 4 kB / 0.7409 GB, free: 1.984 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005362/0.5978, allocations: 1.53 MB / 0.7424 GB, free: 0.6523 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009851/0.5988, allocations: 190.7 kB / 0.7426 GB, free: 484 kB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01398/0.6128, allocations: 6.783 MB / 0.7492 GB, free: 10.27 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001625/0.6145, allocations: 199.1 kB / 0.7494 GB, free: 10.07 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001642/0.6146, allocations: 39.98 kB / 0.7494 GB, free: 10.04 MB / 490.7 MB Warning: Assuming fixed start value for the following 4 variables: order3.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 order3.e1q:VARIABLE(start = order3.e1q0 unit = "1" ) "q-axis 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 (94): * Single equations (assignments): 91 * 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 {19 14} Notification: Performance of prepare postOptimizeDAE: time 0.0004/0.6151, allocations: 191.5 kB / 0.7496 GB, free: 9.836 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003183/0.6154, allocations: 130.4 kB / 0.7498 GB, free: 9.707 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01184/0.6272, allocations: 4.139 MB / 0.7538 GB, free: 5.535 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.497e-05/0.6273, allocations: 12 kB / 0.7538 GB, free: 5.523 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.215e-05/0.6273, allocations: 7.984 kB / 0.7538 GB, free: 5.516 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.154e-05/0.6273, allocations: 11.94 kB / 0.7538 GB, free: 5.504 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.0136/0.6409, allocations: 5.694 MB / 0.7594 GB, free: 15.7 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.394e-06/0.641, allocations: 4.031 kB / 0.7594 GB, free: 15.7 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000559/0.6415, allocations: 99.89 kB / 0.7595 GB, free: 15.6 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004677/0.6462, allocations: 1.512 MB / 0.761 GB, free: 14.08 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001493/0.6464, allocations: 16 kB / 0.761 GB, free: 14.06 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0133/0.6597, allocations: 7.713 MB / 0.7685 GB, free: 6.062 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.114e-06/0.6597, allocations: 4 kB / 0.7685 GB, free: 6.059 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01278/0.6725, allocations: 4.877 MB / 0.7733 GB, free: 1.141 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004232/0.673, allocations: 223.4 kB / 0.7735 GB, free: 0.9023 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002265/0.6732, allocations: 20 kB / 0.7735 GB, free: 0.8828 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001229/0.6744, allocations: 143.9 kB / 0.7736 GB, free: 0.7422 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000549/0.675, allocations: 192.6 kB / 0.7738 GB, free: 0.5547 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.367e-05/0.6751, allocations: 28 kB / 0.7739 GB, free: 0.5273 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.0009694/0.6761, allocations: 0.6859 MB / 0.7745 GB, free: 15.83 MB / 0.5105 GB Notification: Performance of sort global known variables: time 1.452e-06/0.6761, allocations: 0 / 0.7745 GB, free: 15.83 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.001299/0.6774, allocations: 443.4 kB / 0.7749 GB, free: 15.4 MB / 0.5105 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 9 (order2.delta,order2.w,order3.delta,order3.w,order3.e1q,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 (63): * Single equations (assignments): 60 * 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 {(20,23.0%) 12} * Non-linear torn systems: 1 {1 6} Notification: Performance of Backend phase and start with SimCode phase: time 0.01341/0.6908, allocations: 5.547 MB / 0.7804 GB, free: 9.801 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.005291/0.6961, allocations: 2.069 MB / 0.7824 GB, free: 7.688 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 6.042e-06/0.6962, allocations: 0 / 0.7824 GB, free: 7.688 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.004182/0.7004, allocations: 1.584 MB / 0.7839 GB, free: 6.066 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001056/0.7014, allocations: 108.5 kB / 0.784 GB, free: 5.961 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004221/0.7057, allocations: 1.874 MB / 0.7859 GB, free: 4.039 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006276/0.7063, allocations: 1.139 MB / 0.787 GB, free: 2.867 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.0004279/0.7068, allocations: 98.75 kB / 0.7871 GB, free: 2.766 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006004/0.7074, allocations: 483.3 kB / 0.7875 GB, free: 2.293 MB / 0.5105 GB Notification: Performance of SimCode: time 1.753e-06/0.7074, allocations: 0 / 0.7875 GB, free: 2.293 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.051/0.7584, allocations: 30.81 MB / 0.8176 GB, free: 3.613 MB / 0.5417 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001982/0.7586, allocations: 193.5 kB / 0.8178 GB, free: 3.391 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.635/3.394, allocations: 3.938 kB / 0.8178 GB, free: 3.387 MB / 0.5417 GB (rm -f OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRII.pipe ; mkfifo OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRII.pipe ; head -c 1048576 < OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRII.pipe >> ../files/OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRII.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_OpenIPSL_2_0_0_OpenIPSL_Examples_PSATSystems_TwoAreaOld_ThirdOrder_AVRII_fmu --startTime=0 --stopTime=20 --timeout=50 --tolerance=1e-06 OpenIPSL_2_0_0_OpenIPSL_Examples_PSATSystems_TwoAreaOld_ThirdOrder_AVRII.fmu > OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRII.pipe 2>&1)