Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.TwoAreaOld.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.TwoAreaOld.FourthOrder_AVRII,fileNamePrefix="OpenIPSL_2_0_0_OpenIPSL_Examples_PSATSystems_TwoAreaOld_FourthOrder_AVRII",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Examples.PSATSystems.TwoAreaOld.FourthOrder_AVRII,fileNamePrefix="OpenIPSL_2_0_0_OpenIPSL_Examples_PSATSystems_TwoAreaOld_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.0009844/0.0009843, allocations: 174.6 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.199/1.199, allocations: 205.2 MB / 218.5 MB, free: 9.211 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.0007918/0.0007919, allocations: 91.47 kB / 266.6 MB, free: 9.277 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0/package.mo): time 0.06147/0.06147, 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.2686/0.2686, allocations: 78.03 MB / 455.7 MB, free: 15.35 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 3.511e-05/3.515e-05, allocations: 4 kB / 0.5213 GB, free: 24.11 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1081/0.1081, allocations: 69.24 MB / 0.5889 GB, free: 2.938 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.348/0.4561, allocations: 100.4 MB / 0.6869 GB, free: 15.97 MB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002118/0.4564, allocations: 79.78 kB / 0.687 GB, free: 15.93 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.09373/0.5501, allocations: 35.51 MB / 0.7217 GB, free: 1.969 MB / 458.7 MB Notification: Performance of FrontEnd: time 1.603e-06/0.5502, allocations: 0 / 0.7217 GB, free: 1.969 MB / 458.7 MB Notification: Performance of Transformations before backend: time 6.489e-05/0.5502, allocations: 24 kB / 0.7217 GB, free: 1.945 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: 190 * Number of variables: 190 Notification: Performance of Generate backend data structure: time 0.004077/0.5543, allocations: 1.714 MB / 0.7234 GB, free: 288 kB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.381e-05/0.5544, allocations: 15.98 kB / 0.7234 GB, free: 272 kB / 458.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001866/0.5546, allocations: 121.9 kB / 0.7235 GB, free: 192 kB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003279/0.5579, allocations: 0.5631 MB / 0.7241 GB, free: 15.66 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001393/0.5593, allocations: 0.7829 MB / 0.7248 GB, free: 15 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002558/0.5596, allocations: 263.7 kB / 0.7251 GB, free: 14.73 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001531/0.5597, allocations: 80.19 kB / 0.7252 GB, free: 14.68 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001512/0.5612, allocations: 0.9315 MB / 0.7261 GB, free: 14.07 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.882e-05/0.5613, allocations: 0 / 0.7261 GB, free: 14.07 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.023e-05/0.5614, allocations: 38.86 kB / 0.7261 GB, free: 14.05 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.547e-05/0.5614, allocations: 19.95 kB / 0.7261 GB, free: 14.03 MB / 474.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00135/0.5627, allocations: 0.8383 MB / 0.7269 GB, free: 13.5 MB / 474.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.006251/0.569, allocations: 3.787 MB / 0.7306 GB, free: 10.49 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007178/0.5762, allocations: 2.653 MB / 0.7332 GB, free: 8.082 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000889/0.5771, allocations: 0.5415 MB / 0.7338 GB, free: 7.781 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001071/0.5773, allocations: 24.2 kB / 0.7338 GB, free: 7.762 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009782/0.5782, allocations: 0.6757 MB / 0.7344 GB, free: 7.297 MB / 474.7 MB Notification: Performance of pre-optimization done (n=96): time 2.305e-06/0.5783, allocations: 0 / 0.7344 GB, free: 7.297 MB / 474.7 MB Notification: Performance of matching and sorting (n=96): time 0.01192/0.5902, allocations: 4.028 MB / 0.7384 GB, free: 3.801 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.986e-05/0.5903, allocations: 115.6 kB / 0.7385 GB, free: 3.664 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001251/0.5915, allocations: 0.8787 MB / 0.7394 GB, free: 3 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001907/0.5917, allocations: 48.14 kB / 0.7394 GB, free: 2.961 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002903/0.592, allocations: 0.5002 MB / 0.7399 GB, free: 2.688 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003231/0.5924, allocations: 344 kB / 0.7402 GB, free: 2.391 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.47e-05/0.5924, allocations: 20.94 kB / 0.7402 GB, free: 2.387 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0001006/0.5925, allocations: 347.2 kB / 0.7406 GB, free: 2.059 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007136/0.5933, allocations: 464.7 kB / 0.741 GB, free: 1.805 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007626/0.594, allocations: 0.5722 MB / 0.7416 GB, free: 1.406 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007903/0.5948, allocations: 0.5585 MB / 0.7421 GB, free: 1.039 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.519e-06/0.5948, allocations: 0 / 0.7421 GB, free: 1.039 MB / 474.7 MB Notification: Performance of matching and sorting (n=128) (initialization): time 0.0117/0.6066, allocations: 4.087 MB / 0.7461 GB, free: 13.48 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.329e-05/0.6067, allocations: 68.59 kB / 0.7462 GB, free: 13.4 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.249e-05/0.6067, allocations: 4 kB / 0.7462 GB, free: 13.4 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005292/0.612, allocations: 1.529 MB / 0.7477 GB, free: 11.93 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001032/0.613, allocations: 187.7 kB / 0.7478 GB, free: 11.74 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01352/0.6266, allocations: 6.739 MB / 0.7544 GB, free: 4.863 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00162/0.6282, allocations: 203 kB / 0.7546 GB, free: 4.664 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001321/0.6284, allocations: 35.98 kB / 0.7547 GB, free: 4.629 MB / 490.7 MB Warning: Assuming fixed start value for the following 4 variables: order4.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 order4.e1d:VARIABLE(start = order4.e1d0 unit = "1" ) "d-axis transient voltage" type: Real order4.e1q:VARIABLE(start = order4.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 (96): * Single equations (assignments): 93 * 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.0002923/0.6287, allocations: 199.5 kB / 0.7548 GB, free: 4.422 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002369/0.6289, allocations: 126.4 kB / 0.755 GB, free: 4.297 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01194/0.6409, allocations: 4.139 MB / 0.759 GB, free: 136 kB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.668e-05/0.6409, allocations: 12 kB / 0.759 GB, free: 124 kB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.145e-05/0.641, allocations: 12 kB / 0.759 GB, free: 112 kB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.528e-05/0.641, allocations: 3.984 kB / 0.759 GB, free: 108 kB / 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.01378/0.6548, allocations: 5.698 MB / 0.7646 GB, free: 10.3 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.245e-06/0.6548, allocations: 0 / 0.7646 GB, free: 10.3 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006151/0.6554, allocations: 103.8 kB / 0.7647 GB, free: 10.2 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0047/0.6601, allocations: 1.485 MB / 0.7661 GB, free: 8.703 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001422/0.6603, allocations: 23.98 kB / 0.7662 GB, free: 8.68 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0134/0.6737, allocations: 7.701 MB / 0.7737 GB, free: 0.6953 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.342e-06/0.6738, allocations: 11.97 kB / 0.7737 GB, free: 0.6836 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0132/0.687, allocations: 4.873 MB / 0.7785 GB, free: 11.77 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004923/0.6875, allocations: 231.2 kB / 0.7787 GB, free: 11.52 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002275/0.6877, allocations: 20 kB / 0.7787 GB, free: 11.5 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001218/0.689, allocations: 151.9 kB / 0.7788 GB, free: 11.36 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000568/0.6896, allocations: 192.7 kB / 0.779 GB, free: 11.17 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.429e-05/0.6897, allocations: 27.94 kB / 0.7791 GB, free: 11.14 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.0009501/0.6906, allocations: 0.6856 MB / 0.7797 GB, free: 10.45 MB / 0.5105 GB Notification: Performance of sort global known variables: time 1.3e-07/0.6906, allocations: 0 / 0.7797 GB, free: 10.45 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.001355/0.692, allocations: 439.5 kB / 0.7801 GB, free: 10.02 MB / 0.5105 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 10 (order2.delta,order2.w,order4.delta,order4.w,order4.e1q,order4.e1d,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 (64): * Single equations (assignments): 61 * 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 {(18,25.9%) 14} * Non-linear torn systems: 1 {1 6} Notification: Performance of Backend phase and start with SimCode phase: time 0.01336/0.7053, allocations: 5.543 MB / 0.7856 GB, free: 4.426 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.004882/0.7103, allocations: 2.069 MB / 0.7876 GB, free: 2.309 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 4.849e-06/0.7103, allocations: 0 / 0.7876 GB, free: 2.309 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.003969/0.7143, allocations: 1.572 MB / 0.7891 GB, free: 0.6992 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009567/0.7153, allocations: 107.6 kB / 0.7892 GB, free: 0.5938 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004075/0.7194, allocations: 1.949 MB / 0.7911 GB, free: 14.6 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006098/0.72, allocations: 1.151 MB / 0.7922 GB, free: 13.42 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.0004667/0.7205, allocations: 94.75 kB / 0.7923 GB, free: 13.32 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000597/0.7211, allocations: 467.3 kB / 0.7928 GB, free: 12.86 MB / 0.5261 GB Notification: Performance of SimCode: time 1.263e-06/0.7211, allocations: 0 / 0.7928 GB, free: 12.86 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0519/0.773, allocations: 30.8 MB / 0.8229 GB, free: 14.2 MB / 0.5573 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001973/0.7733, allocations: 198.1 kB / 0.823 GB, free: 13.97 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.744/3.517, allocations: 0 / 0.823 GB, free: 13.97 MB / 0.5573 GB (rm -f OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FourthOrder_AVRII.pipe ; mkfifo OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FourthOrder_AVRII.pipe ; head -c 1048576 < OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FourthOrder_AVRII.pipe >> ../files/OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FourthOrder_AVRII.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_OpenIPSL_2_0_0_OpenIPSL_Examples_PSATSystems_TwoAreaOld_FourthOrder_AVRII_fmu --startTime=0 --stopTime=20 --timeout=50 --tolerance=1e-06 OpenIPSL_2_0_0_OpenIPSL_Examples_PSATSystems_TwoAreaOld_FourthOrder_AVRII.fmu > OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FourthOrder_AVRII.pipe 2>&1)