Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_release_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_release_OpenIPSL_Tests_Machines_PSAT_Order4test2_TG",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.Machines.PSAT.Order4test2_TG,fileNamePrefix="OpenIPSL_release_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.0009526/0.0009526, allocations: 174.6 kB / 12.73 MB, free: 2.59 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.255/1.255, allocations: 221.4 MB / 234.6 MB, free: 14.46 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009259/0.0009257, allocations: 95.81 kB / 285.6 MB, free: 13 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.4587/0.4587, allocations: 78.08 MB / 414.6 MB, free: 11.02 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 3.027e-05/3.041e-05, allocations: 4 kB / 491.9 MB, free: 13.99 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3849/0.3849, allocations: 69.34 MB / 0.5481 GB, free: 20.26 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1327/0.5176, allocations: 99.61 MB / 0.6454 GB, free: 0.9375 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002549/0.5179, allocations: 79.95 kB / 0.6454 GB, free: 0.8594 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.06912/0.5871, allocations: 25.75 MB / 0.6706 GB, free: 6.93 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.402e-06/0.5871, allocations: 4 kB / 0.6706 GB, free: 6.926 MB / 490.7 MB Notification: Performance of Transformations before backend: time 5.953e-05/0.5872, allocations: 16 kB / 0.6706 GB, free: 6.91 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.004617/0.5918, allocations: 1.717 MB / 0.6723 GB, free: 5.148 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.851e-05/0.5919, allocations: 19.95 kB / 0.6723 GB, free: 5.129 MB / 490.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001935/0.5921, allocations: 122.6 kB / 0.6724 GB, free: 5 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003335/0.5954, allocations: 0.5526 MB / 0.673 GB, free: 4.445 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001842/0.5973, allocations: 0.767 MB / 0.6737 GB, free: 3.621 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002944/0.5976, allocations: 268.5 kB / 0.674 GB, free: 3.324 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000144/0.5978, allocations: 79.86 kB / 0.674 GB, free: 3.246 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001767/0.5995, allocations: 0.9384 MB / 0.675 GB, free: 2.293 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.764e-05/0.5996, allocations: 0 / 0.675 GB, free: 2.293 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.976e-05/0.5997, allocations: 28 kB / 0.675 GB, free: 2.266 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.243e-05/0.5997, allocations: 20 kB / 0.675 GB, free: 2.246 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001531/0.6012, allocations: 0.8708 MB / 0.6758 GB, free: 1.375 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3244/0.9256, allocations: 3.494 MB / 0.6793 GB, free: 104.2 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001679/0.9273, allocations: 1.23 MB / 0.6805 GB, free: 103.6 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001047/0.9284, allocations: 0.574 MB / 0.681 GB, free: 103.6 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001222/0.9285, allocations: 14.97 kB / 0.681 GB, free: 103.6 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.361e-05/0.9286, allocations: 45.94 kB / 0.6811 GB, free: 103.5 MB / 490.7 MB Notification: Performance of pre-optimization done (n=90): time 3.577e-06/0.9286, allocations: 1.969 kB / 0.6811 GB, free: 103.5 MB / 490.7 MB Notification: Performance of matching and sorting (n=90): time 0.01457/0.9432, allocations: 4.043 MB / 0.685 GB, free: 103.4 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.834e-05/0.9433, allocations: 90.86 kB / 0.6851 GB, free: 103.3 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001218/0.9445, allocations: 0.7561 MB / 0.6859 GB, free: 103.2 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002722/0.9448, allocations: 41.17 kB / 0.6859 GB, free: 103.1 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003126/0.9451, allocations: 499.1 kB / 0.6864 GB, free: 103 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003178/0.9454, allocations: 321.3 kB / 0.6867 GB, free: 102.8 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.138e-05/0.9455, allocations: 14.88 kB / 0.6867 GB, free: 102.8 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 7.257e-05/0.9456, allocations: 342.7 kB / 0.687 GB, free: 102.5 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000697/0.9463, allocations: 443.9 kB / 0.6874 GB, free: 102.5 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007172/0.947, allocations: 0.5381 MB / 0.688 GB, free: 102.4 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007124/0.9477, allocations: 476.7 kB / 0.6884 GB, free: 102.4 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.498e-06/0.9477, allocations: 8 kB / 0.6884 GB, free: 102.4 MB / 490.7 MB Notification: Performance of matching and sorting (n=106) (initialization): time 0.01157/0.9593, allocations: 4.196 MB / 0.6925 GB, free: 102.1 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002516/0.9596, allocations: 0.793 MB / 0.6933 GB, free: 101.2 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.801e-05/0.9596, allocations: 0.6875 kB / 0.6933 GB, free: 101.2 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005356/0.965, allocations: 1.717 MB / 0.695 GB, free: 100.9 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00073/0.9657, allocations: 141.1 kB / 0.6951 GB, free: 100.9 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01441/0.9802, allocations: 7.263 MB / 0.7022 GB, free: 96.98 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00155/0.9818, allocations: 199 kB / 0.7024 GB, free: 96.93 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.064e-05/0.9819, allocations: 27.72 kB / 0.7024 GB, free: 96.93 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.278e-05/0.9819, allocations: 3.875 kB / 0.7024 GB, free: 96.93 MB / 490.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01123/0.9931, allocations: 4.066 MB / 0.7064 GB, free: 96.12 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.185e-05/0.9932, allocations: 3.5 kB / 0.7064 GB, free: 96.12 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00536/0.9986, allocations: 1.714 MB / 0.7081 GB, free: 94.82 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007572/0.9994, allocations: 134.4 kB / 0.7082 GB, free: 94.71 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01323/1.013, allocations: 7.265 MB / 0.7153 GB, free: 88.12 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001511/1.014, allocations: 179.6 kB / 0.7155 GB, free: 87.98 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.414e-05/1.014, allocations: 35.28 kB / 0.7155 GB, free: 87.95 MB / 490.7 MB Warning: Assuming fixed start value for the following 2 variables: Generator.e1d:VARIABLE(start = Generator.e1d0 unit = "1" ) "d-axis transient voltage" type: Real TGTypeII1.transferFunction1.x_scaled[1]:VARIABLE(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 () * 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.0003626/1.015, allocations: 156.5 kB / 0.7157 GB, free: 87.8 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002687/1.015, allocations: 122.5 kB / 0.7158 GB, free: 87.68 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01116/1.026, allocations: 4.172 MB / 0.7198 GB, free: 84.43 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.573e-05/1.026, allocations: 12 kB / 0.7199 GB, free: 84.41 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.767e-06/1.026, allocations: 0 / 0.7199 GB, free: 84.41 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.735e-05/1.026, allocations: 7.594 kB / 0.7199 GB, free: 84.41 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01323/1.039, allocations: 5.794 MB / 0.7255 GB, free: 79.78 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.644e-05/1.04, allocations: 0 / 0.7255 GB, free: 79.78 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007573/1.04, allocations: 118.4 kB / 0.7256 GB, free: 79.68 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004943/1.045, allocations: 1.674 MB / 0.7273 GB, free: 78.34 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001891/1.045, allocations: 20 kB / 0.7273 GB, free: 78.32 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01149/1.057, allocations: 6.309 MB / 0.7334 GB, free: 71.89 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.355e-06/1.057, allocations: 0 / 0.7334 GB, free: 71.89 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01263/1.07, allocations: 4.935 MB / 0.7383 GB, free: 66.94 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004435/1.07, allocations: 207.4 kB / 0.7385 GB, free: 66.72 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001694/1.07, allocations: 27.98 kB / 0.7385 GB, free: 66.69 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001147/1.071, allocations: 147.9 kB / 0.7386 GB, free: 66.55 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006119/1.072, allocations: 204.4 kB / 0.7388 GB, free: 66.34 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.909e-05/1.072, allocations: 16 kB / 0.7388 GB, free: 66.33 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.0007482/1.073, allocations: 0.5969 MB / 0.7394 GB, free: 65.72 MB / 490.7 MB Notification: Performance of sort global known variables: time 1.5e-07/1.073, allocations: 0 / 0.7394 GB, free: 65.72 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.001826/1.075, allocations: 0.6663 MB / 0.7401 GB, free: 65.06 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 () * 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.01263/1.087, allocations: 5.524 MB / 0.7455 GB, free: 59.51 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.00886/1.096, allocations: 3.533 MB / 0.7489 GB, free: 55.96 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 5.811e-06/1.096, allocations: 0 / 0.7489 GB, free: 55.96 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003906/1.1, allocations: 1.477 MB / 0.7504 GB, free: 54.46 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008175/1.101, allocations: 87.86 kB / 0.7504 GB, free: 54.38 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003563/1.105, allocations: 1.82 MB / 0.7522 GB, free: 52.55 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000512/1.105, allocations: 1.13 MB / 0.7533 GB, free: 51.39 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.0006235/1.106, allocations: 163.5 kB / 0.7535 GB, free: 51.23 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004142/1.106, allocations: 415.3 kB / 0.7539 GB, free: 50.83 MB / 490.7 MB Notification: Performance of SimCode: time 1.282e-06/1.106, allocations: 0 / 0.7539 GB, free: 50.83 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05621/1.162, allocations: 37.81 MB / 0.7908 GB, free: 13.45 MB / 490.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001239/1.163, allocations: 183.4 kB / 0.791 GB, free: 13.22 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.22/4.383, allocations: 0 / 0.791 GB, free: 13.22 MB / 490.7 MB (rm -f OpenIPSL_release_OpenIPSL.Tests.Machines.PSAT.Order4test2_TG.pipe ; mkfifo OpenIPSL_release_OpenIPSL.Tests.Machines.PSAT.Order4test2_TG.pipe ; head -c 1048576 < OpenIPSL_release_OpenIPSL.Tests.Machines.PSAT.Order4test2_TG.pipe >> ../files/OpenIPSL_release_OpenIPSL.Tests.Machines.PSAT.Order4test2_TG.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_OpenIPSL_release_OpenIPSL_Tests_Machines_PSAT_Order4test2_TG_fmu --startTime=0 --stopTime=20 --timeout=50 --tolerance=1e-06 OpenIPSL_release_OpenIPSL_Tests_Machines_PSAT_Order4test2_TG.fmu > OpenIPSL_release_OpenIPSL.Tests.Machines.PSAT.Order4test2_TG.pipe 2>&1)