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.009504/0.009504, 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.327/1.327, allocations: 223.2 MB / 239 MB, free: 64 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.0009784/0.0009781, allocations: 100.4 kB / 290.2 MB, free: 4.512 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.5285/0.5285, allocations: 78.59 MB / 419.9 MB, free: 36.43 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003768/0.0003766, allocations: 12 kB / 499.9 MB, free: 7.172 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1893/0.1897, allocations: 69.35 MB / 0.5559 GB, free: 1.75 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4595/0.6492, allocations: 99.67 MB / 0.6532 GB, free: 2.523 MB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002159/0.6494, allocations: 86.73 kB / 0.6533 GB, free: 2.477 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.06817/0.7176, allocations: 25.83 MB / 0.6785 GB, free: 9.195 MB / 474.7 MB Notification: Performance of FrontEnd: time 1.923e-06/0.7176, allocations: 0 / 0.6785 GB, free: 9.195 MB / 474.7 MB Notification: Performance of Transformations before backend: time 0.0001156/0.7178, allocations: 23.94 kB / 0.6785 GB, free: 9.172 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.00625/0.724, allocations: 1.952 MB / 0.6804 GB, free: 7.172 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.817e-05/0.7241, allocations: 12.03 kB / 0.6804 GB, free: 7.16 MB / 474.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004233/0.7245, allocations: 126.6 kB / 0.6806 GB, free: 7.027 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00348/0.728, allocations: 0.5578 MB / 0.6811 GB, free: 6.469 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002212/0.7302, allocations: 0.7981 MB / 0.6819 GB, free: 5.613 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003206/0.7306, allocations: 260.5 kB / 0.6821 GB, free: 5.324 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002552/0.7309, allocations: 83.84 kB / 0.6822 GB, free: 5.242 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002598/0.7335, allocations: 1.188 MB / 0.6834 GB, free: 4.039 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.677e-05/0.7335, allocations: 0 / 0.6834 GB, free: 4.039 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.967e-05/0.7336, allocations: 32 kB / 0.6834 GB, free: 4.008 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.745e-05/0.7336, allocations: 16 kB / 0.6834 GB, free: 3.992 MB / 474.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002545/0.7362, allocations: 1.163 MB / 0.6846 GB, free: 2.828 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006751/0.7429, allocations: 3.519 MB / 0.688 GB, free: 15.16 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002329/0.7453, allocations: 1.504 MB / 0.6895 GB, free: 13.53 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001083/0.7454, allocations: 12.98 kB / 0.6895 GB, free: 13.52 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.401e-05/0.7455, allocations: 47.56 kB / 0.6895 GB, free: 13.46 MB / 490.7 MB Notification: Performance of pre-optimization done (n=90): time 3.677e-06/0.7455, allocations: 3.984 kB / 0.6895 GB, free: 13.46 MB / 490.7 MB Notification: Performance of matching and sorting (n=90): time 0.02487/0.7703, allocations: 7.764 MB / 0.6971 GB, free: 5.66 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.856e-05/0.7704, allocations: 89.3 kB / 0.6972 GB, free: 5.559 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001686/0.7721, allocations: 0.7959 MB / 0.698 GB, free: 4.746 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001643/0.7723, allocations: 41.7 kB / 0.698 GB, free: 4.699 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004319/0.7728, allocations: 492.8 kB / 0.6985 GB, free: 4.211 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004103/0.7732, allocations: 315.4 kB / 0.6988 GB, free: 3.898 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.576e-05/0.7733, allocations: 16 kB / 0.6988 GB, free: 3.883 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.00015/0.7734, allocations: 341.9 kB / 0.6991 GB, free: 3.543 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00148/0.7749, allocations: 0.6774 MB / 0.6998 GB, free: 2.867 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001512/0.7764, allocations: 0.7843 MB / 0.7006 GB, free: 2.051 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001504/0.778, allocations: 0.7155 MB / 0.7013 GB, free: 1.34 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.392e-06/0.778, allocations: 7.938 kB / 0.7013 GB, free: 1.332 MB / 490.7 MB Notification: Performance of matching and sorting (n=106) (initialization): time 0.01394/0.7919, allocations: 4.879 MB / 0.706 GB, free: 12.43 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003088/0.7923, allocations: 0.7979 MB / 0.7068 GB, free: 11.58 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.204e-05/0.7923, allocations: 3.953 kB / 0.7068 GB, free: 11.58 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006408/0.7987, allocations: 2.091 MB / 0.7089 GB, free: 9.484 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000695/0.7994, allocations: 135.8 kB / 0.709 GB, free: 9.352 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0226/0.822, allocations: 9.983 MB / 0.7187 GB, free: 15.24 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001724/0.8238, allocations: 199.1 kB / 0.7189 GB, free: 15.04 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002218/0.8241, allocations: 35.98 kB / 0.719 GB, free: 15.01 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.319e-05/0.8241, allocations: 4 kB / 0.719 GB, free: 15 MB / 0.5105 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01384/0.8379, allocations: 4.711 MB / 0.7236 GB, free: 10.29 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.688e-05/0.838, allocations: 7.938 kB / 0.7236 GB, free: 10.28 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006333/0.8443, allocations: 2.09 MB / 0.7256 GB, free: 8.188 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007538/0.8451, allocations: 131.8 kB / 0.7257 GB, free: 8.059 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0233/0.8684, allocations: 9.954 MB / 0.7355 GB, free: 13.98 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001868/0.8703, allocations: 183.9 kB / 0.7356 GB, free: 13.8 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002703/0.8706, allocations: 31.98 kB / 0.7357 GB, free: 13.77 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.001052/0.8717, allocations: 319.9 kB / 0.736 GB, free: 13.45 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004552/0.8721, allocations: 114.6 kB / 0.7361 GB, free: 13.33 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01389/0.8861, allocations: 4.855 MB / 0.7408 GB, free: 8.461 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.008e-05/0.8861, allocations: 12 kB / 0.7408 GB, free: 8.449 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.717e-06/0.8861, allocations: 0 / 0.7408 GB, free: 8.449 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.571e-05/0.8862, allocations: 7.984 kB / 0.7408 GB, free: 8.441 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01663/0.9028, allocations: 6.48 MB / 0.7472 GB, free: 1.824 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.328e-05/0.9029, allocations: 0 / 0.7472 GB, free: 1.824 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007879/0.9037, allocations: 115.9 kB / 0.7473 GB, free: 1.711 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.006167/0.9099, allocations: 2.053 MB / 0.7493 GB, free: 15.66 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002306/0.9101, allocations: 16 kB / 0.7493 GB, free: 15.64 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0193/0.9294, allocations: 8.616 MB / 0.7577 GB, free: 6.883 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.951e-06/0.9295, allocations: 7.984 kB / 0.7577 GB, free: 6.875 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01652/0.946, allocations: 5.86 MB / 0.7634 GB, free: 0.9922 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005137/0.9466, allocations: 207.5 kB / 0.7636 GB, free: 0.7695 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004125/0.947, allocations: 22.16 kB / 0.7637 GB, free: 0.75 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001384/0.9484, allocations: 147.9 kB / 0.7638 GB, free: 0.6055 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007322/0.9492, allocations: 204.6 kB / 0.764 GB, free: 412 kB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001265/0.9493, allocations: 23.92 kB / 0.764 GB, free: 388 kB / 0.5417 GB Notification: Performance of sorting global known variables: time 0.001237/0.9506, allocations: 0.6313 MB / 0.7646 GB, free: 15.74 MB / 0.5573 GB Notification: Performance of sort global known variables: time 1.81e-07/0.9506, allocations: 0 / 0.7646 GB, free: 15.74 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.002699/0.9533, allocations: 0.6709 MB / 0.7653 GB, free: 15.07 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.01592/0.9692, allocations: 6.461 MB / 0.7716 GB, free: 8.574 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.01144/0.9807, allocations: 4.251 MB / 0.7757 GB, free: 4.316 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 7.854e-06/0.9807, allocations: 0 / 0.7757 GB, free: 4.316 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.004828/0.9856, allocations: 1.746 MB / 0.7775 GB, free: 2.559 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001397/0.987, allocations: 89.28 kB / 0.7775 GB, free: 2.477 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02693/1.014, allocations: 12.58 MB / 0.7898 GB, free: 5.566 MB / 0.573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000806/1.015, allocations: 1.12 MB / 0.7909 GB, free: 4.418 MB / 0.573 GB Notification: Performance of simCode: alias equations: time 0.0005616/1.015, allocations: 97.75 kB / 0.791 GB, free: 4.32 MB / 0.573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006258/1.016, allocations: 427.2 kB / 0.7914 GB, free: 3.902 MB / 0.573 GB Notification: Performance of SimCode: time 6.082e-06/1.016, allocations: 0 / 0.7914 GB, free: 3.902 MB / 0.573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3254/1.341, allocations: 36.13 MB / 0.8267 GB, free: 155.2 MB / 0.573 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001571/1.342, allocations: 206.4 kB / 0.8269 GB, free: 154.9 MB / 0.573 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.955/4.296, allocations: 0 / 0.8269 GB, free: 154.9 MB / 0.573 GB (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)