Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_dev_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeI_test.conf.json 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/Modelica 4.0.0+maint.om/package.mo", uses=false) 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/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 Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(OpenIPSL.Tests.Controls.PSAT.TG.TGTypeI_test,fileNamePrefix="OpenIPSL_dev_OpenIPSL_Tests_Controls_PSAT_TG_TGTypeI_test",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.Controls.PSAT.TG.TGTypeI_test,fileNamePrefix="OpenIPSL_dev_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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001643/0.001643, allocations: 115.3 kB / 15.34 MB, free: 0.5156 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.356/1.356, allocations: 222.9 MB / 239 MB, free: 4.727 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001229/0.001229, allocations: 188.5 kB / 289.3 MB, free: 2.469 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.4915/0.4915, allocations: 91.89 MB / 431.3 MB, free: 9.414 MB / 302.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002754/0.002754, allocations: 75.88 kB / 0.5015 GB, free: 7.969 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3475/0.3503, allocations: 71.26 MB / 0.5711 GB, free: 36.52 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Controls.PSAT.TG.TGTypeI_test): time 0.00499/0.3553, allocations: 6.393 MB / 0.5773 GB, free: 32.8 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.002453/0.3578, allocations: 1.829 MB / 0.5791 GB, free: 31.68 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003329/0.3581, allocations: 11.44 kB / 0.5791 GB, free: 31.68 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003827/0.3585, allocations: 171.1 kB / 0.5793 GB, free: 31.61 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001221/0.3597, allocations: 0.615 MB / 0.5799 GB, free: 31.21 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000889/0.3606, allocations: 0.5401 MB / 0.5804 GB, free: 30.93 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.000883/0.3615, allocations: 1.332 MB / 0.5817 GB, free: 30.25 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000334/0.3619, allocations: 292.5 kB / 0.582 GB, free: 30.13 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004556/0.3623, allocations: 0.561 MB / 0.5826 GB, free: 29.85 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005132/0.3629, allocations: 0.6907 MB / 0.5832 GB, free: 29.51 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000113/0.363, allocations: 103.2 kB / 0.5833 GB, free: 29.5 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000337/0.3633, allocations: 233.1 kB / 0.5836 GB, free: 29.46 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001406/0.3635, allocations: 262.4 kB / 0.5838 GB, free: 29.29 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003199/0.3638, allocations: 0.5807 MB / 0.5844 GB, free: 28.9 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009242/0.3647, allocations: 1.434 MB / 0.5858 GB, free: 28.24 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.248e-06/0.3647, allocations: 3.938 kB / 0.5858 GB, free: 28.23 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.402e-06/0.3647, allocations: 0 / 0.5858 GB, free: 28.23 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.43e-05/0.3648, allocations: 0 / 0.5858 GB, free: 28.23 MB / 430.1 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.007179/0.372, allocations: 2.443 MB / 0.5882 GB, free: 27.13 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.078e-05/0.372, allocations: 9.906 kB / 0.5882 GB, free: 27.13 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000133/0.3721, allocations: 119.2 kB / 0.5883 GB, free: 27.04 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004813/0.377, allocations: 0.7671 MB / 0.589 GB, free: 26.89 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009084/0.3779, allocations: 0.7408 MB / 0.5898 GB, free: 26.37 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002321/0.3781, allocations: 244.7 kB / 0.59 GB, free: 26.15 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001483/0.3783, allocations: 79.88 kB / 0.5901 GB, free: 26.12 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002066/0.3804, allocations: 1.087 MB / 0.5911 GB, free: 25.71 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.945e-05/0.3804, allocations: 0 / 0.5911 GB, free: 25.71 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.791e-05/0.3805, allocations: 25.62 kB / 0.5911 GB, free: 25.69 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.043e-05/0.3805, allocations: 17.06 kB / 0.5912 GB, free: 25.69 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002037/0.3825, allocations: 1.031 MB / 0.5922 GB, free: 25.35 MB / 430.1 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004419/0.387, allocations: 3.075 MB / 0.5952 GB, free: 23.58 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002737/0.3897, allocations: 1.559 MB / 0.5967 GB, free: 22.63 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001372/0.3911, allocations: 0.7534 MB / 0.5974 GB, free: 22.34 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001133/0.3912, allocations: 22.86 kB / 0.5975 GB, free: 22.33 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.9e-05/0.3913, allocations: 42.97 kB / 0.5975 GB, free: 22.28 MB / 430.1 MB Notification: Performance of pre-optimization done (n=92): time 2.003e-06/0.3913, allocations: 0 / 0.5975 GB, free: 22.28 MB / 430.1 MB Notification: Performance of matching and sorting (n=92): time 0.03001/0.4213, allocations: 7.47 MB / 0.6048 GB, free: 20.98 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.41e-05/0.4214, allocations: 61.66 kB / 0.6049 GB, free: 20.92 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001091/0.4225, allocations: 0.8449 MB / 0.6057 GB, free: 20.55 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001003/0.4226, allocations: 45.36 kB / 0.6057 GB, free: 20.5 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002453/0.4228, allocations: 448.4 kB / 0.6061 GB, free: 20.15 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002783/0.4231, allocations: 334.1 kB / 0.6065 GB, free: 19.89 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003874/0.4235, allocations: 198.5 kB / 0.6067 GB, free: 19.79 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 7.361e-05/0.4236, allocations: 353.4 kB / 0.607 GB, free: 19.46 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001427/0.425, allocations: 0.6937 MB / 0.6077 GB, free: 19.21 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001525/0.4265, allocations: 0.8158 MB / 0.6085 GB, free: 18.86 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002833/0.4294, allocations: 1.498 MB / 0.6099 GB, free: 18.16 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.438e-06/0.4294, allocations: 5.344 kB / 0.6099 GB, free: 18.16 MB / 430.1 MB Notification: Performance of matching and sorting (n=146) (initialization): time 0.01397/0.4434, allocations: 4.356 MB / 0.6142 GB, free: 16.81 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.988e-05/0.4434, allocations: 6.531 kB / 0.6142 GB, free: 16.81 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.24e-05/0.4434, allocations: 1.5 kB / 0.6142 GB, free: 16.81 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006347/0.4498, allocations: 1.896 MB / 0.616 GB, free: 16 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009298/0.4507, allocations: 179.8 kB / 0.6162 GB, free: 15.96 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01972/0.4705, allocations: 9.974 MB / 0.626 GB, free: 6.004 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001392/0.4719, allocations: 159 kB / 0.6261 GB, free: 5.848 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.289e-05/0.472, allocations: 43.98 kB / 0.6262 GB, free: 5.805 MB / 430.1 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 (106): * Single equations (assignments): 105 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(25,16)} Notification: Performance of prepare postOptimizeDAE: time 0.0003663/0.4724, allocations: 221.7 kB / 0.6264 GB, free: 5.578 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000163/0.4725, allocations: 106.7 kB / 0.6265 GB, free: 5.473 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01178/0.4843, allocations: 4.061 MB / 0.6304 GB, free: 1.398 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.372e-06/0.4843, allocations: 8 kB / 0.6304 GB, free: 1.391 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.826e-06/0.4843, allocations: 4 kB / 0.6304 GB, free: 1.387 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.117e-06/0.4844, allocations: 3.984 kB / 0.6304 GB, free: 1.383 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01415/0.4985, allocations: 5.64 MB / 0.636 GB, free: 11.6 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.389e-06/0.4985, allocations: 0 / 0.636 GB, free: 11.6 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005233/0.4991, allocations: 91.83 kB / 0.636 GB, free: 11.51 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005978/0.505, allocations: 1.839 MB / 0.6378 GB, free: 9.668 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.364e-05/0.5051, allocations: 19.98 kB / 0.6379 GB, free: 9.648 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01975/0.5249, allocations: 8.65 MB / 0.6463 GB, free: 0.8516 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.194e-06/0.5249, allocations: 0 / 0.6463 GB, free: 0.8516 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01526/0.5402, allocations: 4.958 MB / 0.6511 GB, free: 11.87 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003868/0.5406, allocations: 199.6 kB / 0.6513 GB, free: 11.66 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002364/0.5409, allocations: 16 kB / 0.6513 GB, free: 11.64 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001084/0.542, allocations: 91.89 kB / 0.6514 GB, free: 11.55 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005887/0.5426, allocations: 196.7 kB / 0.6516 GB, free: 11.36 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.217e-05/0.5427, allocations: 28 kB / 0.6517 GB, free: 11.33 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0007324/0.5434, allocations: 0.5667 MB / 0.6522 GB, free: 10.75 MB / 462.1 MB Notification: Performance of sort global known variables: time 2.305e-06/0.5434, allocations: 0 / 0.6522 GB, free: 10.75 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.001259/0.5447, allocations: 451.4 kB / 0.6526 GB, free: 10.31 MB / 462.1 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 (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(26,14)} Notification: Performance of Backend phase and start with SimCode phase: time 0.01568/0.5604, allocations: 5.526 MB / 0.658 GB, free: 4.746 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.006875/0.5673, allocations: 2.471 MB / 0.6604 GB, free: 2.262 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 3.066e-06/0.5673, allocations: 0.5 kB / 0.6604 GB, free: 2.262 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004582/0.5719, allocations: 1.576 MB / 0.662 GB, free: 0.6758 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007562/0.5726, allocations: 83.42 kB / 0.6621 GB, free: 0.5898 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03877/0.6114, allocations: 16.02 MB / 0.6777 GB, free: 212 kB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006167/0.6121, allocations: 1.053 MB / 0.6787 GB, free: 15.13 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.0003497/0.6124, allocations: 82.78 kB / 0.6788 GB, free: 15.04 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000483/0.6129, allocations: 395.3 kB / 0.6792 GB, free: 14.66 MB / 494.1 MB Notification: Performance of SimCode: time 5.91e-07/0.6129, allocations: 4 kB / 0.6792 GB, free: 14.65 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05443/0.6674, allocations: 31.9 MB / 0.7104 GB, free: 14.91 MB / 0.5137 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001989/0.6676, allocations: 230.5 kB / 0.7106 GB, free: 14.65 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.566/3.233, allocations: 0 / 0.7106 GB, free: 14.65 MB / 0.5137 GB (rm -f OpenIPSL_dev_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeI_test.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeI_test.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeI_test.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeI_test.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_OpenIPSL_dev_OpenIPSL_Tests_Controls_PSAT_TG_TGTypeI_test_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 OpenIPSL_dev_OpenIPSL_Tests_Controls_PSAT_TG_TGTypeI_test.fmu > OpenIPSL_dev_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeI_test.pipe 2>&1)