Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeI_test.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo", uses=false) Using package OpenIPSL with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo) Using package Modelica_Synchronous with version 0.93.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: "" <> buildModelFMU(OpenIPSL.Tests.Controls.PSAT.TG.TGTypeI_test,fileNamePrefix="OpenIPSL_2_0_0_OpenIPSL_Tests_Controls_PSAT_TG_TGTypeI_test",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.Controls.PSAT.TG.TGTypeI_test,fileNamePrefix="OpenIPSL_2_0_0_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 3.2.3+maint.om/package.mo): time 0.005274/0.005274, allocations: 173.6 kB / 15.12 MB, free: 5.973 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.383/1.383, allocations: 205.4 MB / 221.3 MB, free: 13.83 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007868/0.0007868, allocations: 86.88 kB / 269.6 MB, free: 13.37 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0/package.mo): time 0.05871/0.05871, allocations: 12.2 MB / 330.1 MB, free: 10.69 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo): time 0.4043/0.4043, allocations: 78.51 MB / 459.6 MB, free: 3.988 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005124/0.0005124, allocations: 19.75 kB / 0.528 GB, free: 35.39 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1281/0.1287, allocations: 69.24 MB / 0.5956 GB, free: 4.289 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1314/0.2602, allocations: 98.63 MB / 0.692 GB, free: 1.523 MB / 474.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002706/0.2605, allocations: 91.88 kB / 0.692 GB, free: 1.434 MB / 474.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.3163/0.5768, allocations: 23.85 MB / 0.7153 GB, free: 93.79 MB / 474.7 MB Notification: Performance of FrontEnd: time 2.375e-06/0.5768, allocations: 0 / 0.7153 GB, free: 93.79 MB / 474.7 MB Notification: Performance of Transformations before backend: time 8.152e-05/0.5769, allocations: 22.59 kB / 0.7154 GB, free: 93.79 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: 178 * Number of variables: 178 Notification: Performance of Generate backend data structure: time 0.005469/0.5824, allocations: 1.883 MB / 0.7172 GB, free: 92.55 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.07e-05/0.5824, allocations: 11.73 kB / 0.7172 GB, free: 92.54 MB / 474.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002644/0.5827, allocations: 125.5 kB / 0.7173 GB, free: 92.44 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003089/0.5858, allocations: 0.5486 MB / 0.7179 GB, free: 92.19 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001368/0.5872, allocations: 0.7084 MB / 0.7186 GB, free: 91.61 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002049/0.5874, allocations: 263.2 kB / 0.7188 GB, free: 91.38 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001447/0.5875, allocations: 69.19 kB / 0.7189 GB, free: 91.35 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001915/0.5895, allocations: 1.144 MB / 0.72 GB, free: 90.71 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.653e-05/0.5895, allocations: 3.938 kB / 0.72 GB, free: 90.71 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.076e-05/0.5896, allocations: 27.84 kB / 0.72 GB, free: 90.69 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.283e-05/0.5896, allocations: 15.47 kB / 0.72 GB, free: 90.69 MB / 474.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001868/0.5915, allocations: 1.12 MB / 0.7211 GB, free: 90.2 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004318/0.5958, allocations: 3.072 MB / 0.7241 GB, free: 87.02 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002574/0.5984, allocations: 1.72 MB / 0.7258 GB, free: 85.18 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.693e-05/0.5985, allocations: 20.98 kB / 0.7258 GB, free: 85.16 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.805e-05/0.5985, allocations: 39.5 kB / 0.7259 GB, free: 85.12 MB / 474.7 MB Notification: Performance of pre-optimization done (n=92): time 1.843e-06/0.5985, allocations: 4 kB / 0.7259 GB, free: 85.11 MB / 474.7 MB Notification: Performance of matching and sorting (n=92): time 0.02649/0.625, allocations: 8.865 MB / 0.7345 GB, free: 76.21 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.383e-05/0.6251, allocations: 68.34 kB / 0.7346 GB, free: 76.13 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001049/0.6262, allocations: 0.7101 MB / 0.7353 GB, free: 75.4 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000177/0.6264, allocations: 41.7 kB / 0.7353 GB, free: 75.35 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002492/0.6266, allocations: 468.2 kB / 0.7358 GB, free: 74.89 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003399/0.627, allocations: 323.3 kB / 0.7361 GB, free: 74.57 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.499e-05/0.6271, allocations: 20 kB / 0.7361 GB, free: 74.55 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 7.143e-05/0.6271, allocations: 334 kB / 0.7364 GB, free: 74.21 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001226/0.6284, allocations: 0.6773 MB / 0.7371 GB, free: 73.54 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001281/0.6297, allocations: 0.764 MB / 0.7378 GB, free: 72.75 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00122/0.6309, allocations: 0.7137 MB / 0.7385 GB, free: 72.04 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.799e-06/0.6309, allocations: 0 / 0.7385 GB, free: 72.04 MB / 474.7 MB Notification: Performance of matching and sorting (n=111) (initialization): time 0.01288/0.6438, allocations: 5.039 MB / 0.7434 GB, free: 66.98 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.995e-05/0.6439, allocations: 8 kB / 0.7435 GB, free: 66.97 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.083e-05/0.6439, allocations: 0 / 0.7435 GB, free: 66.97 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006013/0.6499, allocations: 2.233 MB / 0.7456 GB, free: 64.73 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006443/0.6506, allocations: 119.8 kB / 0.7457 GB, free: 64.61 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02065/0.6712, allocations: 10.75 MB / 0.7562 GB, free: 53.73 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001495/0.6728, allocations: 183.2 kB / 0.7564 GB, free: 53.55 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001598/0.673, allocations: 28 kB / 0.7565 GB, free: 53.52 MB / 474.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 () * 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.0006439/0.6736, allocations: 225.6 kB / 0.7567 GB, free: 53.29 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00031/0.6739, allocations: 110.6 kB / 0.7568 GB, free: 53.18 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01289/0.6868, allocations: 5.018 MB / 0.7617 GB, free: 48.15 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.612e-05/0.6869, allocations: 8 kB / 0.7617 GB, free: 48.14 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.519e-06/0.6869, allocations: 0 / 0.7617 GB, free: 48.14 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.902e-05/0.6869, allocations: 3.984 kB / 0.7617 GB, free: 48.14 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01502/0.702, allocations: 6.577 MB / 0.7681 GB, free: 41.42 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.073e-05/0.702, allocations: 4 kB / 0.7681 GB, free: 41.42 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006295/0.7026, allocations: 99.78 kB / 0.7682 GB, free: 41.32 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005825/0.7085, allocations: 2.172 MB / 0.7703 GB, free: 39.14 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002081/0.7087, allocations: 16 kB / 0.7703 GB, free: 39.13 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01808/0.7268, allocations: 9.29 MB / 0.7794 GB, free: 29.7 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.818e-06/0.7269, allocations: 3.938 kB / 0.7794 GB, free: 29.7 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01457/0.7414, allocations: 5.981 MB / 0.7853 GB, free: 23.7 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004619/0.7419, allocations: 203.5 kB / 0.7855 GB, free: 23.48 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003268/0.7423, allocations: 16 kB / 0.7855 GB, free: 23.46 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001182/0.7435, allocations: 127.9 kB / 0.7856 GB, free: 23.34 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006407/0.7441, allocations: 208.6 kB / 0.7858 GB, free: 23.13 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.963e-05/0.7442, allocations: 20 kB / 0.7858 GB, free: 23.11 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.0007388/0.745, allocations: 0.555 MB / 0.7864 GB, free: 22.55 MB / 474.7 MB Notification: Performance of sort global known variables: time 4.41e-07/0.745, allocations: 0 / 0.7864 GB, free: 22.55 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.001487/0.7465, allocations: 427.5 kB / 0.7868 GB, free: 22.13 MB / 474.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 () * 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.01454/0.761, allocations: 6.561 MB / 0.7932 GB, free: 15.53 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.005897/0.767, allocations: 2.529 MB / 0.7956 GB, free: 12.98 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 4.448e-06/0.767, allocations: 0 / 0.7956 GB, free: 12.98 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.004424/0.7714, allocations: 1.771 MB / 0.7974 GB, free: 11.21 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009365/0.7724, allocations: 67.44 kB / 0.7974 GB, free: 11.14 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02313/0.7955, allocations: 12.24 MB / 0.8094 GB, free: 14.58 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007292/0.7963, allocations: 1.072 MB / 0.8104 GB, free: 13.48 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.0004088/0.7967, allocations: 77.59 kB / 0.8105 GB, free: 13.4 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005835/0.7973, allocations: 391.3 kB / 0.8109 GB, free: 13.02 MB / 490.7 MB Notification: Performance of SimCode: time 7.31e-07/0.7974, allocations: 0 / 0.8109 GB, free: 13.02 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05136/0.8487, allocations: 29.06 MB / 0.8393 GB, free: 108 kB / 0.4949 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002074/0.849, allocations: 208.1 kB / 0.8395 GB, free: 15.86 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.779/3.628, allocations: 0 / 0.8395 GB, free: 15.86 MB / 0.5105 GB (rm -f OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeI_test.pipe ; mkfifo OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeI_test.pipe ; head -c 1048576 < OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeI_test.pipe >> ../files/OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeI_test.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_OpenIPSL_2_0_0_OpenIPSL_Tests_Controls_PSAT_TG_TGTypeI_test_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 OpenIPSL_2_0_0_OpenIPSL_Tests_Controls_PSAT_TG_TGTypeI_test.fmu > OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeI_test.pipe 2>&1)