Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order4test2_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.0.1/package.mo", uses=false) Using package OpenIPSL with version 3.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/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.Order4test2_TG,fileNamePrefix="OpenIPSL_OpenIPSL_Tests_Machines_PSAT_Order4test2_TG",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.Machines.PSAT.Order4test2_TG,fileNamePrefix="OpenIPSL_OpenIPSL_Tests_Machines_PSAT_Order4test2_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.01009/0.01009, 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 4.0.0+maint.om/package.mo): time 1.463/1.463, allocations: 223.2 MB / 239 MB, free: 60 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.0009972/0.0009972, allocations: 97 kB / 290.2 MB, free: 4.469 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.5061/0.5061, allocations: 78.51 MB / 419.8 MB, free: 36.28 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004181/0.0004183, allocations: 16 kB / 499.8 MB, free: 7.016 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1464/0.1469, allocations: 69.35 MB / 0.5558 GB, free: 1.688 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4711/0.6181, allocations: 99.69 MB / 0.6532 GB, free: 2.449 MB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002588/0.6184, allocations: 88.78 kB / 0.6532 GB, free: 2.402 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.07176/0.6902, allocations: 25.82 MB / 0.6785 GB, free: 9.105 MB / 474.7 MB Notification: Performance of FrontEnd: time 2.224e-06/0.6902, allocations: 0 / 0.6785 GB, free: 9.105 MB / 474.7 MB Notification: Performance of Transformations before backend: time 6.751e-05/0.6903, allocations: 25.91 kB / 0.6785 GB, free: 9.082 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: 187 * Number of variables: 187 Notification: Performance of Generate backend data structure: time 0.0056/0.6959, allocations: 1.947 MB / 0.6804 GB, free: 7.086 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.941e-05/0.696, allocations: 12.03 kB / 0.6804 GB, free: 7.074 MB / 474.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003064/0.6963, allocations: 126.6 kB / 0.6805 GB, free: 6.941 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003346/0.6996, allocations: 0.5565 MB / 0.6811 GB, free: 6.383 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001943/0.7016, allocations: 0.802 MB / 0.6818 GB, free: 5.523 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003183/0.7019, allocations: 264.5 kB / 0.6821 GB, free: 5.23 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001582/0.7021, allocations: 79.86 kB / 0.6822 GB, free: 5.152 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002346/0.7045, allocations: 1.188 MB / 0.6833 GB, free: 3.949 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.623e-05/0.7045, allocations: 3.938 kB / 0.6833 GB, free: 3.945 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.797e-05/0.7046, allocations: 32 kB / 0.6834 GB, free: 3.914 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.608e-05/0.7046, allocations: 16 kB / 0.6834 GB, free: 3.898 MB / 474.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002423/0.707, allocations: 1.163 MB / 0.6845 GB, free: 2.734 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006465/0.7135, allocations: 3.516 MB / 0.6879 GB, free: 15.07 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002345/0.7159, allocations: 1.511 MB / 0.6894 GB, free: 13.43 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.73e-05/0.716, allocations: 9 kB / 0.6894 GB, free: 13.43 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.43e-05/0.7161, allocations: 47.56 kB / 0.6895 GB, free: 13.37 MB / 490.7 MB Notification: Performance of pre-optimization done (n=90): time 3.847e-06/0.7161, allocations: 0 / 0.6895 GB, free: 13.37 MB / 490.7 MB Notification: Performance of matching and sorting (n=90): time 0.02522/0.7413, allocations: 7.76 MB / 0.6971 GB, free: 5.574 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.921e-05/0.7414, allocations: 86.11 kB / 0.6971 GB, free: 5.473 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001412/0.7429, allocations: 0.7998 MB / 0.6979 GB, free: 4.656 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002518/0.7431, allocations: 40.8 kB / 0.698 GB, free: 4.613 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003994/0.7435, allocations: 496.8 kB / 0.6984 GB, free: 4.121 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003713/0.7439, allocations: 315.4 kB / 0.6987 GB, free: 3.809 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.763e-05/0.744, allocations: 20 kB / 0.6988 GB, free: 3.789 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001494/0.7441, allocations: 337.9 kB / 0.6991 GB, free: 3.453 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001432/0.7456, allocations: 0.6774 MB / 0.6997 GB, free: 2.777 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001508/0.7471, allocations: 0.7843 MB / 0.7005 GB, free: 1.961 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001495/0.7486, allocations: 0.7194 MB / 0.7012 GB, free: 1.246 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.171e-06/0.7486, allocations: 7.938 kB / 0.7012 GB, free: 1.238 MB / 490.7 MB Notification: Performance of matching and sorting (n=106) (initialization): time 0.01432/0.7629, allocations: 4.871 MB / 0.706 GB, free: 12.35 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003853/0.7634, allocations: 0.7979 MB / 0.7067 GB, free: 11.5 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.4e-05/0.7634, allocations: 7.953 kB / 0.7068 GB, free: 11.49 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006677/0.7701, allocations: 2.087 MB / 0.7088 GB, free: 9.398 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007609/0.7709, allocations: 143.8 kB / 0.7089 GB, free: 9.258 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02218/0.7931, allocations: 9.974 MB / 0.7187 GB, free: 15.15 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001494/0.7946, allocations: 203.1 kB / 0.7189 GB, free: 14.95 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001013/0.7947, allocations: 32 kB / 0.7189 GB, free: 14.92 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.205e-05/0.7947, allocations: 4 kB / 0.7189 GB, free: 14.92 MB / 0.5105 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01359/0.8083, allocations: 4.719 MB / 0.7235 GB, free: 10.19 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.078e-05/0.8084, allocations: 7.188 kB / 0.7235 GB, free: 10.19 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006479/0.8149, allocations: 2.086 MB / 0.7256 GB, free: 8.098 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007025/0.8156, allocations: 131.8 kB / 0.7257 GB, free: 7.969 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02162/0.8372, allocations: 9.962 MB / 0.7354 GB, free: 13.87 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00146/0.8387, allocations: 179.2 kB / 0.7356 GB, free: 13.7 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.529e-05/0.8388, allocations: 33.97 kB / 0.7356 GB, free: 13.66 MB / 0.5261 GB Warning: Assuming fixed start value for the following 2 variables: Generator.e1d:VARIABLE(start = Generator.e1d0 unit = "1" fixed = true ) "d-axis transient voltage" type: Real TGTypeII1.transferFunction1.x_scaled[1]:VARIABLE(fixed = true protected = true ) "Scaled vector x" type: Real [1] 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 (70): * Single equations (assignments): 69 * 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 {24 13} Notification: Performance of prepare postOptimizeDAE: time 0.0006104/0.8395, allocations: 317.3 kB / 0.7359 GB, free: 13.35 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002223/0.8397, allocations: 114.6 kB / 0.736 GB, free: 13.23 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01362/0.8533, allocations: 4.858 MB / 0.7408 GB, free: 8.359 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.078e-05/0.8534, allocations: 8.875 kB / 0.7408 GB, free: 8.352 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.002e-06/0.8534, allocations: 7.984 kB / 0.7408 GB, free: 8.344 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.516e-05/0.8534, allocations: 7.984 kB / 0.7408 GB, free: 8.336 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01611/0.8695, allocations: 6.472 MB / 0.7471 GB, free: 1.73 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.472e-05/0.8696, allocations: 0 / 0.7471 GB, free: 1.73 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007384/0.8704, allocations: 107.9 kB / 0.7472 GB, free: 1.625 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.006252/0.8766, allocations: 2.064 MB / 0.7492 GB, free: 15.56 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002323/0.8769, allocations: 19.98 kB / 0.7492 GB, free: 15.54 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01864/0.8955, allocations: 8.618 MB / 0.7577 GB, free: 6.785 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.525e-06/0.8956, allocations: 0 / 0.7577 GB, free: 6.785 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01574/0.9113, allocations: 5.868 MB / 0.7634 GB, free: 0.8945 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005165/0.9119, allocations: 203.5 kB / 0.7636 GB, free: 0.6758 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002007/0.9121, allocations: 16 kB / 0.7636 GB, free: 0.6602 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001085/0.9132, allocations: 151.9 kB / 0.7637 GB, free: 0.5117 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006556/0.9139, allocations: 202.2 kB / 0.7639 GB, free: 320 kB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.052e-05/0.914, allocations: 27.94 kB / 0.764 GB, free: 292 kB / 0.5417 GB Notification: Performance of sorting global known variables: time 0.001019/0.915, allocations: 0.6314 MB / 0.7646 GB, free: 15.64 MB / 0.5573 GB Notification: Performance of sort global known variables: time 1.61e-07/0.915, allocations: 0 / 0.7646 GB, free: 15.64 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.001942/0.9169, allocations: 0.6709 MB / 0.7652 GB, free: 14.97 MB / 0.5573 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 5 (TGTypeII1.transferFunction1.x_scaled[1],Generator.delta,Generator.w,Generator.e1q,Generator.e1d) * 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 (57): * Single equations (assignments): 56 * 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.01562/0.9326, allocations: 6.453 MB / 0.7715 GB, free: 8.488 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.01098/0.9436, allocations: 4.247 MB / 0.7757 GB, free: 4.227 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 6.382e-06/0.9436, allocations: 0 / 0.7757 GB, free: 4.227 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.004766/0.9484, allocations: 1.757 MB / 0.7774 GB, free: 2.461 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007919/0.9492, allocations: 87.41 kB / 0.7775 GB, free: 2.379 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02596/0.9752, allocations: 12.56 MB / 0.7898 GB, free: 5.48 MB / 0.573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007871/0.976, allocations: 1.124 MB / 0.7909 GB, free: 4.328 MB / 0.573 GB Notification: Performance of simCode: alias equations: time 0.0005774/0.9766, allocations: 93.75 kB / 0.7909 GB, free: 4.234 MB / 0.573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005785/0.9772, allocations: 423.2 kB / 0.7913 GB, free: 3.82 MB / 0.573 GB Notification: Performance of SimCode: time 6.11e-07/0.9772, allocations: 0 / 0.7913 GB, free: 3.82 MB / 0.573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3416/1.319, allocations: 36.14 MB / 0.8266 GB, free: 155.3 MB / 0.573 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002132/1.319, allocations: 201.8 kB / 0.8268 GB, free: 155 MB / 0.573 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.299/4.618, allocations: 7.984 kB / 0.8268 GB, free: 155 MB / 0.573 GB (rm -f OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order4test2_TG.pipe ; mkfifo OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order4test2_TG.pipe ; head -c 1048576 < OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order4test2_TG.pipe >> ../files/OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order4test2_TG.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_OpenIPSL_OpenIPSL_Tests_Machines_PSAT_Order4test2_TG_fmu --startTime=0 --stopTime=20 --timeout=50 --tolerance=1e-06 OpenIPSL_OpenIPSL_Tests_Machines_PSAT_Order4test2_TG.fmu > OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order4test2_TG.pipe 2>&1)