Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_dev_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_dev_OpenIPSL_Tests_Controls_PSAT_TG_TGTypeI_test",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.Controls.PSAT.TG.TGTypeI_test,fileNamePrefix="OpenIPSL_dev_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.0009926/0.0009927, allocations: 174 kB / 12.73 MB, free: 2.586 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.21/1.21, 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.0008776/0.0008777, allocations: 100.2 kB / 285.6 MB, free: 12.99 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.4586/0.4586, allocations: 78.92 MB / 415.4 MB, free: 10.25 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 2.335e-05/2.336e-05, allocations: 0 / 492.9 MB, free: 13.02 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3213/0.3214, allocations: 69.5 MB / 0.5492 GB, free: 19.57 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1094/0.4308, allocations: 97.65 MB / 0.6446 GB, free: 1.855 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002246/0.4311, allocations: 87.94 kB / 0.6446 GB, free: 1.77 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.06331/0.4944, allocations: 24.85 MB / 0.6689 GB, free: 8.734 MB / 490.7 MB Notification: Performance of FrontEnd: time 2.504e-06/0.4944, allocations: 4 kB / 0.6689 GB, free: 8.73 MB / 490.7 MB Notification: Performance of Transformations before backend: time 4.698e-05/0.4945, allocations: 23.94 kB / 0.6689 GB, free: 8.707 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.004288/0.4988, allocations: 1.672 MB / 0.6706 GB, free: 6.988 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.536e-05/0.4989, allocations: 15.95 kB / 0.6706 GB, free: 6.973 MB / 490.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001662/0.499, allocations: 118.5 kB / 0.6707 GB, free: 6.848 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003045/0.5021, allocations: 0.5487 MB / 0.6712 GB, free: 6.297 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00124/0.5033, allocations: 0.6875 MB / 0.6719 GB, free: 5.562 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002541/0.5036, allocations: 272.1 kB / 0.6722 GB, free: 5.262 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001513/0.5038, allocations: 71.91 kB / 0.6722 GB, free: 5.191 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001516/0.5053, allocations: 0.911 MB / 0.6731 GB, free: 4.266 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.466e-05/0.5053, allocations: 0 / 0.6731 GB, free: 4.266 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.439e-05/0.5054, allocations: 28 kB / 0.6732 GB, free: 4.238 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.62e-05/0.5054, allocations: 20 kB / 0.6732 GB, free: 4.219 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001385/0.5068, allocations: 0.8358 MB / 0.674 GB, free: 3.383 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00484/0.5117, allocations: 3.072 MB / 0.677 GB, free: 180 kB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.2762/0.7879, allocations: 1.426 MB / 0.6784 GB, free: 105 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001006/0.7889, allocations: 0.5884 MB / 0.679 GB, free: 104.9 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001147/0.7891, allocations: 17.36 kB / 0.679 GB, free: 104.9 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.097e-05/0.7891, allocations: 38.97 kB / 0.679 GB, free: 104.9 MB / 490.7 MB Notification: Performance of pre-optimization done (n=92): time 3.216e-06/0.7891, allocations: 3.938 kB / 0.679 GB, free: 104.9 MB / 490.7 MB Notification: Performance of matching and sorting (n=92): time 0.01364/0.8027, allocations: 4.213 MB / 0.6831 GB, free: 104.8 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.693e-05/0.8028, allocations: 64.38 kB / 0.6832 GB, free: 104.8 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001353/0.8042, allocations: 0.6993 MB / 0.6839 GB, free: 104.6 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001327/0.8043, allocations: 40.33 kB / 0.6839 GB, free: 104.6 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002725/0.8046, allocations: 462 kB / 0.6844 GB, free: 104.4 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002648/0.8049, allocations: 332.8 kB / 0.6847 GB, free: 104.3 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.185e-05/0.8049, allocations: 17.34 kB / 0.6847 GB, free: 104.3 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 6.267e-05/0.805, allocations: 341.2 kB / 0.685 GB, free: 104 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006314/0.8056, allocations: 448.6 kB / 0.6854 GB, free: 104 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006636/0.8063, allocations: 0.5345 MB / 0.686 GB, free: 103.9 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006603/0.807, allocations: 489.8 kB / 0.6864 GB, free: 103.9 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.376e-06/0.807, allocations: 0 / 0.6864 GB, free: 103.9 MB / 490.7 MB Notification: Performance of matching and sorting (n=111) (initialization): time 0.0115/0.8185, allocations: 4.364 MB / 0.6907 GB, free: 103.6 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.475e-05/0.8186, allocations: 7.516 kB / 0.6907 GB, free: 103.6 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.234e-05/0.8186, allocations: 3.719 kB / 0.6907 GB, free: 103.6 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005172/0.8237, allocations: 1.801 MB / 0.6925 GB, free: 103.5 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005922/0.8244, allocations: 122.8 kB / 0.6926 GB, free: 103.5 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01375/0.8381, allocations: 7.703 MB / 0.7001 GB, free: 99.54 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001267/0.8394, allocations: 176.5 kB / 0.7003 GB, free: 99.5 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.034e-05/0.8395, allocations: 38.28 kB / 0.7003 GB, free: 99.49 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.0002227/0.8398, allocations: 143 kB / 0.7004 GB, free: 99.36 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001633/0.8399, allocations: 114.7 kB / 0.7006 GB, free: 99.3 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01144/0.8514, allocations: 4.334 MB / 0.7048 GB, free: 97.42 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.285e-05/0.8514, allocations: 8 kB / 0.7048 GB, free: 97.41 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.786e-06/0.8514, allocations: 0 / 0.7048 GB, free: 97.41 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.068e-05/0.8515, allocations: 3.562 kB / 0.7048 GB, free: 97.41 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01281/0.8643, allocations: 5.898 MB / 0.7106 GB, free: 92.73 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.005e-05/0.8643, allocations: 4 kB / 0.7106 GB, free: 92.73 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005429/0.8649, allocations: 94.28 kB / 0.7106 GB, free: 92.65 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004738/0.8696, allocations: 1.738 MB / 0.7123 GB, free: 91.26 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001195/0.8698, allocations: 23.89 kB / 0.7124 GB, free: 91.24 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01154/0.8813, allocations: 6.691 MB / 0.7189 GB, free: 85.13 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.784e-06/0.8813, allocations: 0 / 0.7189 GB, free: 85.13 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0121/0.8934, allocations: 5.065 MB / 0.7238 GB, free: 80.94 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003411/0.8938, allocations: 202 kB / 0.724 GB, free: 80.73 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001258/0.894, allocations: 16 kB / 0.7241 GB, free: 80.71 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009253/0.8949, allocations: 131.3 kB / 0.7242 GB, free: 80.61 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000534/0.8954, allocations: 205.5 kB / 0.7244 GB, free: 80.5 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.411e-05/0.8955, allocations: 20 kB / 0.7244 GB, free: 80.48 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.0005748/0.8961, allocations: 0.5476 MB / 0.7249 GB, free: 79.96 MB / 490.7 MB Notification: Performance of sort global known variables: time 1.5e-07/0.8961, allocations: 0 / 0.7249 GB, free: 79.96 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0009526/0.8971, allocations: 420.8 kB / 0.7253 GB, free: 79.55 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.01242/0.9095, allocations: 5.659 MB / 0.7309 GB, free: 74.04 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.004652/0.9142, allocations: 2.039 MB / 0.7328 GB, free: 71.98 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 3.116e-06/0.9142, allocations: 0 / 0.7328 GB, free: 71.98 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003676/0.9179, allocations: 1.5 MB / 0.7343 GB, free: 70.48 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006239/0.9185, allocations: 71.44 kB / 0.7344 GB, free: 70.41 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002689/0.9212, allocations: 1.683 MB / 0.736 GB, free: 68.72 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003777/0.9216, allocations: 1.084 MB / 0.7371 GB, free: 67.61 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.000248/0.9219, allocations: 69.09 kB / 0.7372 GB, free: 67.54 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003731/0.9223, allocations: 387.3 kB / 0.7375 GB, free: 67.16 MB / 490.7 MB Notification: Performance of SimCode: time 6.41e-07/0.9223, allocations: 0 / 0.7375 GB, free: 67.16 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04014/0.9624, allocations: 28.98 MB / 0.7658 GB, free: 38.63 MB / 490.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001229/0.9626, allocations: 174.7 kB / 0.766 GB, free: 38.4 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.566/3.529, allocations: 0 / 0.766 GB, free: 38.4 MB / 490.7 MB (rm -f OpenIPSL_dev_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeI_test.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeI_test.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeI_test.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeI_test.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_OpenIPSL_dev_OpenIPSL_Tests_Controls_PSAT_TG_TGTypeI_test_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 OpenIPSL_dev_OpenIPSL_Tests_Controls_PSAT_TG_TGTypeI_test.fmu > OpenIPSL_dev_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeI_test.pipe 2>&1)