Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order4test2_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.Order4test2_TG,fileNamePrefix="OpenIPSL_2_0_0_OpenIPSL_Tests_Machines_PSAT_Order4test2_TG",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.Machines.PSAT.Order4test2_TG,fileNamePrefix="OpenIPSL_2_0_0_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 3.2.3+maint.om/package.mo): time 0.007096/0.007096, allocations: 170.8 kB / 15.11 MB, free: 5.984 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.538/1.538, allocations: 205.4 MB / 221.3 MB, free: 13.84 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.00091/0.0009097, allocations: 90.8 kB / 269.6 MB, free: 13.36 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0/package.mo): time 0.07705/0.07705, allocations: 12.19 MB / 330.1 MB, free: 10.7 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo): time 0.4376/0.4376, allocations: 78.53 MB / 459.6 MB, free: 3.996 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005365/0.0005365, allocations: 18.72 kB / 0.528 GB, free: 35.4 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1285/0.1291, allocations: 69.24 MB / 0.5956 GB, free: 4.293 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3989/0.528, allocations: 101.2 MB / 0.6945 GB, free: 35.5 MB / 474.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002153/0.5282, allocations: 80.41 kB / 0.6946 GB, free: 35.5 MB / 474.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.06522/0.5935, allocations: 25.07 MB / 0.719 GB, free: 33.29 MB / 474.7 MB Notification: Performance of FrontEnd: time 1.743e-06/0.5935, allocations: 0 / 0.719 GB, free: 33.29 MB / 474.7 MB Notification: Performance of Transformations before backend: time 0.0001142/0.5936, allocations: 23.94 kB / 0.7191 GB, free: 33.28 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.006129/0.5998, allocations: 1.956 MB / 0.721 GB, free: 32.43 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.453e-05/0.5998, allocations: 19.61 kB / 0.721 GB, free: 32.42 MB / 474.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004941/0.6003, allocations: 129 kB / 0.7211 GB, free: 32.38 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003442/0.6038, allocations: 0.5606 MB / 0.7217 GB, free: 32.29 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002211/0.606, allocations: 0.8044 MB / 0.7225 GB, free: 31.94 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002633/0.6063, allocations: 265.1 kB / 0.7227 GB, free: 31.75 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003124/0.6066, allocations: 72.22 kB / 0.7228 GB, free: 31.75 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002419/0.6091, allocations: 1.193 MB / 0.7239 GB, free: 31.65 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.021e-05/0.6091, allocations: 0 / 0.7239 GB, free: 31.65 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001099/0.6092, allocations: 31.12 kB / 0.724 GB, free: 31.65 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.821e-05/0.6092, allocations: 17.31 kB / 0.724 GB, free: 31.65 MB / 474.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002416/0.6117, allocations: 1.167 MB / 0.7251 GB, free: 31.62 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00642/0.6181, allocations: 3.506 MB / 0.7286 GB, free: 30.65 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001962/0.6201, allocations: 1.513 MB / 0.73 GB, free: 30.03 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001097/0.6202, allocations: 20.08 kB / 0.73 GB, free: 30.03 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.345e-05/0.6203, allocations: 46.67 kB / 0.7301 GB, free: 29.98 MB / 474.7 MB Notification: Performance of pre-optimization done (n=90): time 3.426e-06/0.6203, allocations: 0 / 0.7301 GB, free: 29.98 MB / 474.7 MB Notification: Performance of matching and sorting (n=90): time 0.0229/0.6432, allocations: 7.759 MB / 0.7377 GB, free: 29.39 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.236e-05/0.6433, allocations: 85.92 kB / 0.7378 GB, free: 29.3 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001351/0.6446, allocations: 0.803 MB / 0.7385 GB, free: 29.16 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002194/0.6449, allocations: 44.11 kB / 0.7386 GB, free: 29.12 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000311/0.6452, allocations: 0.4883 MB / 0.7391 GB, free: 28.95 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003899/0.6456, allocations: 315 kB / 0.7394 GB, free: 28.75 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.649e-05/0.6457, allocations: 18.28 kB / 0.7394 GB, free: 28.75 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 6.736e-05/0.6457, allocations: 339.3 kB / 0.7397 GB, free: 28.44 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001305/0.647, allocations: 0.6856 MB / 0.7404 GB, free: 28.42 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001333/0.6484, allocations: 0.7799 MB / 0.7411 GB, free: 28.31 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001304/0.6497, allocations: 0.7129 MB / 0.7418 GB, free: 28.29 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.631e-06/0.6497, allocations: 3.938 kB / 0.7418 GB, free: 28.29 MB / 474.7 MB Notification: Performance of matching and sorting (n=106) (initialization): time 0.01254/0.6623, allocations: 4.885 MB / 0.7466 GB, free: 27.84 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001874/0.6625, allocations: 0.7881 MB / 0.7474 GB, free: 27.02 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.329e-05/0.6625, allocations: 7.906 kB / 0.7474 GB, free: 27.02 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00589/0.6684, allocations: 2.089 MB / 0.7494 GB, free: 26.43 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006966/0.6691, allocations: 133.5 kB / 0.7495 GB, free: 26.41 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01946/0.6886, allocations: 9.985 MB / 0.7593 GB, free: 23.33 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001494/0.6901, allocations: 201.9 kB / 0.7595 GB, free: 23.25 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000184/0.6903, allocations: 30.98 kB / 0.7595 GB, free: 23.25 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.016e-05/0.6904, allocations: 7.812 kB / 0.7595 GB, free: 23.25 MB / 474.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01228/0.7026, allocations: 4.716 MB / 0.7641 GB, free: 21.95 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.334e-05/0.7027, allocations: 3.844 kB / 0.7641 GB, free: 21.95 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005802/0.7085, allocations: 2.091 MB / 0.7662 GB, free: 21.36 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006719/0.7092, allocations: 128.7 kB / 0.7663 GB, free: 21.34 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01869/0.7279, allocations: 9.963 MB / 0.776 GB, free: 18.27 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001439/0.7294, allocations: 189.5 kB / 0.7762 GB, free: 18.09 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001651/0.7295, allocations: 34.42 kB / 0.7762 GB, free: 18.07 MB / 474.7 MB 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.0006692/0.7302, allocations: 307 kB / 0.7765 GB, free: 17.82 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002976/0.7305, allocations: 114.6 kB / 0.7766 GB, free: 17.71 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01258/0.7431, allocations: 4.86 MB / 0.7814 GB, free: 13.52 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.096e-05/0.7432, allocations: 8 kB / 0.7814 GB, free: 13.52 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.108e-06/0.7432, allocations: 4 kB / 0.7814 GB, free: 13.51 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.262e-05/0.7432, allocations: 3.984 kB / 0.7814 GB, free: 13.51 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01495/0.7582, allocations: 6.475 MB / 0.7877 GB, free: 8 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.003e-05/0.7582, allocations: 0 / 0.7877 GB, free: 8 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006852/0.7589, allocations: 120.2 kB / 0.7878 GB, free: 7.887 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005562/0.7645, allocations: 2.064 MB / 0.7899 GB, free: 6.02 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000218/0.7647, allocations: 20 kB / 0.7899 GB, free: 6 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0174/0.7821, allocations: 8.627 MB / 0.7983 GB, free: 13.23 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.144e-06/0.7822, allocations: 0 / 0.7983 GB, free: 13.23 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01603/0.7982, allocations: 5.857 MB / 0.804 GB, free: 7.355 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004883/0.7987, allocations: 203.5 kB / 0.8042 GB, free: 7.137 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003611/0.7991, allocations: 19.94 kB / 0.8042 GB, free: 7.117 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001318/0.8004, allocations: 151.9 kB / 0.8044 GB, free: 6.969 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006436/0.8011, allocations: 208.6 kB / 0.8046 GB, free: 6.762 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001018/0.8012, allocations: 24 kB / 0.8046 GB, free: 6.738 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.001115/0.8023, allocations: 0.6315 MB / 0.8052 GB, free: 6.098 MB / 490.7 MB Notification: Performance of sort global known variables: time 3e-07/0.8023, allocations: 0 / 0.8052 GB, free: 6.098 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.002156/0.8045, allocations: 0.6708 MB / 0.8059 GB, free: 5.426 MB / 490.7 MB 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.01583/0.8203, allocations: 6.44 MB / 0.8122 GB, free: 14.95 MB / 0.4949 GB Notification: Performance of simCode: created initialization part: time 0.01239/0.8328, allocations: 4.26 MB / 0.8163 GB, free: 10.66 MB / 0.4949 GB Notification: Performance of simCode: created event and clocks part: time 6.242e-06/0.8328, allocations: 0 / 0.8163 GB, free: 10.66 MB / 0.4949 GB Notification: Performance of simCode: created simulation system equations: time 0.006151/0.839, allocations: 1.752 MB / 0.818 GB, free: 8.898 MB / 0.4949 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001269/0.8403, allocations: 88.06 kB / 0.8181 GB, free: 8.816 MB / 0.4949 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0267/0.867, allocations: 12.58 MB / 0.8304 GB, free: 11.91 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006938/0.8677, allocations: 1.128 MB / 0.8315 GB, free: 10.76 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.0005422/0.8683, allocations: 101.8 kB / 0.8316 GB, free: 10.66 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000572/0.8689, allocations: 419.3 kB / 0.832 GB, free: 10.25 MB / 0.5105 GB Notification: Performance of SimCode: time 1.994e-06/0.8689, allocations: 0 / 0.832 GB, free: 10.25 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05954/0.9284, allocations: 36.16 MB / 0.8673 GB, free: 6.215 MB / 0.5417 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000227/0.9287, allocations: 200.6 kB / 0.8675 GB, free: 5.973 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.762/3.691, allocations: 3.5 kB / 0.8675 GB, free: 5.973 MB / 0.5417 GB (rm -f OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order4test2_TG.pipe ; mkfifo OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order4test2_TG.pipe ; head -c 1048576 < OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order4test2_TG.pipe >> ../files/OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order4test2_TG.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_OpenIPSL_2_0_0_OpenIPSL_Tests_Machines_PSAT_Order4test2_TG_fmu --startTime=0 --stopTime=20 --timeout=50 --tolerance=1e-06 OpenIPSL_2_0_0_OpenIPSL_Tests_Machines_PSAT_Order4test2_TG.fmu > OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order4test2_TG.pipe 2>&1)