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.005419/0.005419, allocations: 170.8 kB / 15.11 MB, free: 5.973 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.298/1.298, allocations: 205.4 MB / 221.3 MB, free: 13.84 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.0008764/0.0008764, allocations: 94.81 kB / 269.6 MB, free: 13.36 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0/package.mo): time 0.06208/0.06208, allocations: 12.2 MB / 330.1 MB, free: 10.7 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo): time 0.4428/0.4428, allocations: 78.52 MB / 459.6 MB, free: 4 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005551/0.0005554, allocations: 24.5 kB / 0.528 GB, free: 35.33 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1216/0.1222, allocations: 69.24 MB / 0.5956 GB, free: 4.289 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3711/0.4933, allocations: 100.2 MB / 0.6934 GB, free: 98.19 MB / 474.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003021/0.4937, allocations: 85.86 kB / 0.6935 GB, free: 98.19 MB / 474.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.0798/0.5735, allocations: 30.56 MB / 0.7234 GB, free: 87.68 MB / 474.7 MB Notification: Performance of FrontEnd: time 2.354e-06/0.5736, allocations: 0 / 0.7234 GB, free: 87.68 MB / 474.7 MB Notification: Performance of Transformations before backend: time 0.0001225/0.5737, allocations: 24 kB / 0.7234 GB, free: 87.66 MB / 474.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.005909/0.5796, allocations: 1.998 MB / 0.7253 GB, free: 85.6 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.251e-05/0.5797, allocations: 15.98 kB / 0.7254 GB, free: 85.58 MB / 474.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000414/0.5801, allocations: 126.6 kB / 0.7255 GB, free: 85.45 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003674/0.5838, allocations: 0.5757 MB / 0.726 GB, free: 84.87 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001998/0.5858, allocations: 0.7898 MB / 0.7268 GB, free: 84.03 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002608/0.5861, allocations: 260.1 kB / 0.7271 GB, free: 83.74 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002361/0.5863, allocations: 79.91 kB / 0.7271 GB, free: 83.66 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002087/0.5884, allocations: 1.137 MB / 0.7282 GB, free: 82.51 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.849e-05/0.5885, allocations: 4 kB / 0.7283 GB, free: 82.5 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.491e-05/0.5886, allocations: 28 kB / 0.7283 GB, free: 82.48 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.339e-05/0.5886, allocations: 23.95 kB / 0.7283 GB, free: 82.45 MB / 474.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001897/0.5905, allocations: 1.046 MB / 0.7293 GB, free: 81.41 MB / 474.7 MB Warning: The model contains alias variables with redundant start and/or conflicting 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.006248/0.5968, allocations: 3.789 MB / 0.733 GB, free: 77.44 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00715/0.6039, allocations: 2.886 MB / 0.7358 GB, free: 74.46 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001157/0.6041, allocations: 20.92 kB / 0.7359 GB, free: 74.44 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001509/0.6056, allocations: 0.8647 MB / 0.7367 GB, free: 73.55 MB / 474.7 MB Notification: Performance of pre-optimization done (n=95): time 4.689e-06/0.6056, allocations: 0 / 0.7367 GB, free: 73.55 MB / 474.7 MB Notification: Performance of matching and sorting (n=95): time 0.02814/0.6338, allocations: 8.54 MB / 0.745 GB, free: 64.95 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.958e-05/0.6338, allocations: 115.8 kB / 0.7452 GB, free: 64.81 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001703/0.6356, allocations: 0.929 MB / 0.7461 GB, free: 63.87 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002091/0.6358, allocations: 45.73 kB / 0.7461 GB, free: 63.82 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003113/0.6361, allocations: 0.509 MB / 0.7466 GB, free: 63.3 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004172/0.6365, allocations: 331.2 kB / 0.7469 GB, free: 62.98 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.483e-05/0.6366, allocations: 24 kB / 0.7469 GB, free: 62.95 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 8.286e-05/0.6367, allocations: 341.9 kB / 0.7473 GB, free: 62.61 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001256/0.638, allocations: 0.6461 MB / 0.7479 GB, free: 61.96 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001291/0.6393, allocations: 0.7674 MB / 0.7487 GB, free: 61.16 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001329/0.6406, allocations: 0.7507 MB / 0.7494 GB, free: 60.4 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.907e-06/0.6407, allocations: 0 / 0.7494 GB, free: 60.4 MB / 474.7 MB Notification: Performance of matching and sorting (n=126) (initialization): time 0.01229/0.653, allocations: 4.669 MB / 0.7539 GB, free: 55.7 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.511e-05/0.653, allocations: 63.36 kB / 0.754 GB, free: 55.62 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.477e-05/0.6531, allocations: 8 kB / 0.754 GB, free: 55.62 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005834/0.6589, allocations: 1.908 MB / 0.7559 GB, free: 53.71 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001004/0.6599, allocations: 183.8 kB / 0.7561 GB, free: 53.53 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01921/0.6792, allocations: 9.472 MB / 0.7653 GB, free: 43.91 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001739/0.6809, allocations: 203.1 kB / 0.7655 GB, free: 43.71 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002407/0.6812, allocations: 39.98 kB / 0.7655 GB, free: 43.68 MB / 474.7 MB Warning: Assuming fixed start value for the following 4 variables: order3.w:VARIABLE(start = 1.0 fixed = true ) "Rotor speed [pu]" type: Real order2.w:VARIABLE(start = 1.0 fixed = true ) "Rotor speed [pu]" type: Real aVRTypeII.firstOrder2.y:VARIABLE(start = aVRTypeII.firstOrder2.y_start fixed = true ) "Connector of Real output signal" type: Real order3.e1q:VARIABLE(start = order3.e1q0 unit = "1" fixed = true ) "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 () * Number of clocked 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.0008118/0.682, allocations: 284.5 kB / 0.7658 GB, free: 43.38 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003489/0.6824, allocations: 126.4 kB / 0.7659 GB, free: 43.26 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01225/0.6947, allocations: 4.732 MB / 0.7705 GB, free: 38.5 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.935e-05/0.6947, allocations: 8 kB / 0.7706 GB, free: 38.49 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.302e-05/0.6948, allocations: 8 kB / 0.7706 GB, free: 38.48 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.838e-05/0.6948, allocations: 7.984 kB / 0.7706 GB, free: 38.47 MB / 474.7 MB Warning: The model contains alias variables with redundant start and/or conflicting 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.01533/0.7101, allocations: 6.281 MB / 0.7767 GB, free: 32.08 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.115e-05/0.7102, allocations: 0 / 0.7767 GB, free: 32.08 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006307/0.7108, allocations: 99.83 kB / 0.7768 GB, free: 31.98 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005124/0.716, allocations: 1.88 MB / 0.7786 GB, free: 30.1 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002148/0.7162, allocations: 20 kB / 0.7787 GB, free: 30.08 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01817/0.7344, allocations: 10.14 MB / 0.7886 GB, free: 19.66 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.785e-06/0.7344, allocations: 0 / 0.7886 GB, free: 19.66 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01382/0.7483, allocations: 5.654 MB / 0.7941 GB, free: 13.96 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006456/0.749, allocations: 227.2 kB / 0.7943 GB, free: 13.72 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005099/0.7495, allocations: 19.98 kB / 0.7943 GB, free: 13.7 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001532/0.7511, allocations: 147.9 kB / 0.7944 GB, free: 13.56 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006958/0.7518, allocations: 188.7 kB / 0.7946 GB, free: 13.37 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000153/0.7519, allocations: 31.98 kB / 0.7947 GB, free: 13.34 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.001507/0.7535, allocations: 0.7237 MB / 0.7954 GB, free: 12.61 MB / 474.7 MB Notification: Performance of sort global known variables: time 2.6e-07/0.7535, allocations: 0 / 0.7954 GB, free: 12.61 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.001913/0.7554, allocations: 439.5 kB / 0.7958 GB, free: 12.18 MB / 474.7 MB 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 () * Number of clocked 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.01417/0.7696, allocations: 6.32 MB / 0.802 GB, free: 5.812 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.00641/0.7761, allocations: 2.461 MB / 0.8044 GB, free: 3.305 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 5.29e-06/0.7761, allocations: 0.75 kB / 0.8044 GB, free: 3.305 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003985/0.7801, allocations: 1.81 MB / 0.8061 GB, free: 1.457 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001171/0.7813, allocations: 115.9 kB / 0.8062 GB, free: 1.348 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00655/0.7879, allocations: 4.998 MB / 0.8111 GB, free: 12.23 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000849/0.7888, allocations: 1.143 MB / 0.8122 GB, free: 11.07 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.0005031/0.7893, allocations: 102.8 kB / 0.8123 GB, free: 10.96 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006951/0.79, allocations: 483.3 kB / 0.8128 GB, free: 10.49 MB / 490.7 MB Notification: Performance of SimCode: time 1.212e-06/0.79, allocations: 0 / 0.8128 GB, free: 10.49 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05322/0.8432, allocations: 30.49 MB / 0.8426 GB, free: 12.19 MB / 0.5105 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002141/0.8435, allocations: 224.6 kB / 0.8428 GB, free: 11.95 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.905/3.749, allocations: 3.938 kB / 0.8428 GB, free: 11.94 MB / 0.5105 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)