Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_release_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeI_test.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.Controls.PSAT.TG.TGTypeI_test,fileNamePrefix="OpenIPSL_release_OpenIPSL_Tests_Controls_PSAT_TG_TGTypeI_test",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.Controls.PSAT.TG.TGTypeI_test,fileNamePrefix="OpenIPSL_release_OpenIPSL_Tests_Controls_PSAT_TG_TGTypeI_test",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.005254/0.005254, allocations: 169.9 kB / 15.11 MB, free: 5.578 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.387/1.387, allocations: 223.2 MB / 239 MB, free: 1.789 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.0009797/0.0009798, allocations: 100.8 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.4442/0.4442, allocations: 78.59 MB / 419.9 MB, free: 44.19 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003738/0.0003735, allocations: 15.98 kB / 499.9 MB, free: 2.832 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3236/0.324, allocations: 69.34 MB / 0.5559 GB, free: 38.86 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1094/0.4334, allocations: 97.13 MB / 0.6507 GB, free: 9.355 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002352/0.4337, allocations: 83.95 kB / 0.6508 GB, free: 9.273 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.0877/0.5214, allocations: 24.65 MB / 0.6749 GB, free: 0.4922 MB / 474.7 MB Notification: Performance of FrontEnd: time 1.222e-06/0.5214, allocations: 0 / 0.6749 GB, free: 0.4922 MB / 474.7 MB Notification: Performance of Transformations before backend: time 4.142e-05/0.5215, allocations: 20 kB / 0.6749 GB, free: 484 kB / 474.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 178 * Number of variables: 178 Notification: Performance of Generate backend data structure: time 0.005195/0.5267, allocations: 1.889 MB / 0.6767 GB, free: 14.53 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.081e-05/0.5267, allocations: 8.031 kB / 0.6767 GB, free: 14.52 MB / 490.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002104/0.527, allocations: 118.5 kB / 0.6769 GB, free: 14.4 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003342/0.5303, allocations: 0.5448 MB / 0.6774 GB, free: 13.85 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001311/0.5316, allocations: 0.6991 MB / 0.6781 GB, free: 13.11 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002566/0.5319, allocations: 268.1 kB / 0.6783 GB, free: 12.81 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001325/0.532, allocations: 71.91 kB / 0.6784 GB, free: 12.74 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002166/0.5342, allocations: 1.149 MB / 0.6795 GB, free: 11.58 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.679e-05/0.5343, allocations: 0 / 0.6795 GB, free: 11.58 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.77e-05/0.5344, allocations: 28 kB / 0.6795 GB, free: 11.55 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.583e-05/0.5344, allocations: 16 kB / 0.6796 GB, free: 11.54 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002149/0.5365, allocations: 1.117 MB / 0.6806 GB, free: 10.42 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005005/0.5415, allocations: 3.076 MB / 0.6837 GB, free: 7.203 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003083/0.5446, allocations: 1.71 MB / 0.6853 GB, free: 5.375 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.687e-05/0.5448, allocations: 17 kB / 0.6853 GB, free: 5.359 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.82e-05/0.5448, allocations: 43.52 kB / 0.6854 GB, free: 5.309 MB / 490.7 MB Notification: Performance of pre-optimization done (n=92): time 2.434e-06/0.5448, allocations: 0 / 0.6854 GB, free: 5.309 MB / 490.7 MB Notification: Performance of matching and sorting (n=92): time 0.03023/0.575, allocations: 8.876 MB / 0.694 GB, free: 12.39 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.141e-05/0.5751, allocations: 60.41 kB / 0.6941 GB, free: 12.32 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009788/0.5761, allocations: 0.7101 MB / 0.6948 GB, free: 11.59 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 0.0001062/0.5762, allocations: 49.69 kB / 0.6948 GB, free: 11.54 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003052/0.5765, allocations: 456.3 kB / 0.6953 GB, free: 11.08 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003024/0.5768, allocations: 323.2 kB / 0.6956 GB, free: 10.76 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.645e-05/0.5769, allocations: 23.94 kB / 0.6956 GB, free: 10.74 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.000101/0.577, allocations: 337.9 kB / 0.6959 GB, free: 10.4 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00135/0.5784, allocations: 0.6734 MB / 0.6966 GB, free: 9.727 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00138/0.5798, allocations: 0.7718 MB / 0.6973 GB, free: 8.93 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001387/0.5812, allocations: 0.7058 MB / 0.698 GB, free: 8.223 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.11e-06/0.5812, allocations: 3.953 kB / 0.698 GB, free: 8.219 MB / 0.4948 GB Notification: Performance of matching and sorting (n=111) (initialization): time 0.01487/0.5961, allocations: 5.039 MB / 0.703 GB, free: 3.16 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 3.242e-05/0.5961, allocations: 4 kB / 0.703 GB, free: 3.156 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.754e-05/0.5962, allocations: 4 kB / 0.703 GB, free: 3.152 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01099/0.6072, allocations: 2.229 MB / 0.7051 GB, free: 0.918 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006435/0.6078, allocations: 119.8 kB / 0.7053 GB, free: 0.8008 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03339/0.6412, allocations: 10.76 MB / 0.7158 GB, free: 5.902 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001784/0.6431, allocations: 175.2 kB / 0.7159 GB, free: 5.73 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001753/0.6433, allocations: 31.98 kB / 0.716 GB, free: 5.699 MB / 0.5105 GB 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 (71): * Single equations (assignments): 70 * 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 {25 16} Notification: Performance of prepare postOptimizeDAE: time 0.0006201/0.6439, allocations: 219.8 kB / 0.7162 GB, free: 5.477 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003222/0.6442, allocations: 106.7 kB / 0.7163 GB, free: 5.371 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01967/0.6639, allocations: 5.022 MB / 0.7212 GB, free: 336 kB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.393e-05/0.6639, allocations: 8 kB / 0.7212 GB, free: 328 kB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.228e-06/0.6639, allocations: 0 / 0.7212 GB, free: 328 kB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.583e-05/0.664, allocations: 3.984 kB / 0.7212 GB, free: 324 kB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01606/0.68, allocations: 6.589 MB / 0.7276 GB, free: 9.59 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.859e-06/0.6801, allocations: 4 kB / 0.7276 GB, free: 9.586 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005273/0.6806, allocations: 99.83 kB / 0.7277 GB, free: 9.488 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.006224/0.6868, allocations: 2.16 MB / 0.7298 GB, free: 7.324 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.635e-05/0.6869, allocations: 16 kB / 0.7299 GB, free: 7.309 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01983/0.7068, allocations: 9.304 MB / 0.7389 GB, free: 13.87 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.464e-06/0.7068, allocations: 0 / 0.7389 GB, free: 13.87 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01622/0.723, allocations: 5.973 MB / 0.7448 GB, free: 7.871 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004862/0.7235, allocations: 203.6 kB / 0.745 GB, free: 7.652 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002749/0.7238, allocations: 16 kB / 0.745 GB, free: 7.637 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00116/0.725, allocations: 127.9 kB / 0.7451 GB, free: 7.512 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006995/0.7257, allocations: 208.6 kB / 0.7453 GB, free: 7.309 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.864e-05/0.7258, allocations: 20 kB / 0.7453 GB, free: 7.289 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 0.001062/0.7269, allocations: 0.5627 MB / 0.7459 GB, free: 6.715 MB / 0.5417 GB Notification: Performance of sort global known variables: time 2.91e-07/0.7269, allocations: 0 / 0.7459 GB, free: 6.715 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.001515/0.7284, allocations: 423.5 kB / 0.7463 GB, free: 6.301 MB / 0.5417 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 6 (gen.delta,gen.w,gen.e1q,tGTypeI.xg1,tGTypeI.xg2,tGTypeI.xg3) * 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 (55): * Single equations (assignments): 54 * 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 14} Notification: Performance of Backend phase and start with SimCode phase: time 0.01627/0.7447, allocations: 6.569 MB / 0.7527 GB, free: 15.69 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.006351/0.7511, allocations: 2.529 MB / 0.7552 GB, free: 13.15 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 2.575e-06/0.7511, allocations: 0 / 0.7552 GB, free: 13.15 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.004659/0.7558, allocations: 1.757 MB / 0.7569 GB, free: 11.39 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005443/0.7563, allocations: 72.41 kB / 0.7569 GB, free: 11.32 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2402/0.9965, allocations: 12.23 MB / 0.7689 GB, free: 148.9 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007498/0.9973, allocations: 1.076 MB / 0.7699 GB, free: 148.2 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.0003761/0.9977, allocations: 65.31 kB / 0.77 GB, free: 148.2 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005114/0.9982, allocations: 391.8 kB / 0.7704 GB, free: 148.2 MB / 0.5573 GB Notification: Performance of SimCode: time 6.72e-07/0.9982, allocations: 0 / 0.7704 GB, free: 148.2 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04579/1.044, allocations: 29.06 MB / 0.7988 GB, free: 147.3 MB / 0.5573 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001174/1.044, allocations: 208.4 kB / 0.799 GB, free: 147.1 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.65/3.694, allocations: 2.375 kB / 0.799 GB, free: 147.1 MB / 0.5573 GB (rm -f OpenIPSL_release_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeI_test.pipe ; mkfifo OpenIPSL_release_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeI_test.pipe ; head -c 1048576 < OpenIPSL_release_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeI_test.pipe >> ../files/OpenIPSL_release_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeI_test.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_OpenIPSL_release_OpenIPSL_Tests_Controls_PSAT_TG_TGTypeI_test_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 OpenIPSL_release_OpenIPSL_Tests_Controls_PSAT_TG_TGTypeI_test.fmu > OpenIPSL_release_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeI_test.pipe 2>&1)