Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeIII_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.TGTypeIII_test,fileNamePrefix="OpenIPSL_OpenIPSL_Tests_Controls_PSAT_TG_TGTypeIII_test",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.Controls.PSAT.TG.TGTypeIII_test,fileNamePrefix="OpenIPSL_OpenIPSL_Tests_Controls_PSAT_TG_TGTypeIII_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.001076/0.001076, allocations: 180.9 kB / 7.651 MB, free: 1.422 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.438/1.438, allocations: 221.5 MB / 229.6 MB, free: 7.605 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.0009749/0.000975, allocations: 91.72 kB / 280.5 MB, free: 5.344 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.4925/0.4925, allocations: 78.07 MB / 409.3 MB, free: 6.383 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 1.778e-05/1.781e-05, allocations: 4 kB / 485 MB, free: 12.18 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1682/0.1682, allocations: 69.36 MB / 0.5414 GB, free: 6.754 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5049/0.6732, allocations: 98.6 MB / 0.6377 GB, free: 0.8203 MB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003176/0.6736, allocations: 87.84 kB / 0.6378 GB, free: 0.7383 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.09213/0.7657, allocations: 28.38 MB / 0.6655 GB, free: 4.406 MB / 474.7 MB Notification: Performance of FrontEnd: time 2.154e-06/0.7657, allocations: 0 / 0.6655 GB, free: 4.406 MB / 474.7 MB Notification: Performance of Transformations before backend: time 9.354e-05/0.7659, allocations: 28.88 kB / 0.6655 GB, free: 4.379 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: 237 * Number of variables: 237 Notification: Performance of Generate backend data structure: time 0.007934/0.7738, allocations: 1.864 MB / 0.6673 GB, free: 2.469 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.831e-05/0.7739, allocations: 8.031 kB / 0.6673 GB, free: 2.461 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006152/0.78, allocations: 0.5796 MB / 0.6679 GB, free: 1.879 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002812/0.7829, allocations: 0.8307 MB / 0.6687 GB, free: 0.9922 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004011/0.7833, allocations: 208.9 kB / 0.6689 GB, free: 0.7617 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002568/0.7836, allocations: 59.95 kB / 0.669 GB, free: 0.7031 MB / 474.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002857/0.7864, allocations: 0.9178 MB / 0.6699 GB, free: 15.79 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002857/0.7893, allocations: 1.021 MB / 0.6709 GB, free: 14.72 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.301e-05/0.7894, allocations: 3.938 kB / 0.6709 GB, free: 14.72 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000147/0.7895, allocations: 3.938 kB / 0.6709 GB, free: 14.71 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.581e-05/0.7896, allocations: 28 kB / 0.6709 GB, free: 14.69 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01027/0.7999, allocations: 4.094 MB / 0.6749 GB, free: 10.44 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003683/0.8036, allocations: 1.506 MB / 0.6764 GB, free: 8.824 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001424/0.805, allocations: 0.6244 MB / 0.677 GB, free: 8.203 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001774/0.8052, allocations: 17.3 kB / 0.677 GB, free: 8.184 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.506e-05/0.8053, allocations: 47.81 kB / 0.677 GB, free: 8.129 MB / 490.7 MB Notification: Performance of pre-optimization done (n=107): time 4.028e-06/0.8053, allocations: 0 / 0.677 GB, free: 8.129 MB / 490.7 MB Notification: Performance of matching and sorting (n=107): time 0.02034/0.8257, allocations: 4.239 MB / 0.6812 GB, free: 3.871 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000116/0.8258, allocations: 116.1 kB / 0.6813 GB, free: 3.734 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002028/0.8279, allocations: 0.7657 MB / 0.682 GB, free: 2.957 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000313/0.8282, allocations: 29.7 kB / 0.6821 GB, free: 2.922 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007235/0.8289, allocations: 0.5712 MB / 0.6826 GB, free: 2.344 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006393/0.8296, allocations: 366.5 kB / 0.683 GB, free: 1.98 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001052/0.8297, allocations: 0 / 0.683 GB, free: 1.98 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.000231/0.83, allocations: 351.3 kB / 0.6833 GB, free: 1.633 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001324/0.8313, allocations: 466.6 kB / 0.6837 GB, free: 1.176 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001529/0.8329, allocations: 0.6211 MB / 0.6844 GB, free: 0.4961 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001412/0.8343, allocations: 0.5152 MB / 0.6849 GB, free: 15.98 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.574e-06/0.8343, allocations: 0 / 0.6849 GB, free: 15.98 MB / 0.4948 GB Notification: Performance of matching and sorting (n=135) (initialization): time 0.01995/0.8543, allocations: 4.429 MB / 0.6892 GB, free: 11.54 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0007183/0.855, allocations: 1.504 MB / 0.6906 GB, free: 9.934 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.77e-05/0.8551, allocations: 4 kB / 0.6907 GB, free: 9.93 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.009034/0.8641, allocations: 1.76 MB / 0.6924 GB, free: 8.164 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001304/0.8655, allocations: 163.8 kB / 0.6925 GB, free: 8.004 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0241/0.8896, allocations: 7.488 MB / 0.6998 GB, free: 400 kB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002542/0.8922, allocations: 183 kB / 0.7 GB, free: 216 kB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003389/0.8926, allocations: 39.98 kB / 0.7001 GB, free: 176 kB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.864e-05/0.8926, allocations: 5.406 kB / 0.7001 GB, free: 172 kB / 0.4948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.02096/0.9136, allocations: 4.242 MB / 0.7042 GB, free: 11.92 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.582e-05/0.9137, allocations: 8.812 kB / 0.7042 GB, free: 11.91 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.009212/0.9229, allocations: 1.753 MB / 0.7059 GB, free: 10.15 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001235/0.9242, allocations: 147.8 kB / 0.7061 GB, free: 10.01 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02264/0.9469, allocations: 7.483 MB / 0.7134 GB, free: 2.395 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001837/0.9488, allocations: 167.1 kB / 0.7135 GB, free: 2.23 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001073/0.9489, allocations: 47.94 kB / 0.7136 GB, free: 2.184 MB / 0.5105 GB Warning: Assuming fixed start value for the following 4 variables: tGTypeIII.integrator3.y:VARIABLE(start = tGTypeIII.integrator3.y_start ) "Connector of Real output signal" type: Real tGTypeIII.integrator2.y:VARIABLE(start = tGTypeIII.integrator2.y_start ) "Connector of Real output signal" type: Real tGTypeIII.integrator1.y:VARIABLE(start = tGTypeIII.integrator1.y_start ) "Connector of Real output signal" type: Real tGTypeIII.integrator.y:VARIABLE(start = tGTypeIII.integrator.y_start ) "Connector of Real output signal" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 17 * Number of states: 0 () * Number of discrete variables: 4 (tGTypeIII.integrator3.local_reset,tGTypeIII.integrator2.local_reset,tGTypeIII.integrator1.local_reset,tGTypeIII.integrator.local_reset) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (95): * Single equations (assignments): 94 * 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.0004308/0.9493, allocations: 132.5 kB / 0.7137 GB, free: 2.051 MB / 0.5105 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.01331/0.9626, allocations: 4.239 MB / 0.7178 GB, free: 13.8 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004505/0.9631, allocations: 134.4 kB / 0.718 GB, free: 13.67 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01295/0.9761, allocations: 4.344 MB / 0.7222 GB, free: 9.305 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.913e-05/0.9761, allocations: 15.94 kB / 0.7222 GB, free: 9.289 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.055e-06/0.9761, allocations: 0 / 0.7222 GB, free: 9.289 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.578e-05/0.9762, allocations: 7.969 kB / 0.7222 GB, free: 9.281 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01534/0.9915, allocations: 5.996 MB / 0.7281 GB, free: 3.164 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.165e-05/0.9916, allocations: 4 kB / 0.7281 GB, free: 3.16 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001014/0.9926, allocations: 121.4 kB / 0.7282 GB, free: 3.043 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005674/0.9983, allocations: 1.726 MB / 0.7299 GB, free: 1.312 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001944/0.9985, allocations: 7.984 kB / 0.7299 GB, free: 1.305 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01315/1.012, allocations: 6.556 MB / 0.7363 GB, free: 10.63 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.082e-06/1.012, allocations: 0 / 0.7363 GB, free: 10.63 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01426/1.026, allocations: 5.158 MB / 0.7413 GB, free: 5.449 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006415/1.027, allocations: 215.3 kB / 0.7415 GB, free: 5.219 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001754/1.027, allocations: 3.984 kB / 0.7416 GB, free: 5.215 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001143/1.028, allocations: 123.9 kB / 0.7417 GB, free: 5.094 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005871/1.029, allocations: 203.6 kB / 0.7419 GB, free: 4.898 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.015e-05/1.029, allocations: 28 kB / 0.7419 GB, free: 4.871 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 0.0007948/1.03, allocations: 0.5835 MB / 0.7425 GB, free: 4.281 MB / 0.5417 GB Notification: Performance of sort global known variables: time 1.8e-07/1.03, allocations: 0 / 0.7425 GB, free: 4.281 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.001967/1.032, allocations: 0.6783 MB / 0.7431 GB, free: 3.602 MB / 0.5417 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 7 (gen.delta,gen.w,gen.e1q,tGTypeIII.integrator.y,tGTypeIII.integrator1.y,tGTypeIII.integrator2.y,tGTypeIII.integrator3.y) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (70): * Single equations (assignments): 69 * 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.01432/1.046, allocations: 5.749 MB / 0.7487 GB, free: 13.82 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.009845/1.056, allocations: 3.684 MB / 0.7523 GB, free: 10.11 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 2.661e-05/1.056, allocations: 0 / 0.7523 GB, free: 10.11 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.004185/1.06, allocations: 1.511 MB / 0.7538 GB, free: 8.598 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009249/1.061, allocations: 92.34 kB / 0.7539 GB, free: 8.512 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003614/1.065, allocations: 1.832 MB / 0.7557 GB, free: 6.645 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007056/1.065, allocations: 1.197 MB / 0.7569 GB, free: 5.418 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.0006916/1.066, allocations: 162.5 kB / 0.757 GB, free: 5.254 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005458/1.067, allocations: 495.3 kB / 0.7575 GB, free: 4.77 MB / 0.5573 GB Notification: Performance of SimCode: time 2.545e-06/1.067, allocations: 0 / 0.7575 GB, free: 4.77 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4194/1.486, allocations: 39.4 MB / 0.796 GB, free: 144.9 MB / 0.5573 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001965/1.486, allocations: 132.4 kB / 0.7961 GB, free: 144.7 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.175/4.661, allocations: 0 / 0.7961 GB, free: 144.7 MB / 0.5573 GB (rm -f OpenIPSL_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeIII_test.pipe ; mkfifo OpenIPSL_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeIII_test.pipe ; head -c 1048576 < OpenIPSL_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeIII_test.pipe >> ../files/OpenIPSL_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeIII_test.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_OpenIPSL_OpenIPSL_Tests_Controls_PSAT_TG_TGTypeIII_test_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 OpenIPSL_OpenIPSL_Tests_Controls_PSAT_TG_TGTypeIII_test.fmu > OpenIPSL_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeIII_test.pipe 2>&1)