Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_dev_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.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.Order4test2_TG,fileNamePrefix="OpenIPSL_dev_OpenIPSL_Tests_Machines_PSAT_Order4test2_TG",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.Machines.PSAT.Order4test2_TG,fileNamePrefix="OpenIPSL_dev_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.00696/0.00696, allocations: 169.5 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.381/1.381, allocations: 223.2 MB / 239 MB, free: 1.797 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.00114/0.00114, allocations: 103.9 kB / 290.2 MB, free: 13.94 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.4974/0.4974, allocations: 79.45 MB / 420.7 MB, free: 43.64 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004128/0.0004132, allocations: 8 kB / 0.4891 GB, free: 1.949 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5372/0.5376, allocations: 69.5 MB / 0.557 GB, free: 38.89 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1425/0.6802, allocations: 100.4 MB / 0.655 GB, free: 5.188 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002674/0.6805, allocations: 86.67 kB / 0.6551 GB, free: 5.105 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.0716/0.7521, allocations: 26.52 MB / 0.681 GB, free: 10.46 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.784e-06/0.7522, allocations: 0 / 0.681 GB, free: 10.46 MB / 490.7 MB Notification: Performance of Transformations before backend: time 6.18e-05/0.7523, allocations: 24 kB / 0.681 GB, free: 10.43 MB / 490.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.005326/0.7576, allocations: 1.944 MB / 0.6829 GB, free: 8.438 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.508e-05/0.7577, allocations: 12.03 kB / 0.6829 GB, free: 8.426 MB / 490.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002402/0.7579, allocations: 122.6 kB / 0.6831 GB, free: 8.297 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00322/0.7611, allocations: 0.5603 MB / 0.6836 GB, free: 7.734 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001866/0.763, allocations: 0.7903 MB / 0.6844 GB, free: 6.887 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002798/0.7633, allocations: 268.5 kB / 0.6846 GB, free: 6.59 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001383/0.7635, allocations: 79.86 kB / 0.6847 GB, free: 6.512 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002395/0.7659, allocations: 1.192 MB / 0.6859 GB, free: 5.305 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.726e-05/0.7659, allocations: 0 / 0.6859 GB, free: 5.305 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.955e-05/0.766, allocations: 28 kB / 0.6859 GB, free: 5.277 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.685e-05/0.766, allocations: 20 kB / 0.6859 GB, free: 5.258 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002397/0.7684, allocations: 1.163 MB / 0.6871 GB, free: 4.094 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006913/0.7753, allocations: 3.557 MB / 0.6905 GB, free: 392 kB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002285/0.7777, allocations: 1.504 MB / 0.692 GB, free: 14.76 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 9.683e-05/0.7778, allocations: 20.91 kB / 0.692 GB, free: 14.74 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.507e-05/0.7778, allocations: 39.56 kB / 0.6921 GB, free: 14.7 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=90): time 2.425e-06/0.7779, allocations: 0 / 0.6921 GB, free: 14.7 MB / 0.4948 GB Notification: Performance of matching and sorting (n=90): time 0.02543/0.8033, allocations: 7.755 MB / 0.6996 GB, free: 6.902 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.342e-05/0.8034, allocations: 86.11 kB / 0.6997 GB, free: 6.801 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001375/0.8048, allocations: 0.7997 MB / 0.7005 GB, free: 5.984 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 0.0002329/0.805, allocations: 37.7 kB / 0.7005 GB, free: 5.941 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003997/0.8054, allocations: 496.8 kB / 0.701 GB, free: 5.449 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004149/0.8058, allocations: 315.4 kB / 0.7013 GB, free: 5.137 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.821e-05/0.8059, allocations: 16 kB / 0.7013 GB, free: 5.121 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001383/0.8061, allocations: 345.8 kB / 0.7016 GB, free: 4.777 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001408/0.8075, allocations: 0.6774 MB / 0.7023 GB, free: 4.102 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001474/0.809, allocations: 0.7805 MB / 0.7031 GB, free: 3.289 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001467/0.8104, allocations: 0.7155 MB / 0.7038 GB, free: 2.578 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.967e-06/0.8104, allocations: 3.938 kB / 0.7038 GB, free: 2.574 MB / 0.4948 GB Notification: Performance of matching and sorting (n=106) (initialization): time 0.01432/0.8248, allocations: 4.875 MB / 0.7085 GB, free: 13.68 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003429/0.8252, allocations: 0.7993 MB / 0.7093 GB, free: 12.82 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.006e-05/0.8252, allocations: 3.938 kB / 0.7093 GB, free: 12.82 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006652/0.8318, allocations: 2.102 MB / 0.7114 GB, free: 10.72 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007634/0.8326, allocations: 135.9 kB / 0.7115 GB, free: 10.59 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02239/0.855, allocations: 9.97 MB / 0.7212 GB, free: 492 kB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001533/0.8566, allocations: 199.2 kB / 0.7214 GB, free: 292 kB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.087e-05/0.8567, allocations: 27.98 kB / 0.7214 GB, free: 264 kB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.417e-05/0.8567, allocations: 8 kB / 0.7215 GB, free: 256 kB / 0.5105 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01384/0.8706, allocations: 4.719 MB / 0.7261 GB, free: 11.52 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.764e-05/0.8706, allocations: 4 kB / 0.7261 GB, free: 11.52 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006565/0.8772, allocations: 2.086 MB / 0.7281 GB, free: 9.43 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007318/0.878, allocations: 135.8 kB / 0.7282 GB, free: 9.297 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02124/0.8992, allocations: 9.96 MB / 0.738 GB, free: 15.2 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001412/0.9007, allocations: 187.2 kB / 0.7381 GB, free: 15.01 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.759e-05/0.9008, allocations: 35.98 kB / 0.7382 GB, free: 14.98 MB / 0.5417 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.0005782/0.9013, allocations: 310.1 kB / 0.7385 GB, free: 14.67 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000247/0.9016, allocations: 114.6 kB / 0.7386 GB, free: 14.55 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01355/0.9152, allocations: 4.854 MB / 0.7433 GB, free: 9.684 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.527e-05/0.9152, allocations: 8 kB / 0.7433 GB, free: 9.676 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.527e-06/0.9152, allocations: 0 / 0.7433 GB, free: 9.676 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.659e-05/0.9152, allocations: 11.98 kB / 0.7433 GB, free: 9.664 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01649/0.9317, allocations: 6.48 MB / 0.7497 GB, free: 3.047 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.578e-06/0.9318, allocations: 0 / 0.7497 GB, free: 3.047 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007276/0.9325, allocations: 115.8 kB / 0.7498 GB, free: 2.934 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.006268/0.9388, allocations: 2.056 MB / 0.7518 GB, free: 0.875 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002057/0.939, allocations: 20 kB / 0.7518 GB, free: 0.8555 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01867/0.9577, allocations: 8.62 MB / 0.7602 GB, free: 8.094 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.306e-06/0.9577, allocations: 3.938 kB / 0.7602 GB, free: 8.09 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01573/0.9735, allocations: 5.841 MB / 0.7659 GB, free: 2.227 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004681/0.974, allocations: 199.5 kB / 0.7661 GB, free: 2.012 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001807/0.9742, allocations: 19.98 kB / 0.7661 GB, free: 1.992 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001111/0.9753, allocations: 147.9 kB / 0.7663 GB, free: 1.848 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005983/0.9759, allocations: 212.4 kB / 0.7665 GB, free: 1.637 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.072e-05/0.976, allocations: 24 kB / 0.7665 GB, free: 1.613 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 0.0009257/0.9769, allocations: 0.6274 MB / 0.7671 GB, free: 0.9766 MB / 0.5573 GB Notification: Performance of sort global known variables: time 1.5e-07/0.9769, allocations: 7.938 kB / 0.7671 GB, free: 0.9688 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.001777/0.9787, allocations: 0.6746 MB / 0.7678 GB, free: 300 kB / 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.2862/1.265, allocations: 6.422 MB / 0.7741 GB, free: 146.6 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.01126/1.276, allocations: 4.253 MB / 0.7782 GB, free: 146.2 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 8.546e-06/1.276, allocations: 0 / 0.7782 GB, free: 146.2 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.004839/1.281, allocations: 1.749 MB / 0.7799 GB, free: 146 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008346/1.282, allocations: 86.98 kB / 0.78 GB, free: 146 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02417/1.306, allocations: 12.55 MB / 0.7923 GB, free: 142.3 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006922/1.307, allocations: 1.131 MB / 0.7934 GB, free: 141.5 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.0005547/1.307, allocations: 91.55 kB / 0.7934 GB, free: 141.5 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004898/1.308, allocations: 421.4 kB / 0.7938 GB, free: 141.5 MB / 0.5573 GB Notification: Performance of SimCode: time 8.71e-07/1.308, allocations: 2.688 kB / 0.7939 GB, free: 141.5 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06766/1.376, allocations: 36.12 MB / 0.8291 GB, free: 139.3 MB / 0.5573 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001355/1.376, allocations: 190.6 kB / 0.8293 GB, free: 139.1 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.034/4.409, allocations: 0 / 0.8293 GB, free: 139.1 MB / 0.5573 GB (rm -f OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order4test2_TG.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order4test2_TG.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order4test2_TG.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order4test2_TG.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_OpenIPSL_dev_OpenIPSL_Tests_Machines_PSAT_Order4test2_TG_fmu --startTime=0 --stopTime=20 --timeout=50 --tolerance=1e-06 OpenIPSL_dev_OpenIPSL_Tests_Machines_PSAT_Order4test2_TG.fmu > OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order4test2_TG.pipe 2>&1)