Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order3test2_TG.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo", uses=false) Using package OpenIPSL with version 3.1.0-dev (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(OpenIPSL.Tests.Machines.PSAT.Order3test2_TG,fileNamePrefix="OpenIPSL_dev_OpenIPSL_Tests_Machines_PSAT_Order3test2_TG",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.Machines.PSAT.Order3test2_TG,fileNamePrefix="OpenIPSL_dev_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 4.0.0+maint.om/package.mo): time 0.001696/0.001696, allocations: 172.4 kB / 7.648 MB, free: 1.422 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.41/1.41, allocations: 221.5 MB / 229.6 MB, free: 7.578 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009738/0.0009737, allocations: 89.98 kB / 280.5 MB, free: 5.324 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.5389/0.5389, allocations: 78.94 MB / 410.2 MB, free: 5.945 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 1.917e-05/1.919e-05, allocations: 0 / 486 MB, free: 11.44 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1479/0.1479, allocations: 69.52 MB / 0.5425 GB, free: 5.816 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4546/0.6026, allocations: 99.23 MB / 0.6394 GB, free: 14.84 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002683/0.6029, allocations: 84.73 kB / 0.6395 GB, free: 14.75 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.06741/0.6703, allocations: 25.57 MB / 0.6645 GB, free: 5.25 MB / 474.7 MB Notification: Performance of FrontEnd: time 1.673e-06/0.6704, allocations: 1.219 kB / 0.6645 GB, free: 5.25 MB / 474.7 MB Notification: Performance of Transformations before backend: time 5.34e-05/0.6705, allocations: 20 kB / 0.6645 GB, free: 5.23 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: 186 * Number of variables: 186 Notification: Performance of Generate backend data structure: time 0.004513/0.675, allocations: 1.703 MB / 0.6662 GB, free: 3.484 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.314e-05/0.675, allocations: 11.97 kB / 0.6662 GB, free: 3.473 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003294/0.6783, allocations: 0.5526 MB / 0.6667 GB, free: 2.918 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001617/0.68, allocations: 0.7555 MB / 0.6675 GB, free: 2.105 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002742/0.6803, allocations: 228.5 kB / 0.6677 GB, free: 1.848 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001343/0.6804, allocations: 55.95 kB / 0.6677 GB, free: 1.793 MB / 474.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001538/0.682, allocations: 0.8202 MB / 0.6685 GB, free: 0.9727 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001451/0.6834, allocations: 0.8367 MB / 0.6693 GB, free: 128 kB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.732e-05/0.6834, allocations: 0 / 0.6693 GB, free: 128 kB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.737e-05/0.6835, allocations: 0 / 0.6693 GB, free: 128 kB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.665e-05/0.6836, allocations: 20 kB / 0.6694 GB, free: 108 kB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006113/0.6897, allocations: 3.39 MB / 0.6727 GB, free: 12.57 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001428/0.6911, allocations: 1.196 MB / 0.6738 GB, free: 11.26 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007543/0.6919, allocations: 0.5466 MB / 0.6744 GB, free: 10.71 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001134/0.692, allocations: 8.781 kB / 0.6744 GB, free: 10.7 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.649e-05/0.6921, allocations: 43.33 kB / 0.6744 GB, free: 10.64 MB / 490.7 MB Notification: Performance of pre-optimization done (n=89): time 3.116e-06/0.6921, allocations: 4 kB / 0.6744 GB, free: 10.64 MB / 490.7 MB Notification: Performance of matching and sorting (n=89): time 0.01213/0.7042, allocations: 3.982 MB / 0.6783 GB, free: 6.648 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.726e-05/0.7044, allocations: 85.89 kB / 0.6784 GB, free: 6.543 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001222/0.7056, allocations: 0.6982 MB / 0.6791 GB, free: 5.828 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002323/0.7058, allocations: 25.7 kB / 0.6791 GB, free: 5.797 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003563/0.7062, allocations: 0.4966 MB / 0.6796 GB, free: 5.293 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003358/0.7065, allocations: 295.5 kB / 0.6799 GB, free: 5 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.161e-05/0.7066, allocations: 0 / 0.6799 GB, free: 5 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001216/0.7067, allocations: 337.9 kB / 0.6802 GB, free: 4.664 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006646/0.7074, allocations: 426.6 kB / 0.6806 GB, free: 4.246 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007068/0.7081, allocations: 0.5091 MB / 0.6811 GB, free: 3.707 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007213/0.7089, allocations: 463.6 kB / 0.6815 GB, free: 3.258 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.211e-06/0.7089, allocations: 4 kB / 0.6815 GB, free: 3.254 MB / 490.7 MB Notification: Performance of matching and sorting (n=104) (initialization): time 0.0121/0.721, allocations: 4.062 MB / 0.6855 GB, free: 15.17 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003071/0.7213, allocations: 0.7959 MB / 0.6863 GB, free: 14.32 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.19e-05/0.7213, allocations: 0 / 0.6863 GB, free: 14.32 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005538/0.7269, allocations: 1.683 MB / 0.6879 GB, free: 12.64 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007852/0.7277, allocations: 143.8 kB / 0.6881 GB, free: 12.5 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01409/0.7418, allocations: 7.06 MB / 0.695 GB, free: 5.312 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001751/0.7436, allocations: 175.2 kB / 0.6951 GB, free: 5.141 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000115/0.7438, allocations: 35.94 kB / 0.6952 GB, free: 5.105 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.389e-05/0.7438, allocations: 4 kB / 0.6952 GB, free: 5.102 MB / 0.4948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.012/0.7558, allocations: 3.91 MB / 0.699 GB, free: 1.188 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.199e-05/0.7559, allocations: 4 kB / 0.699 GB, free: 1.184 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005575/0.7615, allocations: 1.683 MB / 0.7006 GB, free: 15.5 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008014/0.7623, allocations: 140.9 kB / 0.7008 GB, free: 15.36 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01436/0.7767, allocations: 7.063 MB / 0.7077 GB, free: 8.172 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0016/0.7783, allocations: 167.2 kB / 0.7078 GB, free: 8.008 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000196/0.7786, allocations: 27.98 kB / 0.7079 GB, free: 7.98 MB / 0.5105 GB 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.0004227/0.779, allocations: 129.6 kB / 0.708 GB, free: 7.852 MB / 0.5105 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.01222/0.7912, allocations: 3.976 MB / 0.7119 GB, free: 3.859 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006061/0.7919, allocations: 118.6 kB / 0.712 GB, free: 3.742 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01261/0.8045, allocations: 4.076 MB / 0.716 GB, free: 15.64 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.835e-05/0.8046, allocations: 12 kB / 0.716 GB, free: 15.63 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.268e-06/0.8046, allocations: 0 / 0.716 GB, free: 15.63 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.794e-05/0.8046, allocations: 7.938 kB / 0.716 GB, free: 15.62 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01467/0.8193, allocations: 5.61 MB / 0.7215 GB, free: 9.891 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.337e-05/0.8194, allocations: 0 / 0.7215 GB, free: 9.891 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007086/0.8201, allocations: 117.2 kB / 0.7216 GB, free: 9.777 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005205/0.8253, allocations: 1.652 MB / 0.7232 GB, free: 8.121 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000224/0.8256, allocations: 8 kB / 0.7232 GB, free: 8.113 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01296/0.8385, allocations: 6.206 MB / 0.7292 GB, free: 1.789 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.598e-06/0.8386, allocations: 7.953 kB / 0.7293 GB, free: 1.781 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01373/0.8524, allocations: 4.819 MB / 0.734 GB, free: 12.94 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005335/0.8529, allocations: 200.5 kB / 0.7341 GB, free: 12.72 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00039/0.8533, allocations: 4 kB / 0.7342 GB, free: 12.72 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001448/0.8548, allocations: 139.9 kB / 0.7343 GB, free: 12.58 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006791/0.8555, allocations: 200.4 kB / 0.7345 GB, free: 12.39 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001063/0.8556, allocations: 19.98 kB / 0.7345 GB, free: 12.37 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 0.0008419/0.8565, allocations: 0.545 MB / 0.735 GB, free: 11.81 MB / 0.5417 GB Notification: Performance of sort global known variables: time 1.3e-07/0.8565, allocations: 0 / 0.735 GB, free: 11.81 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.002113/0.8586, allocations: 0.6083 MB / 0.7356 GB, free: 11.2 MB / 0.5417 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.01394/0.8726, allocations: 5.41 MB / 0.7409 GB, free: 5.754 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.009729/0.8823, allocations: 3.419 MB / 0.7442 GB, free: 2.316 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 5.75e-06/0.8824, allocations: 4.062 kB / 0.7442 GB, free: 2.312 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.004234/0.8866, allocations: 1.433 MB / 0.7456 GB, free: 0.875 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009566/0.8876, allocations: 64.3 kB / 0.7457 GB, free: 0.8125 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003794/0.8914, allocations: 1.689 MB / 0.7474 GB, free: 15.09 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006899/0.8921, allocations: 1.13 MB / 0.7485 GB, free: 13.93 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.0006525/0.8928, allocations: 152.6 kB / 0.7486 GB, free: 13.78 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004703/0.8933, allocations: 413.4 kB / 0.749 GB, free: 13.38 MB / 0.5573 GB Notification: Performance of SimCode: time 7.81e-07/0.8933, allocations: 0 / 0.749 GB, free: 13.38 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3715/1.265, allocations: 35.31 MB / 0.7835 GB, free: 145.7 MB / 0.5573 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001628/1.265, allocations: 134.6 kB / 0.7836 GB, free: 145.5 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.283/4.548, allocations: 0 / 0.7836 GB, free: 145.5 MB / 0.5573 GB (rm -f OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order3test2_TG.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order3test2_TG.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order3test2_TG.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order3test2_TG.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_OpenIPSL_dev_OpenIPSL_Tests_Machines_PSAT_Order3test2_TG_fmu --startTime=0 --stopTime=20 --timeout=50 --tolerance=1e-06 OpenIPSL_dev_OpenIPSL_Tests_Machines_PSAT_Order3test2_TG.fmu > OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order3test2_TG.pipe 2>&1)