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.009162/0.009162, allocations: 171 kB / 15.11 MB, free: 6.039 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.424/1.424, allocations: 223.2 MB / 239 MB, free: 32 kB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008673/0.0008672, allocations: 105.4 kB / 290.2 MB, free: 4.418 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.5238/0.5238, allocations: 79.44 MB / 420.7 MB, free: 36.25 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003896/0.0003895, allocations: 16 kB / 0.4891 GB, free: 6.211 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1617/0.1621, allocations: 69.51 MB / 0.557 GB, free: 0.6445 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4556/0.6177, allocations: 99.97 MB / 0.6546 GB, free: 1.16 MB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000228/0.618, allocations: 84.38 kB / 0.6547 GB, free: 1.082 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.06912/0.6871, allocations: 25.98 MB / 0.6801 GB, free: 7.184 MB / 474.7 MB Notification: Performance of FrontEnd: time 2.234e-06/0.6872, allocations: 0 / 0.6801 GB, free: 7.184 MB / 474.7 MB Notification: Performance of Transformations before backend: time 5.485e-05/0.6872, allocations: 20 kB / 0.6801 GB, free: 7.164 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.005199/0.6924, allocations: 1.947 MB / 0.682 GB, free: 5.164 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.785e-05/0.6925, allocations: 12.03 kB / 0.682 GB, free: 5.152 MB / 474.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002501/0.6928, allocations: 130.5 kB / 0.6821 GB, free: 5.016 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003294/0.6961, allocations: 0.5565 MB / 0.6827 GB, free: 4.457 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002017/0.6981, allocations: 0.7883 MB / 0.6835 GB, free: 3.617 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003533/0.6985, allocations: 272.1 kB / 0.6837 GB, free: 3.312 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001525/0.6986, allocations: 72 kB / 0.6838 GB, free: 3.242 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002562/0.7012, allocations: 1.188 MB / 0.6849 GB, free: 2.043 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.901e-05/0.7012, allocations: 0 / 0.6849 GB, free: 2.043 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001028/0.7013, allocations: 35.12 kB / 0.685 GB, free: 2.012 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.113e-05/0.7014, allocations: 16 kB / 0.685 GB, free: 1.996 MB / 474.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002429/0.7038, allocations: 1.163 MB / 0.6861 GB, free: 0.8281 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006745/0.7106, allocations: 3.517 MB / 0.6896 GB, free: 13.16 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002376/0.713, allocations: 1.488 MB / 0.691 GB, free: 11.55 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001054/0.7131, allocations: 24.97 kB / 0.691 GB, free: 11.53 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.622e-05/0.7131, allocations: 43.56 kB / 0.6911 GB, free: 11.48 MB / 490.7 MB Notification: Performance of pre-optimization done (n=89): time 3.507e-06/0.7131, allocations: 0 / 0.6911 GB, free: 11.48 MB / 490.7 MB Notification: Performance of matching and sorting (n=89): time 0.02929/0.7424, allocations: 8.25 MB / 0.6991 GB, free: 3.191 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.283e-05/0.7426, allocations: 86.11 kB / 0.6992 GB, free: 3.09 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001559/0.7441, allocations: 0.8156 MB / 0.7 GB, free: 2.258 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002373/0.7444, allocations: 44.14 kB / 0.7001 GB, free: 2.211 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003728/0.7448, allocations: 488.7 kB / 0.7005 GB, free: 1.727 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003513/0.7451, allocations: 307.4 kB / 0.7008 GB, free: 1.422 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.345e-05/0.7452, allocations: 16 kB / 0.7008 GB, free: 1.406 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001092/0.7453, allocations: 338 kB / 0.7012 GB, free: 1.07 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001388/0.7467, allocations: 0.6696 MB / 0.7018 GB, free: 412 kB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001412/0.7481, allocations: 0.7843 MB / 0.7026 GB, free: 15.59 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001438/0.7496, allocations: 0.7087 MB / 0.7033 GB, free: 14.88 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.47e-06/0.7496, allocations: 8 kB / 0.7033 GB, free: 14.87 MB / 0.4948 GB Notification: Performance of matching and sorting (n=104) (initialization): time 0.01415/0.7637, allocations: 4.813 MB / 0.708 GB, free: 10.04 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003868/0.7642, allocations: 0.8095 MB / 0.7088 GB, free: 9.176 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.467e-05/0.7642, allocations: 0 / 0.7088 GB, free: 9.176 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006705/0.7709, allocations: 2.103 MB / 0.7108 GB, free: 7.07 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008611/0.7718, allocations: 147.8 kB / 0.711 GB, free: 6.926 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02201/0.7938, allocations: 9.97 MB / 0.7207 GB, free: 12.83 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001589/0.7955, allocations: 211 kB / 0.7209 GB, free: 12.62 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.937e-05/0.7956, allocations: 24 kB / 0.7209 GB, free: 12.6 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.514e-05/0.7956, allocations: 8 kB / 0.7209 GB, free: 12.59 MB / 0.5105 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01354/0.8091, allocations: 4.652 MB / 0.7255 GB, free: 7.934 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.658e-05/0.8092, allocations: 4 kB / 0.7255 GB, free: 7.93 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006355/0.8156, allocations: 2.101 MB / 0.7275 GB, free: 5.824 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008157/0.8164, allocations: 139.8 kB / 0.7277 GB, free: 5.688 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02235/0.8388, allocations: 9.977 MB / 0.7374 GB, free: 11.58 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001906/0.8407, allocations: 183.2 kB / 0.7376 GB, free: 11.4 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002866/0.841, allocations: 32.92 kB / 0.7376 GB, free: 11.37 MB / 0.5261 GB Warning: Assuming fixed start value for the following 3 variables: TGTypeII1.transferFunction1.x_scaled[1]:VARIABLE(fixed = true protected = true ) "Scaled vector x" type: Real [1] order3_Inputs_Outputs1.e1q:VARIABLE(start = order3_Inputs_Outputs1.e1q0 unit = "1" fixed = true ) "q-axis transient voltage" type: Real order3_Inputs_Outputs1.w:VARIABLE(start = 1.0 fixed = true ) "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 () * Number of clocked 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.001194/0.8423, allocations: 324 kB / 0.7379 GB, free: 11.04 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005851/0.8429, allocations: 118.6 kB / 0.738 GB, free: 10.93 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0137/0.8566, allocations: 4.846 MB / 0.7428 GB, free: 6.07 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.665e-05/0.8566, allocations: 10.53 kB / 0.7428 GB, free: 6.062 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.881e-06/0.8566, allocations: 3.984 kB / 0.7428 GB, free: 6.059 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.831e-05/0.8567, allocations: 3.984 kB / 0.7428 GB, free: 6.055 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0156/0.8723, allocations: 6.449 MB / 0.7491 GB, free: 15.47 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.228e-05/0.8723, allocations: 0 / 0.7491 GB, free: 15.47 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006644/0.873, allocations: 119.8 kB / 0.7492 GB, free: 15.35 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00619/0.8792, allocations: 2.055 MB / 0.7512 GB, free: 13.29 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001525/0.8794, allocations: 16 kB / 0.7512 GB, free: 13.28 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01902/0.8984, allocations: 8.655 MB / 0.7597 GB, free: 4.477 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.206e-06/0.8985, allocations: 0 / 0.7597 GB, free: 4.477 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01651/0.915, allocations: 5.845 MB / 0.7654 GB, free: 14.61 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006248/0.9157, allocations: 199.5 kB / 0.7656 GB, free: 14.39 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001761/0.9159, allocations: 16 kB / 0.7656 GB, free: 14.38 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001149/0.917, allocations: 151.9 kB / 0.7657 GB, free: 14.23 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006846/0.9177, allocations: 200.7 kB / 0.7659 GB, free: 14.03 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.56e-05/0.9178, allocations: 27.97 kB / 0.7659 GB, free: 14 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 0.001058/0.9189, allocations: 0.6354 MB / 0.7666 GB, free: 13.36 MB / 0.5573 GB Notification: Performance of sort global known variables: time 3.9e-07/0.9189, allocations: 0 / 0.7666 GB, free: 13.36 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.001991/0.9209, allocations: 0.6592 MB / 0.7672 GB, free: 12.7 MB / 0.5573 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 () * Number of clocked 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.01616/0.937, allocations: 6.428 MB / 0.7735 GB, free: 6.234 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.01128/0.9484, allocations: 4.274 MB / 0.7777 GB, free: 1.945 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 5.811e-06/0.9484, allocations: 0 / 0.7777 GB, free: 1.945 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.004811/0.9532, allocations: 1.735 MB / 0.7794 GB, free: 208 kB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009708/0.9542, allocations: 85.97 kB / 0.7794 GB, free: 120 kB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02559/0.9798, allocations: 12.44 MB / 0.7916 GB, free: 3.348 MB / 0.573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008561/0.9807, allocations: 1.128 MB / 0.7927 GB, free: 2.188 MB / 0.573 GB Notification: Performance of simCode: alias equations: time 0.0005942/0.9813, allocations: 89.72 kB / 0.7928 GB, free: 2.098 MB / 0.573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005946/0.9819, allocations: 415.3 kB / 0.7932 GB, free: 1.691 MB / 0.573 GB Notification: Performance of SimCode: time 9.82e-07/0.982, allocations: 4 kB / 0.7932 GB, free: 1.688 MB / 0.573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3908/1.373, allocations: 36.25 MB / 0.8286 GB, free: 154.2 MB / 0.573 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000153/1.373, allocations: 191.5 kB / 0.8288 GB, free: 153.9 MB / 0.573 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.998/4.371, allocations: 0 / 0.8288 GB, free: 153.9 MB / 0.573 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)