Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_dev_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.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.TGTypeIII_test,fileNamePrefix="OpenIPSL_dev_OpenIPSL_Tests_Controls_PSAT_TG_TGTypeIII_test",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.Controls.PSAT.TG.TGTypeIII_test,fileNamePrefix="OpenIPSL_dev_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.001294/0.001294, allocations: 172.5 kB / 7.647 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.351/1.351, allocations: 221.5 MB / 229.6 MB, free: 3.184 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.0008476/0.0008475, allocations: 92.73 kB / 280.5 MB, free: 1.137 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.4894/0.4894, allocations: 78.93 MB / 410.2 MB, free: 14.75 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 2.077e-05/2.082e-05, allocations: 4 kB / 486 MB, free: 3.164 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3839/0.3839, allocations: 69.52 MB / 0.5425 GB, free: 21.02 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1176/0.5015, allocations: 99.18 MB / 0.6394 GB, free: 4.492 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002758/0.5019, allocations: 91.94 kB / 0.6395 GB, free: 4.402 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.07708/0.5789, allocations: 28.66 MB / 0.6675 GB, free: 7.547 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.293e-06/0.579, allocations: 0 / 0.6675 GB, free: 7.547 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.000115/0.5791, allocations: 32.88 kB / 0.6675 GB, free: 7.516 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: 237 * Number of variables: 237 Notification: Performance of Generate backend data structure: time 0.00551/0.5846, allocations: 1.848 MB / 0.6693 GB, free: 5.621 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.656e-05/0.5847, allocations: 16.03 kB / 0.6693 GB, free: 5.605 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003505/0.5882, allocations: 0.5756 MB / 0.6699 GB, free: 5.027 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001845/0.5901, allocations: 0.8462 MB / 0.6707 GB, free: 4.125 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002428/0.5903, allocations: 214.5 kB / 0.6709 GB, free: 3.887 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002365/0.5906, allocations: 55.95 kB / 0.671 GB, free: 3.832 MB / 490.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001766/0.5923, allocations: 0.9217 MB / 0.6719 GB, free: 2.91 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001841/0.5942, allocations: 1.021 MB / 0.6729 GB, free: 1.848 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.976e-05/0.5942, allocations: 0 / 0.6729 GB, free: 1.848 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.71e-05/0.5943, allocations: 4 kB / 0.6729 GB, free: 1.844 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.745e-05/0.5943, allocations: 20 kB / 0.6729 GB, free: 1.824 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2976/0.892, allocations: 4.087 MB / 0.6769 GB, free: 102.2 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002713/0.8948, allocations: 1.511 MB / 0.6784 GB, free: 101.6 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009795/0.8958, allocations: 0.6155 MB / 0.679 GB, free: 101.6 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000128/0.8959, allocations: 20.39 kB / 0.679 GB, free: 101.6 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.018e-05/0.8959, allocations: 42.73 kB / 0.679 GB, free: 101.5 MB / 490.7 MB Notification: Performance of pre-optimization done (n=107): time 4.308e-06/0.8959, allocations: 0 / 0.679 GB, free: 101.5 MB / 490.7 MB Notification: Performance of matching and sorting (n=107): time 0.01384/0.9098, allocations: 4.242 MB / 0.6832 GB, free: 101.4 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.952e-05/0.9099, allocations: 119.2 kB / 0.6833 GB, free: 101.2 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001368/0.9113, allocations: 0.772 MB / 0.684 GB, free: 101.1 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002901/0.9116, allocations: 25.7 kB / 0.684 GB, free: 101.1 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004239/0.912, allocations: 0.5818 MB / 0.6846 GB, free: 100.9 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004216/0.9124, allocations: 361.5 kB / 0.685 GB, free: 100.7 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.785e-05/0.9125, allocations: 0 / 0.685 GB, free: 100.7 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 8.358e-05/0.9126, allocations: 344.2 kB / 0.6853 GB, free: 100.4 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007593/0.9134, allocations: 463 kB / 0.6857 GB, free: 100.4 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008502/0.9142, allocations: 0.6196 MB / 0.6863 GB, free: 100.2 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008152/0.9151, allocations: 0.5227 MB / 0.6868 GB, free: 100.2 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.593e-06/0.9151, allocations: 1.094 kB / 0.6868 GB, free: 100.2 MB / 490.7 MB Notification: Performance of matching and sorting (n=135) (initialization): time 0.01254/0.9276, allocations: 4.427 MB / 0.6912 GB, free: 99.89 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0004591/0.9281, allocations: 1.502 MB / 0.6926 GB, free: 98.33 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.972e-05/0.9282, allocations: 7.625 kB / 0.6926 GB, free: 98.33 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005573/0.9337, allocations: 1.751 MB / 0.6944 GB, free: 98.23 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008144/0.9346, allocations: 157.7 kB / 0.6945 GB, free: 98.23 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01345/0.9481, allocations: 7.487 MB / 0.7018 GB, free: 94.47 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001614/0.9497, allocations: 182.9 kB / 0.702 GB, free: 94.44 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001081/0.9499, allocations: 44.22 kB / 0.702 GB, free: 94.43 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.244e-05/0.9499, allocations: 3.875 kB / 0.702 GB, free: 94.43 MB / 490.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01179/0.9617, allocations: 4.254 MB / 0.7062 GB, free: 93.61 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.796e-05/0.9618, allocations: 3.844 kB / 0.7062 GB, free: 93.61 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005186/0.967, allocations: 1.755 MB / 0.7079 GB, free: 93.27 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007343/0.9677, allocations: 147.8 kB / 0.7081 GB, free: 93.27 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0138/0.9815, allocations: 7.493 MB / 0.7154 GB, free: 87.69 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001584/0.9832, allocations: 166.5 kB / 0.7155 GB, free: 87.57 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001151/0.9833, allocations: 36 kB / 0.7156 GB, free: 87.53 MB / 490.7 MB 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.0004065/0.9837, allocations: 147.3 kB / 0.7157 GB, free: 87.41 MB / 490.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.01168/0.9954, allocations: 4.233 MB / 0.7198 GB, free: 84.05 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007193/0.9962, allocations: 126.4 kB / 0.72 GB, free: 83.93 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.012/1.008, allocations: 4.353 MB / 0.7242 GB, free: 80.54 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.777e-05/1.008, allocations: 8 kB / 0.7242 GB, free: 80.54 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.597e-06/1.008, allocations: 0 / 0.7242 GB, free: 80.54 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.93e-05/1.008, allocations: 7.75 kB / 0.7242 GB, free: 80.53 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01386/1.022, allocations: 5.999 MB / 0.7301 GB, free: 75.39 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.988e-05/1.022, allocations: 0 / 0.7301 GB, free: 75.39 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000759/1.023, allocations: 127.8 kB / 0.7302 GB, free: 75.27 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00485/1.028, allocations: 1.725 MB / 0.7319 GB, free: 73.54 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001944/1.028, allocations: 4 kB / 0.7319 GB, free: 73.54 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01164/1.04, allocations: 6.55 MB / 0.7383 GB, free: 66.88 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.41e-06/1.04, allocations: 0 / 0.7383 GB, free: 66.88 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0129/1.053, allocations: 5.154 MB / 0.7433 GB, free: 61.71 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005252/1.053, allocations: 227.1 kB / 0.7435 GB, free: 61.46 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002334/1.053, allocations: 3.953 kB / 0.7435 GB, free: 61.46 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001112/1.055, allocations: 127.9 kB / 0.7437 GB, free: 61.34 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005364/1.055, allocations: 205 kB / 0.7439 GB, free: 61.14 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.932e-05/1.055, allocations: 24.84 kB / 0.7439 GB, free: 61.11 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.0006745/1.056, allocations: 0.5835 MB / 0.7445 GB, free: 60.52 MB / 490.7 MB Notification: Performance of sort global known variables: time 1.31e-07/1.056, allocations: 0 / 0.7445 GB, free: 60.52 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.001912/1.058, allocations: 0.6735 MB / 0.7451 GB, free: 59.86 MB / 490.7 MB 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.01285/1.071, allocations: 5.745 MB / 0.7507 GB, free: 54.09 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.008899/1.08, allocations: 3.695 MB / 0.7543 GB, free: 50.39 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 6.322e-06/1.08, allocations: 0 / 0.7543 GB, free: 50.39 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003827/1.084, allocations: 1.506 MB / 0.7558 GB, free: 48.88 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009161/1.084, allocations: 102.8 kB / 0.7559 GB, free: 48.78 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003149/1.088, allocations: 1.834 MB / 0.7577 GB, free: 46.92 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004615/1.088, allocations: 1.19 MB / 0.7588 GB, free: 45.7 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.0006364/1.089, allocations: 172.3 kB / 0.759 GB, free: 45.54 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004266/1.089, allocations: 495.3 kB / 0.7595 GB, free: 45.05 MB / 490.7 MB Notification: Performance of SimCode: time 8.11e-07/1.089, allocations: 0 / 0.7595 GB, free: 45.05 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06186/1.151, allocations: 39.4 MB / 0.798 GB, free: 5.953 MB / 490.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001445/1.151, allocations: 138.3 kB / 0.7981 GB, free: 5.754 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.121/4.272, allocations: 0 / 0.7981 GB, free: 5.754 MB / 490.7 MB (rm -f OpenIPSL_dev_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeIII_test.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeIII_test.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeIII_test.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeIII_test.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_OpenIPSL_dev_OpenIPSL_Tests_Controls_PSAT_TG_TGTypeIII_test_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 OpenIPSL_dev_OpenIPSL_Tests_Controls_PSAT_TG_TGTypeIII_test.fmu > OpenIPSL_dev_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeIII_test.pipe 2>&1)