Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order3test2_TG.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.Tests.Machines.PSAT.Order3test2_TG,fileNamePrefix="OpenIPSL_2_0_0_OpenIPSL_Tests_Machines_PSAT_Order3test2_TG",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.Machines.PSAT.Order3test2_TG,fileNamePrefix="OpenIPSL_2_0_0_OpenIPSL_Tests_Machines_PSAT_Order3test2_TG",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.0008799/0.0008799, allocations: 173.9 kB / 7.648 MB, free: 1.422 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.234/1.234, allocations: 205.3 MB / 213.4 MB, free: 13.77 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.0008027/0.0008027, allocations: 79.5 kB / 261.4 MB, free: 13.46 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0/package.mo): time 0.0629/0.0629, allocations: 12.2 MB / 321.5 MB, free: 1.203 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo): time 0.2718/0.2718, allocations: 78.06 MB / 450.3 MB, free: 3.484 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 2.142e-05/2.144e-05, allocations: 4 kB / 0.5142 GB, free: 29.97 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1222/0.1222, allocations: 69.24 MB / 0.5819 GB, free: 8.84 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3874/0.5097, allocations: 100.2 MB / 0.6797 GB, free: 8.395 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001767/0.5099, allocations: 74.77 kB / 0.6798 GB, free: 8.355 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.05821/0.5681, allocations: 24.55 MB / 0.7037 GB, free: 4.223 MB / 442.7 MB Notification: Performance of FrontEnd: time 1.252e-06/0.5681, allocations: 4 kB / 0.7037 GB, free: 4.219 MB / 442.7 MB Notification: Performance of Transformations before backend: time 5.764e-05/0.5682, allocations: 20 kB / 0.7038 GB, free: 4.199 MB / 442.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 186 * Number of variables: 186 Notification: Performance of Generate backend data structure: time 0.00437/0.5726, allocations: 1.708 MB / 0.7054 GB, free: 2.566 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.023e-05/0.5726, allocations: 8.031 kB / 0.7054 GB, free: 2.559 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003201/0.5758, allocations: 0.5569 MB / 0.706 GB, free: 2.051 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001475/0.5773, allocations: 0.7667 MB / 0.7067 GB, free: 1.383 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002628/0.5776, allocations: 232.2 kB / 0.7069 GB, free: 1.121 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001216/0.5777, allocations: 47.92 kB / 0.707 GB, free: 1.074 MB / 442.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001352/0.5791, allocations: 0.8249 MB / 0.7078 GB, free: 0.5742 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001387/0.5805, allocations: 0.8338 MB / 0.7086 GB, free: 4 kB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.852e-05/0.5805, allocations: 4 kB / 0.7086 GB, free: 0 / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.19e-05/0.5806, allocations: 0 / 0.7086 GB, free: 0 / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.726e-05/0.5807, allocations: 20.05 kB / 0.7086 GB, free: 15.98 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005814/0.5865, allocations: 3.383 MB / 0.7119 GB, free: 13.35 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001262/0.5878, allocations: 1.2 MB / 0.7131 GB, free: 12.35 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006776/0.5885, allocations: 0.546 MB / 0.7136 GB, free: 12.06 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001146/0.5886, allocations: 12.77 kB / 0.7136 GB, free: 12.05 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.874e-05/0.5886, allocations: 47.09 kB / 0.7137 GB, free: 12 MB / 458.7 MB Notification: Performance of pre-optimization done (n=89): time 2.575e-06/0.5886, allocations: 0.6562 kB / 0.7137 GB, free: 12 MB / 458.7 MB Notification: Performance of matching and sorting (n=89): time 0.01174/0.6004, allocations: 3.978 MB / 0.7176 GB, free: 8.535 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.572e-05/0.6005, allocations: 89.89 kB / 0.7177 GB, free: 8.43 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001026/0.6015, allocations: 0.7039 MB / 0.7184 GB, free: 7.895 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002267/0.6017, allocations: 29.64 kB / 0.7184 GB, free: 7.859 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003701/0.6021, allocations: 499.8 kB / 0.7189 GB, free: 7.582 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003955/0.6025, allocations: 294.3 kB / 0.7191 GB, free: 7.324 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.146e-05/0.6026, allocations: 3.938 kB / 0.7191 GB, free: 7.32 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0001244/0.6027, allocations: 344.6 kB / 0.7195 GB, free: 6.992 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006263/0.6033, allocations: 419.7 kB / 0.7199 GB, free: 6.773 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006798/0.604, allocations: 0.5134 MB / 0.7204 GB, free: 6.438 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006779/0.6047, allocations: 468 kB / 0.7208 GB, free: 6.184 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.188e-06/0.6047, allocations: 0 / 0.7208 GB, free: 6.184 MB / 458.7 MB Notification: Performance of matching and sorting (n=104) (initialization): time 0.01177/0.6165, allocations: 4.05 MB / 0.7248 GB, free: 2.652 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002883/0.6168, allocations: 0.8002 MB / 0.7256 GB, free: 1.809 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.144e-05/0.6169, allocations: 3.953 kB / 0.7256 GB, free: 1.805 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005249/0.6221, allocations: 1.687 MB / 0.7272 GB, free: 348 kB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007135/0.6228, allocations: 143.2 kB / 0.7273 GB, free: 208 kB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01286/0.6357, allocations: 7.062 MB / 0.7342 GB, free: 11.11 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001465/0.6372, allocations: 175.2 kB / 0.7344 GB, free: 10.93 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001029/0.6373, allocations: 28 kB / 0.7344 GB, free: 10.91 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.14e-05/0.6374, allocations: 4 kB / 0.7344 GB, free: 10.9 MB / 474.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01163/0.649, allocations: 3.914 MB / 0.7383 GB, free: 6.98 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.089e-05/0.649, allocations: 7.984 kB / 0.7383 GB, free: 6.973 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005351/0.6544, allocations: 1.675 MB / 0.7399 GB, free: 5.293 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007508/0.6552, allocations: 139.8 kB / 0.74 GB, free: 5.156 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01353/0.6687, allocations: 7.064 MB / 0.7469 GB, free: 13.97 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00141/0.6702, allocations: 167.2 kB / 0.7471 GB, free: 13.8 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.544e-05/0.6703, allocations: 31.98 kB / 0.7471 GB, free: 13.77 MB / 490.7 MB Warning: Assuming fixed start value for the following 3 variables: TGTypeII1.transferFunction1.x_scaled[1]:VARIABLE(protected = true ) "Scaled vector x" type: Real [1] order3_Inputs_Outputs1.e1q:VARIABLE(start = order3_Inputs_Outputs1.e1q0 unit = "1" ) "q-axis transient voltage" type: Real order3_Inputs_Outputs1.w:VARIABLE(start = 1.0 ) "Rotor speed [pu]" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (69): * Single equations (assignments): 68 * Array equations: 0 * Algorithm blocks: 0 * 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 {25 11} Notification: Performance of prepare postOptimizeDAE: time 0.0003216/0.6706, allocations: 119.4 kB / 0.7472 GB, free: 13.65 MB / 490.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.01172/0.6823, allocations: 3.988 MB / 0.7511 GB, free: 9.648 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005432/0.6829, allocations: 118.6 kB / 0.7512 GB, free: 9.531 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01206/0.695, allocations: 4.072 MB / 0.7552 GB, free: 5.441 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.071e-05/0.6951, allocations: 12 kB / 0.7552 GB, free: 5.43 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.322e-06/0.6951, allocations: 3.984 kB / 0.7552 GB, free: 5.426 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.761e-05/0.6951, allocations: 7.922 kB / 0.7552 GB, free: 5.418 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01407/0.7092, allocations: 5.595 MB / 0.7607 GB, free: 15.7 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.6e-05/0.7093, allocations: 4 kB / 0.7607 GB, free: 15.7 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000847/0.7101, allocations: 115.8 kB / 0.7608 GB, free: 15.58 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005383/0.7155, allocations: 1.663 MB / 0.7624 GB, free: 13.91 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001764/0.7157, allocations: 8 kB / 0.7625 GB, free: 13.91 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01216/0.7279, allocations: 6.203 MB / 0.7685 GB, free: 7.574 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.08e-06/0.7279, allocations: 0 / 0.7685 GB, free: 7.574 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01358/0.7415, allocations: 4.827 MB / 0.7732 GB, free: 2.727 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005142/0.7421, allocations: 203.5 kB / 0.7734 GB, free: 2.508 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001743/0.7423, allocations: 7.984 kB / 0.7734 GB, free: 2.5 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001186/0.7435, allocations: 131.9 kB / 0.7736 GB, free: 2.371 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007324/0.7442, allocations: 212.2 kB / 0.7738 GB, free: 2.164 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.208e-05/0.7443, allocations: 20 kB / 0.7738 GB, free: 2.145 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.0008972/0.7452, allocations: 0.5413 MB / 0.7743 GB, free: 1.594 MB / 0.4948 GB Notification: Performance of sort global known variables: time 3.727e-06/0.7452, allocations: 0 / 0.7743 GB, free: 1.594 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.002111/0.7473, allocations: 0.6082 MB / 0.7749 GB, free: 0.9844 MB / 0.4948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 4 (order3_Inputs_Outputs1.delta,order3_Inputs_Outputs1.w,order3_Inputs_Outputs1.e1q,TGTypeII1.transferFunction1.x_scaled[1]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (56): * Single equations (assignments): 55 * Array equations: 0 * Algorithm blocks: 0 * 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 {26 10} Notification: Performance of Backend phase and start with SimCode phase: time 0.0137/0.761, allocations: 5.402 MB / 0.7802 GB, free: 11.55 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.00945/0.7705, allocations: 3.416 MB / 0.7835 GB, free: 8.109 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 4.959e-06/0.7706, allocations: 0.5 kB / 0.7835 GB, free: 8.109 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.004099/0.7747, allocations: 1.434 MB / 0.7849 GB, free: 6.664 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008165/0.7755, allocations: 76.22 kB / 0.785 GB, free: 6.59 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003878/0.7794, allocations: 1.677 MB / 0.7866 GB, free: 4.871 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006826/0.7801, allocations: 1.13 MB / 0.7877 GB, free: 3.715 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.0006442/0.7808, allocations: 164.5 kB / 0.7879 GB, free: 3.551 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004612/0.7813, allocations: 407.3 kB / 0.7883 GB, free: 3.152 MB / 0.5105 GB Notification: Performance of SimCode: time 6.01e-07/0.7813, allocations: 4 kB / 0.7883 GB, free: 3.148 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0619/0.8432, allocations: 35.35 MB / 0.8228 GB, free: 15.82 MB / 0.5573 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001935/0.8434, allocations: 129.1 kB / 0.8229 GB, free: 15.62 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.97/3.814, allocations: 3.938 kB / 0.8229 GB, free: 15.62 MB / 0.5573 GB (rm -f OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order3test2_TG.pipe ; mkfifo OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order3test2_TG.pipe ; head -c 1048576 < OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order3test2_TG.pipe >> ../files/OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order3test2_TG.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_OpenIPSL_2_0_0_OpenIPSL_Tests_Machines_PSAT_Order3test2_TG_fmu --startTime=0 --stopTime=20 --timeout=50 --tolerance=1e-06 OpenIPSL_2_0_0_OpenIPSL_Tests_Machines_PSAT_Order3test2_TG.fmu > OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order3test2_TG.pipe 2>&1)