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/Modelica_Synchronous 0.93.0-master/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/Modelica 3.2.3+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 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 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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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) Using package Modelica_Synchronous with version 0.93.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/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/Modelica_Synchronous 0.93.0-master/package.mo): time 0.1916/0.1916, allocations: 12.59 MB / 28.22 MB, free: 0.7188 MB / 19.63 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.002331/0.00233, allocations: 115.4 kB / 31.83 MB, free: 3.859 MB / 26.18 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.965/2.965, allocations: 205.1 MB / 240.4 MB, free: 12.37 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002655/0.002655, allocations: 187.5 kB / 290.7 MB, free: 13.39 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo): time 0.8486/0.8486, allocations: 78.51 MB / 419.3 MB, free: 11.22 MB / 302.1 MB Notification: Modelica_Synchronous requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: OpenIPSL requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.004843/0.004843, allocations: 139.3 kB / 0.5554 GB, free: 28.88 MB / 398.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2427/0.2476, allocations: 68.13 MB / 0.6219 GB, free: 15.91 MB / 446.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Controls.PSAT.TG.TGTypeI_test): time 0.01394/0.2616, allocations: 6.095 MB / 0.6279 GB, free: 9.789 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.007187/0.2689, allocations: 1.752 MB / 0.6296 GB, free: 8.031 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001794/0.2708, allocations: 8 kB / 0.6296 GB, free: 8.023 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001488/0.2723, allocations: 218.2 kB / 0.6298 GB, free: 7.809 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00558/0.2779, allocations: 0.6841 MB / 0.6305 GB, free: 7.121 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002697/0.2807, allocations: 0.5861 MB / 0.631 GB, free: 6.543 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.003688/0.2844, allocations: 1.339 MB / 0.6323 GB, free: 5.199 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00109/0.2855, allocations: 291.3 kB / 0.6326 GB, free: 4.902 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001922/0.2875, allocations: 0.5601 MB / 0.6332 GB, free: 4.34 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002258/0.2898, allocations: 0.6845 MB / 0.6338 GB, free: 3.652 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0008457/0.2907, allocations: 96 kB / 0.6339 GB, free: 3.559 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001651/0.2923, allocations: 235.9 kB / 0.6342 GB, free: 3.328 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000597/0.293, allocations: 258.8 kB / 0.6344 GB, free: 3.074 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001914/0.2949, allocations: 0.5825 MB / 0.635 GB, free: 2.488 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004218/0.2992, allocations: 1.449 MB / 0.6364 GB, free: 1.035 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.103e-05/0.2992, allocations: 4 kB / 0.6364 GB, free: 1.031 MB / 446.1 MB Notification: Performance of FrontEnd: time 4.058e-06/0.2992, allocations: 0 / 0.6364 GB, free: 1.031 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0001006/0.2994, allocations: 0 / 0.6364 GB, free: 1.031 MB / 446.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.01653/0.3159, allocations: 2.45 MB / 0.6388 GB, free: 14.53 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 8.606e-05/0.316, allocations: 15.98 kB / 0.6388 GB, free: 14.51 MB / 462.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000536/0.3166, allocations: 118.5 kB / 0.6389 GB, free: 14.39 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01009/0.3267, allocations: 0.7595 MB / 0.6397 GB, free: 13.62 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003113/0.3299, allocations: 0.736 MB / 0.6404 GB, free: 12.84 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005908/0.3305, allocations: 256.2 kB / 0.6406 GB, free: 12.56 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005439/0.3311, allocations: 75.94 kB / 0.6407 GB, free: 12.48 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004731/0.3359, allocations: 1.083 MB / 0.6417 GB, free: 11.39 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.191e-05/0.3359, allocations: 0 / 0.6417 GB, free: 11.39 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001852/0.3361, allocations: 24 kB / 0.6418 GB, free: 11.36 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.143e-05/0.3362, allocations: 20 kB / 0.6418 GB, free: 11.34 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004753/0.3409, allocations: 1.038 MB / 0.6428 GB, free: 10.31 MB / 462.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.01253/0.3535, allocations: 3.057 MB / 0.6458 GB, free: 7.113 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006405/0.36, allocations: 1.561 MB / 0.6473 GB, free: 5.426 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003376/0.3635, allocations: 0.7579 MB / 0.6481 GB, free: 4.664 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003088/0.3639, allocations: 9 kB / 0.6481 GB, free: 4.656 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.164e-05/0.3639, allocations: 43.56 kB / 0.6481 GB, free: 4.605 MB / 462.1 MB Notification: Performance of pre-optimization done (n=92): time 6.543e-06/0.364, allocations: 0 / 0.6481 GB, free: 4.605 MB / 462.1 MB Notification: Performance of matching and sorting (n=92): time 0.05603/0.42, allocations: 7.484 MB / 0.6554 GB, free: 13.09 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.239e-05/0.4202, allocations: 64.41 kB / 0.6555 GB, free: 13.01 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00258/0.4228, allocations: 0.832 MB / 0.6563 GB, free: 12.16 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003854/0.4232, allocations: 41.7 kB / 0.6563 GB, free: 12.11 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007328/0.4239, allocations: 456.4 kB / 0.6568 GB, free: 11.66 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0009042/0.4249, allocations: 331.2 kB / 0.6571 GB, free: 11.33 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001047/0.4259, allocations: 202.8 kB / 0.6573 GB, free: 11.12 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0002755/0.4262, allocations: 353.9 kB / 0.6576 GB, free: 10.77 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003124/0.4294, allocations: 0.6936 MB / 0.6583 GB, free: 10.08 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003261/0.4327, allocations: 0.8103 MB / 0.6591 GB, free: 9.238 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00626/0.439, allocations: 1.501 MB / 0.6605 GB, free: 7.711 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.363e-05/0.439, allocations: 0 / 0.6605 GB, free: 7.711 MB / 478.1 MB Notification: Performance of matching and sorting (n=146) (initialization): time 0.02702/0.4661, allocations: 4.351 MB / 0.6648 GB, free: 3.344 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.192e-05/0.4662, allocations: 8 kB / 0.6648 GB, free: 3.336 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.064e-05/0.4662, allocations: 0 / 0.6648 GB, free: 3.336 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0126/0.4788, allocations: 1.893 MB / 0.6666 GB, free: 1.438 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001308/0.4802, allocations: 179.7 kB / 0.6668 GB, free: 1.262 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03628/0.5165, allocations: 9.959 MB / 0.6765 GB, free: 7.152 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001929/0.5185, allocations: 159 kB / 0.6767 GB, free: 6.996 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004169/0.519, allocations: 43.98 kB / 0.6767 GB, free: 6.953 MB / 494.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.001143/0.5201, allocations: 229.6 kB / 0.677 GB, free: 6.719 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005744/0.5207, allocations: 110.6 kB / 0.6771 GB, free: 6.609 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02377/0.5445, allocations: 4.045 MB / 0.681 GB, free: 2.543 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.45e-05/0.5446, allocations: 12 kB / 0.681 GB, free: 2.531 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.494e-06/0.5447, allocations: 4 kB / 0.681 GB, free: 2.527 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.875e-05/0.5447, allocations: 3.984 kB / 0.681 GB, free: 2.523 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03274/0.5775, allocations: 5.629 MB / 0.6865 GB, free: 12.76 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.632e-05/0.5776, allocations: 0 / 0.6865 GB, free: 12.76 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001211/0.5788, allocations: 99.83 kB / 0.6866 GB, free: 12.66 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01291/0.5917, allocations: 1.835 MB / 0.6884 GB, free: 10.82 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004973/0.5923, allocations: 19.98 kB / 0.6884 GB, free: 10.8 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.04494/0.6373, allocations: 8.627 MB / 0.6969 GB, free: 2.027 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.496e-06/0.6374, allocations: 0 / 0.6969 GB, free: 2.027 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02197/0.6594, allocations: 4.967 MB / 0.7017 GB, free: 13.03 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000842/0.6603, allocations: 207.4 kB / 0.7019 GB, free: 12.81 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004685/0.6608, allocations: 16 kB / 0.7019 GB, free: 12.79 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001804/0.6626, allocations: 91.89 kB / 0.702 GB, free: 12.7 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001149/0.6638, allocations: 200.7 kB / 0.7022 GB, free: 12.51 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001506/0.6639, allocations: 27.92 kB / 0.7022 GB, free: 12.48 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.001344/0.6653, allocations: 0.5667 MB / 0.7028 GB, free: 11.9 MB / 0.5137 GB Notification: Performance of sort global known variables: time 2.21e-07/0.6653, allocations: 0 / 0.7028 GB, free: 11.9 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0026/0.6679, allocations: 431.7 kB / 0.7032 GB, free: 11.48 MB / 0.5137 GB 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.02771/0.6957, allocations: 5.541 MB / 0.7086 GB, free: 5.902 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.01177/0.7075, allocations: 2.443 MB / 0.711 GB, free: 3.445 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 8.877e-06/0.7076, allocations: 0 / 0.711 GB, free: 3.445 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.006212/0.7138, allocations: 1.582 MB / 0.7125 GB, free: 1.855 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001503/0.7154, allocations: 86.81 kB / 0.7126 GB, free: 1.773 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.5843/1.3, allocations: 15.13 MB / 0.7274 GB, free: 83.89 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008861/1.301, allocations: 1.059 MB / 0.7284 GB, free: 83.18 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.0006981/1.301, allocations: 83.64 kB / 0.7285 GB, free: 83.16 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007861/1.302, allocations: 399.6 kB / 0.7289 GB, free: 82.86 MB / 0.5137 GB Notification: Performance of SimCode: time 1.353e-06/1.302, allocations: 0 / 0.7289 GB, free: 82.86 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1193/1.422, allocations: 34.86 MB / 0.7629 GB, free: 56.52 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 29.85/31.27, allocations: 6.844 kB / 0.7629 GB, free: 56.52 MB / 0.5137 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/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)