Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_release_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_release_OpenIPSL_Tests_Controls_PSAT_TG_TGTypeIII_test",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.Controls.PSAT.TG.TGTypeIII_test,fileNamePrefix="OpenIPSL_release_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.001569/0.001568, allocations: 173.9 kB / 7.648 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.422/1.422, allocations: 221.5 MB / 229.6 MB, free: 3.121 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.0008863/0.0008863, allocations: 92.81 kB / 280.5 MB, free: 1.145 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.4872/0.4872, allocations: 78.12 MB / 409.4 MB, free: 15.47 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 2.297e-05/2.3e-05, allocations: 4 kB / 485.1 MB, free: 4.078 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4128/0.4128, allocations: 69.35 MB / 0.5414 GB, free: 21.87 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1414/0.5543, allocations: 98.6 MB / 0.6377 GB, free: 6.066 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002619/0.5547, allocations: 95.94 kB / 0.6378 GB, free: 5.973 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.07445/0.6291, allocations: 28.38 MB / 0.6655 GB, free: 9.398 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.373e-06/0.6292, allocations: 0 / 0.6655 GB, free: 9.398 MB / 490.7 MB Notification: Performance of Transformations before backend: time 6.387e-05/0.6292, allocations: 35.94 kB / 0.6655 GB, free: 9.363 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.004769/0.634, allocations: 1.86 MB / 0.6674 GB, free: 7.457 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.22e-05/0.6341, allocations: 12.03 kB / 0.6674 GB, free: 7.445 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00337/0.6375, allocations: 0.5717 MB / 0.6679 GB, free: 6.871 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001716/0.6392, allocations: 0.8346 MB / 0.6687 GB, free: 5.98 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002172/0.6394, allocations: 210.5 kB / 0.6689 GB, free: 5.746 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001524/0.6396, allocations: 63.95 kB / 0.669 GB, free: 5.684 MB / 490.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001648/0.6412, allocations: 0.9139 MB / 0.6699 GB, free: 4.77 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00172/0.643, allocations: 1.025 MB / 0.6709 GB, free: 3.703 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.237e-05/0.643, allocations: 3.938 kB / 0.6709 GB, free: 3.699 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.276e-05/0.6431, allocations: 0 / 0.6709 GB, free: 3.699 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.565e-05/0.6431, allocations: 24 kB / 0.6709 GB, free: 3.676 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3797/1.023, allocations: 4.082 MB / 0.6749 GB, free: 103 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003907/1.027, allocations: 1.512 MB / 0.6764 GB, free: 102.4 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001386/1.028, allocations: 0.616 MB / 0.677 GB, free: 102.4 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001504/1.028, allocations: 19.41 kB / 0.677 GB, free: 102.4 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.084e-05/1.028, allocations: 46.64 kB / 0.6771 GB, free: 102.4 MB / 490.7 MB Notification: Performance of pre-optimization done (n=107): time 4.91e-06/1.028, allocations: 0 / 0.6771 GB, free: 102.4 MB / 490.7 MB Notification: Performance of matching and sorting (n=107): time 0.01647/1.045, allocations: 4.247 MB / 0.6812 GB, free: 102.3 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.526e-05/1.045, allocations: 114.2 kB / 0.6813 GB, free: 102.2 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001593/1.047, allocations: 0.7724 MB / 0.6821 GB, free: 102 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003147/1.047, allocations: 26.86 kB / 0.6821 GB, free: 102 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004604/1.047, allocations: 0.5691 MB / 0.6826 GB, free: 101.8 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004284/1.048, allocations: 367.6 kB / 0.683 GB, free: 101.6 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.769e-05/1.048, allocations: 1.688 kB / 0.683 GB, free: 101.6 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001253/1.048, allocations: 347.7 kB / 0.6833 GB, free: 101.3 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009043/1.049, allocations: 468.9 kB / 0.6838 GB, free: 101.3 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001035/1.05, allocations: 0.619 MB / 0.6844 GB, free: 101.2 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001053/1.051, allocations: 0.5137 MB / 0.6849 GB, free: 101.2 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.866e-06/1.051, allocations: 1.031 kB / 0.6849 GB, free: 101.2 MB / 490.7 MB Notification: Performance of matching and sorting (n=135) (initialization): time 0.01414/1.065, allocations: 4.436 MB / 0.6892 GB, free: 100.8 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0005022/1.066, allocations: 1.499 MB / 0.6907 GB, free: 99.29 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.614e-05/1.066, allocations: 7.969 kB / 0.6907 GB, free: 99.28 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005623/1.072, allocations: 1.751 MB / 0.6924 GB, free: 99.18 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008409/1.072, allocations: 159.7 kB / 0.6926 GB, free: 99.18 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01409/1.087, allocations: 7.484 MB / 0.6999 GB, free: 95.77 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001726/1.088, allocations: 183.6 kB / 0.7 GB, free: 95.73 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.549e-05/1.088, allocations: 41.48 kB / 0.7001 GB, free: 95.72 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.221e-05/1.088, allocations: 3.562 kB / 0.7001 GB, free: 95.72 MB / 490.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01216/1.101, allocations: 4.258 MB / 0.7042 GB, free: 94.91 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.753e-05/1.101, allocations: 2.531 kB / 0.7042 GB, free: 94.91 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005455/1.106, allocations: 1.751 MB / 0.706 GB, free: 94.57 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000816/1.107, allocations: 148.4 kB / 0.7061 GB, free: 94.56 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01361/1.121, allocations: 7.49 MB / 0.7134 GB, free: 89.27 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001622/1.122, allocations: 167.4 kB / 0.7136 GB, free: 89.15 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.521e-05/1.122, allocations: 36 kB / 0.7136 GB, free: 89.11 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.00045/1.123, allocations: 144 kB / 0.7137 GB, free: 88.99 MB / 490.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.01219/1.135, allocations: 4.236 MB / 0.7179 GB, free: 85.64 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007766/1.136, allocations: 134.4 kB / 0.718 GB, free: 85.51 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01255/1.148, allocations: 4.345 MB / 0.7222 GB, free: 82.13 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.54e-05/1.148, allocations: 12 kB / 0.7223 GB, free: 82.12 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.968e-06/1.149, allocations: 0 / 0.7223 GB, free: 82.12 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.986e-05/1.149, allocations: 7.797 kB / 0.7223 GB, free: 82.12 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01373/1.162, allocations: 6.001 MB / 0.7281 GB, free: 77.27 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.386e-05/1.162, allocations: 0 / 0.7281 GB, free: 77.27 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007475/1.163, allocations: 123.8 kB / 0.7282 GB, free: 77.14 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004907/1.168, allocations: 1.726 MB / 0.7299 GB, free: 75.42 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002005/1.168, allocations: 3.953 kB / 0.7299 GB, free: 75.41 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01171/1.18, allocations: 6.551 MB / 0.7363 GB, free: 68.75 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.35e-06/1.18, allocations: 0 / 0.7363 GB, free: 68.75 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01273/1.193, allocations: 5.157 MB / 0.7414 GB, free: 63.58 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000448/1.193, allocations: 219.2 kB / 0.7416 GB, free: 63.35 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001705/1.193, allocations: 0 / 0.7416 GB, free: 63.35 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001076/1.194, allocations: 127.9 kB / 0.7417 GB, free: 63.22 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005883/1.195, allocations: 205 kB / 0.7419 GB, free: 63.02 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.107e-05/1.195, allocations: 23.98 kB / 0.7419 GB, free: 63 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.0007244/1.196, allocations: 0.5874 MB / 0.7425 GB, free: 62.4 MB / 490.7 MB Notification: Performance of sort global known variables: time 1.223e-06/1.196, allocations: 0 / 0.7425 GB, free: 62.4 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.002014/1.198, allocations: 0.6851 MB / 0.7432 GB, free: 61.72 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.01295/1.211, allocations: 5.738 MB / 0.7488 GB, free: 55.97 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.009213/1.22, allocations: 3.694 MB / 0.7524 GB, free: 52.27 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 5.841e-06/1.22, allocations: 0 / 0.7524 GB, free: 52.27 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003922/1.224, allocations: 1.5 MB / 0.7538 GB, free: 50.76 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00104/1.225, allocations: 100.6 kB / 0.7539 GB, free: 50.67 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003312/1.228, allocations: 1.827 MB / 0.7557 GB, free: 48.81 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005051/1.229, allocations: 1.197 MB / 0.7569 GB, free: 47.59 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.0006543/1.23, allocations: 172.4 kB / 0.757 GB, free: 47.43 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004495/1.23, allocations: 495.3 kB / 0.7575 GB, free: 46.94 MB / 490.7 MB Notification: Performance of SimCode: time 5.11e-07/1.23, allocations: 4 kB / 0.7575 GB, free: 46.94 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06639/1.297, allocations: 39.39 MB / 0.796 GB, free: 7.855 MB / 490.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000181/1.297, allocations: 140.6 kB / 0.7961 GB, free: 7.66 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.267/4.563, allocations: 0 / 0.7961 GB, free: 7.66 MB / 490.7 MB (rm -f OpenIPSL_release_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeIII_test.pipe ; mkfifo OpenIPSL_release_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeIII_test.pipe ; head -c 1048576 < OpenIPSL_release_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeIII_test.pipe >> ../files/OpenIPSL_release_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeIII_test.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_OpenIPSL_release_OpenIPSL_Tests_Controls_PSAT_TG_TGTypeIII_test_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 OpenIPSL_release_OpenIPSL_Tests_Controls_PSAT_TG_TGTypeIII_test.fmu > OpenIPSL_release_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeIII_test.pipe 2>&1)