Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_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.0.1/package.mo", uses=false) Using package OpenIPSL with version 3.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/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_OpenIPSL_Tests_Controls_PSAT_TG_TGTypeI_test",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.Controls.PSAT.TG.TGTypeI_test,fileNamePrefix="OpenIPSL_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.001522/0.001522, allocations: 174.7 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.226/1.226, allocations: 221.4 MB / 234.6 MB, free: 14.45 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.0007821/0.0007821, allocations: 90.55 kB / 285.6 MB, free: 12.99 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.4283/0.4283, allocations: 78.02 MB / 414.5 MB, free: 10.84 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 2.536e-05/2.549e-05, allocations: 4 kB / 491.9 MB, free: 13.8 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3022/0.3023, allocations: 69.35 MB / 0.5481 GB, free: 20.15 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1122/0.4145, allocations: 97.05 MB / 0.6428 GB, free: 3.352 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002394/0.4148, allocations: 95.92 kB / 0.6429 GB, free: 3.258 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.06574/0.4806, allocations: 24.56 MB / 0.6669 GB, free: 10.51 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.773e-06/0.4806, allocations: 3.938 kB / 0.6669 GB, free: 10.51 MB / 490.7 MB Notification: Performance of Transformations before backend: time 8.311e-05/0.4807, allocations: 16 kB / 0.6669 GB, free: 10.49 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: 178 * Number of variables: 178 Notification: Performance of Generate backend data structure: time 0.005155/0.4859, allocations: 1.676 MB / 0.6686 GB, free: 8.77 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.045e-05/0.4859, allocations: 15.97 kB / 0.6686 GB, free: 8.754 MB / 490.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003598/0.4863, allocations: 122.5 kB / 0.6687 GB, free: 8.625 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003564/0.4899, allocations: 0.5487 MB / 0.6692 GB, free: 8.074 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001866/0.4918, allocations: 0.6914 MB / 0.6699 GB, free: 7.336 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003234/0.4921, allocations: 268 kB / 0.6702 GB, free: 7.039 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002661/0.4924, allocations: 71.91 kB / 0.6702 GB, free: 6.969 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001895/0.4943, allocations: 0.911 MB / 0.6711 GB, free: 6.043 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.707e-05/0.4943, allocations: 0 / 0.6711 GB, free: 6.043 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.295e-05/0.4944, allocations: 28 kB / 0.6712 GB, free: 6.016 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.413e-05/0.4944, allocations: 19.98 kB / 0.6712 GB, free: 5.996 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001574/0.496, allocations: 0.8436 MB / 0.672 GB, free: 5.152 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005531/0.5016, allocations: 3.072 MB / 0.675 GB, free: 1.945 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002428/0.504, allocations: 1.423 MB / 0.6764 GB, free: 408 kB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.2796/0.7836, allocations: 0.5831 MB / 0.677 GB, free: 106.4 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001806/0.7838, allocations: 17.86 kB / 0.677 GB, free: 106.4 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.551e-05/0.7839, allocations: 41.69 kB / 0.677 GB, free: 106.4 MB / 490.7 MB Notification: Performance of pre-optimization done (n=92): time 3.567e-06/0.7839, allocations: 0 / 0.677 GB, free: 106.4 MB / 490.7 MB Notification: Performance of matching and sorting (n=92): time 0.01595/0.7998, allocations: 4.211 MB / 0.6811 GB, free: 106.3 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.762e-05/0.7999, allocations: 62.03 kB / 0.6812 GB, free: 106.3 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001326/0.8013, allocations: 0.6978 MB / 0.6819 GB, free: 106.1 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001859/0.8015, allocations: 43.39 kB / 0.6819 GB, free: 106.1 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003388/0.8018, allocations: 464.8 kB / 0.6823 GB, free: 105.9 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003611/0.8022, allocations: 329 kB / 0.6827 GB, free: 105.8 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.687e-05/0.8023, allocations: 17.5 kB / 0.6827 GB, free: 105.8 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 8.472e-05/0.8024, allocations: 344.3 kB / 0.683 GB, free: 105.5 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009439/0.8033, allocations: 444.2 kB / 0.6834 GB, free: 105.5 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001027/0.8044, allocations: 0.5392 MB / 0.684 GB, free: 105.4 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008749/0.8053, allocations: 487.2 kB / 0.6844 GB, free: 105.4 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.61e-06/0.8053, allocations: 1.125 kB / 0.6844 GB, free: 105.4 MB / 490.7 MB Notification: Performance of matching and sorting (n=111) (initialization): time 0.01221/0.8175, allocations: 4.361 MB / 0.6887 GB, free: 105.1 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.261e-05/0.8175, allocations: 7.031 kB / 0.6887 GB, free: 105.1 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.666e-06/0.8176, allocations: 4 kB / 0.6887 GB, free: 105.1 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005256/0.8228, allocations: 1.804 MB / 0.6905 GB, free: 105 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005739/0.8234, allocations: 121.2 kB / 0.6906 GB, free: 105 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01494/0.8384, allocations: 7.707 MB / 0.6981 GB, free: 101.5 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001433/0.8398, allocations: 180.1 kB / 0.6983 GB, free: 101.5 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001576/0.84, allocations: 33.25 kB / 0.6983 GB, free: 101.5 MB / 490.7 MB 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 (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.0002513/0.8403, allocations: 146.1 kB / 0.6984 GB, free: 101.3 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002504/0.8405, allocations: 110.6 kB / 0.6985 GB, free: 101.3 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01221/0.8528, allocations: 4.338 MB / 0.7028 GB, free: 100.3 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.544e-05/0.8528, allocations: 11.06 kB / 0.7028 GB, free: 100.3 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.757e-06/0.8528, allocations: 0 / 0.7028 GB, free: 100.3 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.78e-05/0.8528, allocations: 3.844 kB / 0.7028 GB, free: 100.3 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01406/0.8669, allocations: 5.9 MB / 0.7086 GB, free: 95.7 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.439e-05/0.867, allocations: 0 / 0.7086 GB, free: 95.7 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006335/0.8676, allocations: 99.23 kB / 0.7086 GB, free: 95.61 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005074/0.8727, allocations: 1.738 MB / 0.7103 GB, free: 94.22 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001972/0.8729, allocations: 19.95 kB / 0.7104 GB, free: 94.2 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01277/0.8857, allocations: 6.688 MB / 0.7169 GB, free: 88.09 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.625e-06/0.8858, allocations: 0 / 0.7169 GB, free: 88.09 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01299/0.8988, allocations: 5.061 MB / 0.7218 GB, free: 83.9 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003596/0.8991, allocations: 204.6 kB / 0.722 GB, free: 83.69 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002224/0.8994, allocations: 17.64 kB / 0.7221 GB, free: 83.68 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001101/0.9005, allocations: 129.3 kB / 0.7222 GB, free: 83.57 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005691/0.9011, allocations: 199.7 kB / 0.7224 GB, free: 83.47 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.662e-05/0.9012, allocations: 27.94 kB / 0.7224 GB, free: 83.45 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.0006307/0.9018, allocations: 0.5465 MB / 0.7229 GB, free: 82.92 MB / 490.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.9018, allocations: 0 / 0.7229 GB, free: 82.92 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.001184/0.903, allocations: 418.9 kB / 0.7233 GB, free: 82.52 MB / 490.7 MB 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 () * 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.01324/0.9163, allocations: 5.669 MB / 0.7289 GB, free: 76.9 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.004895/0.9212, allocations: 2.04 MB / 0.7309 GB, free: 74.85 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 3.747e-06/0.9212, allocations: 0 / 0.7309 GB, free: 74.85 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.004008/0.9252, allocations: 1.492 MB / 0.7323 GB, free: 73.35 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007827/0.926, allocations: 71.42 kB / 0.7324 GB, free: 73.28 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003866/0.9299, allocations: 1.687 MB / 0.734 GB, free: 71.59 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004927/0.9305, allocations: 1.088 MB / 0.7351 GB, free: 70.47 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.0002881/0.9308, allocations: 57.69 kB / 0.7351 GB, free: 70.41 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004357/0.9312, allocations: 395.3 kB / 0.7355 GB, free: 70.03 MB / 490.7 MB Notification: Performance of SimCode: time 7.02e-07/0.9312, allocations: 0 / 0.7355 GB, free: 70.03 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04204/0.9733, allocations: 28.98 MB / 0.7638 GB, free: 41.53 MB / 490.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000122/0.9734, allocations: 173.5 kB / 0.764 GB, free: 41.3 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.638/3.611, allocations: 0 / 0.764 GB, free: 41.3 MB / 490.7 MB (rm -f OpenIPSL_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeI_test.pipe ; mkfifo OpenIPSL_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeI_test.pipe ; head -c 1048576 < OpenIPSL_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeI_test.pipe >> ../files/OpenIPSL_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeI_test.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_OpenIPSL_OpenIPSL_Tests_Controls_PSAT_TG_TGTypeI_test_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 OpenIPSL_OpenIPSL_Tests_Controls_PSAT_TG_TGTypeI_test.fmu > OpenIPSL_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeI_test.pipe 2>&1)