Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_dev_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeIV_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.TGTypeIV_test,fileNamePrefix="OpenIPSL_dev_OpenIPSL_Tests_Controls_PSAT_TG_TGTypeIV_test",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.Controls.PSAT.TG.TGTypeIV_test,fileNamePrefix="OpenIPSL_dev_OpenIPSL_Tests_Controls_PSAT_TG_TGTypeIV_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.001303/0.001303, 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.208/1.208, 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.0008298/0.0008299, 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.4363/0.4363, allocations: 78.91 MB / 415.4 MB, free: 10.28 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 2.739e-05/2.75e-05, allocations: 4 kB / 492.9 MB, free: 13.04 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3145/0.3145, allocations: 69.49 MB / 0.5492 GB, free: 19.67 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1138/0.4283, allocations: 99.95 MB / 0.6468 GB, free: 15.66 MB / 474.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000213/0.4286, allocations: 87.94 kB / 0.6469 GB, free: 15.58 MB / 474.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.0746/0.5032, allocations: 29.7 MB / 0.6759 GB, free: 1.68 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.333e-06/0.5032, allocations: 0 / 0.6759 GB, free: 1.68 MB / 490.7 MB Notification: Performance of Transformations before backend: time 7.412e-05/0.5033, allocations: 28 kB / 0.6759 GB, free: 1.652 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: 244 * Number of variables: 244 Notification: Performance of Generate backend data structure: time 0.2836/0.7869, allocations: 1.889 MB / 0.6778 GB, free: 101.6 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.272e-05/0.787, allocations: 13.94 kB / 0.6778 GB, free: 101.6 MB / 490.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0006068/0.7876, allocations: 152.3 kB / 0.6779 GB, free: 101.6 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003765/0.7914, allocations: 0.5825 MB / 0.6785 GB, free: 101.5 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001958/0.7934, allocations: 0.8722 MB / 0.6793 GB, free: 101.2 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002145/0.7936, allocations: 242.3 kB / 0.6796 GB, free: 101.1 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00018/0.7938, allocations: 94.25 kB / 0.6797 GB, free: 101.1 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002067/0.7959, allocations: 1.185 MB / 0.6808 GB, free: 100.9 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.06e-05/0.7959, allocations: 2.625 kB / 0.6808 GB, free: 100.9 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000111/0.796, allocations: 41.52 kB / 0.6809 GB, free: 100.9 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.975e-05/0.796, allocations: 25.08 kB / 0.6809 GB, free: 100.9 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001919/0.798, allocations: 0.9954 MB / 0.6819 GB, free: 100.9 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006577/0.8045, allocations: 4.486 MB / 0.6862 GB, free: 99.23 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002544/0.8071, allocations: 1.563 MB / 0.6878 GB, free: 98.62 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009261/0.8081, allocations: 0.6554 MB / 0.6884 GB, free: 98.61 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001127/0.8082, allocations: 28.36 kB / 0.6884 GB, free: 98.61 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.274e-05/0.8082, allocations: 45.84 kB / 0.6885 GB, free: 98.57 MB / 490.7 MB Notification: Performance of pre-optimization done (n=110): time 3.106e-06/0.8082, allocations: 0 / 0.6885 GB, free: 98.57 MB / 490.7 MB Notification: Performance of matching and sorting (n=110): time 0.01223/0.8205, allocations: 4.335 MB / 0.6927 GB, free: 98.35 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.849e-05/0.8206, allocations: 115.4 kB / 0.6928 GB, free: 98.22 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001318/0.8219, allocations: 0.8757 MB / 0.6937 GB, free: 98.07 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002878/0.8222, allocations: 47.08 kB / 0.6937 GB, free: 98.03 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003239/0.8225, allocations: 0.5943 MB / 0.6943 GB, free: 97.58 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003112/0.8228, allocations: 394.1 kB / 0.6947 GB, free: 97.28 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.633e-05/0.8229, allocations: 23.94 kB / 0.6947 GB, free: 97.26 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 7.694e-05/0.823, allocations: 346.3 kB / 0.695 GB, free: 96.94 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007403/0.8237, allocations: 495.1 kB / 0.6955 GB, free: 96.71 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007792/0.8245, allocations: 0.6701 MB / 0.6962 GB, free: 96.29 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007945/0.8253, allocations: 0.5452 MB / 0.6967 GB, free: 96.04 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.809e-06/0.8253, allocations: 0 / 0.6967 GB, free: 96.04 MB / 490.7 MB Notification: Performance of matching and sorting (n=141) (initialization): time 0.01234/0.8377, allocations: 4.552 MB / 0.7011 GB, free: 95.07 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0003093/0.838, allocations: 1.689 MB / 0.7028 GB, free: 93.3 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.265e-05/0.8381, allocations: 9.438 kB / 0.7028 GB, free: 93.3 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005241/0.8433, allocations: 1.822 MB / 0.7046 GB, free: 92.96 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000772/0.8441, allocations: 173.6 kB / 0.7047 GB, free: 92.95 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01373/0.8578, allocations: 7.704 MB / 0.7123 GB, free: 88.15 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001588/0.8595, allocations: 208.3 kB / 0.7125 GB, free: 87.97 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.96e-05/0.8596, allocations: 42.22 kB / 0.7125 GB, free: 87.94 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.467e-06/0.8596, allocations: 4 kB / 0.7125 GB, free: 87.93 MB / 490.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01161/0.8712, allocations: 4.413 MB / 0.7168 GB, free: 84.43 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.538e-05/0.8712, allocations: 4 kB / 0.7168 GB, free: 84.42 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005134/0.8764, allocations: 1.817 MB / 0.7186 GB, free: 82.97 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007305/0.8771, allocations: 150.2 kB / 0.7187 GB, free: 82.84 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0133/0.8905, allocations: 7.69 MB / 0.7263 GB, free: 75.84 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001488/0.892, allocations: 188.2 kB / 0.7264 GB, free: 75.69 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.522e-05/0.8921, allocations: 44 kB / 0.7265 GB, free: 75.64 MB / 490.7 MB Warning: Assuming fixed start value for the following 5 variables: tGTypeIV.integrator1.y:VARIABLE(start = tGTypeIV.integrator1.y_start ) "Connector of Real output signal" type: Real tGTypeIV.integrator5.y:VARIABLE(start = tGTypeIV.integrator5.y_start ) "Connector of Real output signal" type: Real tGTypeIV.integrator4.y:VARIABLE(start = tGTypeIV.integrator4.y_start ) "Connector of Real output signal" type: Real tGTypeIV.integrator2.y:VARIABLE(start = tGTypeIV.integrator2.y_start ) "Connector of Real output signal" type: Real tGTypeIV.integrator3.y:VARIABLE(start = tGTypeIV.integrator3.y_start ) "Connector of Real output signal" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 19 * Number of states: 0 () * Number of discrete variables: 5 (tGTypeIV.integrator1.local_reset,tGTypeIV.integrator5.local_reset,tGTypeIV.integrator4.local_reset,tGTypeIV.integrator2.local_reset,tGTypeIV.integrator3.local_reset) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (101): * Single equations (assignments): 100 * 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.0002872/0.8924, allocations: 177.2 kB / 0.7266 GB, free: 75.48 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002322/0.8926, allocations: 138.3 kB / 0.7268 GB, free: 75.34 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01171/0.9043, allocations: 4.457 MB / 0.7311 GB, free: 71.85 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.239e-05/0.9044, allocations: 15.94 kB / 0.7311 GB, free: 71.84 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.967e-06/0.9044, allocations: 0 / 0.7311 GB, free: 71.84 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.516e-05/0.9044, allocations: 10.12 kB / 0.7312 GB, free: 71.84 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0135/0.9179, allocations: 6.253 MB / 0.7373 GB, free: 66.49 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.114e-05/0.918, allocations: 7.938 kB / 0.7373 GB, free: 66.48 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007021/0.9187, allocations: 115.9 kB / 0.7374 GB, free: 66.37 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004829/0.9235, allocations: 1.738 MB / 0.7391 GB, free: 64.63 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001379/0.9237, allocations: 31.92 kB / 0.7391 GB, free: 64.6 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01163/0.9353, allocations: 6.688 MB / 0.7456 GB, free: 57.79 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.805e-06/0.9353, allocations: 0 / 0.7456 GB, free: 57.79 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01271/0.9481, allocations: 5.265 MB / 0.7508 GB, free: 52.51 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004238/0.9485, allocations: 234.7 kB / 0.751 GB, free: 52.26 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001703/0.9487, allocations: 23.94 kB / 0.751 GB, free: 52.24 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001084/0.9498, allocations: 147.9 kB / 0.7512 GB, free: 52.1 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005081/0.9503, allocations: 200.6 kB / 0.7514 GB, free: 51.9 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.256e-05/0.9504, allocations: 27.98 kB / 0.7514 GB, free: 51.88 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.0007322/0.9511, allocations: 0.6804 MB / 0.752 GB, free: 51.19 MB / 490.7 MB Notification: Performance of sort global known variables: time 1.71e-07/0.9511, allocations: 4 kB / 0.752 GB, free: 51.18 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.001658/0.9528, allocations: 0.754 MB / 0.7528 GB, free: 50.43 MB / 490.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 8 (gen.delta,gen.w,gen.e1q,tGTypeIV.integrator3.y,tGTypeIV.integrator2.y,tGTypeIV.integrator4.y,tGTypeIV.integrator5.y,tGTypeIV.integrator1.y) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (73): * Single equations (assignments): 72 * 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.0128/0.9656, allocations: 5.888 MB / 0.7585 GB, free: 44.53 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.008682/0.9743, allocations: 3.86 MB / 0.7623 GB, free: 40.65 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 3.337e-06/0.9743, allocations: 0 / 0.7623 GB, free: 40.65 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003663/0.978, allocations: 1.567 MB / 0.7638 GB, free: 39.07 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008009/0.9788, allocations: 130 kB / 0.764 GB, free: 38.95 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00306/0.9819, allocations: 1.992 MB / 0.7659 GB, free: 36.93 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004219/0.9823, allocations: 1.209 MB / 0.7671 GB, free: 35.69 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.0006451/0.983, allocations: 181.9 kB / 0.7673 GB, free: 35.52 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004395/0.9834, allocations: 0.4954 MB / 0.7677 GB, free: 35.02 MB / 490.7 MB Notification: Performance of SimCode: time 1.112e-06/0.9834, allocations: 0 / 0.7677 GB, free: 35.02 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05623/1.04, allocations: 42.89 MB / 0.8096 GB, free: 8.578 MB / 0.4948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001946/1.04, allocations: 175.7 kB / 0.8098 GB, free: 8.352 MB / 0.4948 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.009/4.049, allocations: 0 / 0.8098 GB, free: 8.352 MB / 0.4948 GB (rm -f OpenIPSL_dev_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeIV_test.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeIV_test.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeIV_test.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeIV_test.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_OpenIPSL_dev_OpenIPSL_Tests_Controls_PSAT_TG_TGTypeIV_test_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 OpenIPSL_dev_OpenIPSL_Tests_Controls_PSAT_TG_TGTypeIV_test.fmu > OpenIPSL_dev_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeIV_test.pipe 2>&1)