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: translateModel(OpenIPSL.Tests.Controls.PSAT.TG.TGTypeI_test,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeI_test") translateModel(OpenIPSL.Tests.Controls.PSAT.TG.TGTypeI_test,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeI_test") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo): time 0.1/0.1, allocations: 12.59 MB / 28.22 MB, free: 0.7383 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.001182/0.001182, allocations: 111.4 kB / 31.84 MB, free: 3.887 MB / 26.18 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.405/1.405, allocations: 205.1 MB / 240.4 MB, free: 12.38 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.001202/0.001202, allocations: 188.5 kB / 290.7 MB, free: 13.4 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo): time 0.4516/0.4516, allocations: 78.52 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.002594/0.002594, allocations: 139.1 kB / 0.5559 GB, free: 28.67 MB / 398.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1281/0.1307, allocations: 68.13 MB / 0.6224 GB, free: 15.54 MB / 446.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Controls.PSAT.TG.TGTypeI_test): time 0.006755/0.1375, allocations: 6.089 MB / 0.6283 GB, free: 9.414 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.003252/0.1407, allocations: 1.748 MB / 0.63 GB, free: 7.66 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003687/0.1411, allocations: 11.94 kB / 0.6301 GB, free: 7.648 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004474/0.1416, allocations: 214.2 kB / 0.6303 GB, free: 7.438 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001475/0.1431, allocations: 0.6972 MB / 0.6309 GB, free: 6.738 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001149/0.1443, allocations: 0.5855 MB / 0.6315 GB, free: 6.16 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.001187/0.1455, allocations: 1.335 MB / 0.6328 GB, free: 4.82 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003792/0.1458, allocations: 283.3 kB / 0.6331 GB, free: 4.531 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005909/0.1464, allocations: 0.5524 MB / 0.6336 GB, free: 3.977 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006991/0.1472, allocations: 0.696 MB / 0.6343 GB, free: 3.277 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001377/0.1473, allocations: 100 kB / 0.6344 GB, free: 3.18 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004213/0.1477, allocations: 231.9 kB / 0.6346 GB, free: 2.953 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002014/0.1479, allocations: 266.8 kB / 0.6349 GB, free: 2.691 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004576/0.1484, allocations: 0.5825 MB / 0.6354 GB, free: 2.105 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001373/0.1498, allocations: 1.447 MB / 0.6369 GB, free: 0.6523 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.988e-06/0.1498, allocations: 0 / 0.6369 GB, free: 0.6523 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.423e-06/0.1498, allocations: 0 / 0.6369 GB, free: 0.6523 MB / 446.1 MB Notification: Performance of Transformations before backend: time 1.525e-05/0.1498, allocations: 0 / 0.6369 GB, free: 0.6523 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.007607/0.1574, allocations: 2.492 MB / 0.6393 GB, free: 14.11 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.974e-05/0.1575, allocations: 11.98 kB / 0.6393 GB, free: 14.09 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004978/0.1625, allocations: 0.7719 MB / 0.6401 GB, free: 13.32 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001233/0.1637, allocations: 0.7485 MB / 0.6408 GB, free: 12.53 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002982/0.164, allocations: 252.2 kB / 0.641 GB, free: 12.25 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001459/0.1642, allocations: 79.89 kB / 0.6411 GB, free: 12.17 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002267/0.1665, allocations: 1.079 MB / 0.6422 GB, free: 11.07 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.129e-05/0.1665, allocations: 0 / 0.6422 GB, free: 11.07 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.736e-05/0.1666, allocations: 36 kB / 0.6422 GB, free: 11.04 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.016e-05/0.1666, allocations: 19.94 kB / 0.6422 GB, free: 11.02 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002359/0.169, allocations: 1.035 MB / 0.6432 GB, free: 9.988 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.005337/0.1744, allocations: 3.057 MB / 0.6462 GB, free: 6.793 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00296/0.1773, allocations: 1.568 MB / 0.6477 GB, free: 5.102 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001543/0.1789, allocations: 0.7501 MB / 0.6485 GB, free: 4.348 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001219/0.179, allocations: 16.98 kB / 0.6485 GB, free: 4.332 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.592e-05/0.1791, allocations: 43.56 kB / 0.6485 GB, free: 4.281 MB / 462.1 MB Notification: Performance of pre-optimization done (n=92): time 3.446e-06/0.1791, allocations: 4 kB / 0.6485 GB, free: 4.277 MB / 462.1 MB Notification: Performance of matching and sorting (n=92): time 0.02975/0.2088, allocations: 7.48 MB / 0.6558 GB, free: 12.76 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.544e-05/0.2089, allocations: 60.41 kB / 0.6559 GB, free: 12.69 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001195/0.2101, allocations: 0.8359 MB / 0.6567 GB, free: 11.83 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001838/0.2103, allocations: 41.7 kB / 0.6568 GB, free: 11.79 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003285/0.2107, allocations: 457.1 kB / 0.6572 GB, free: 11.33 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003878/0.2111, allocations: 357 kB / 0.6575 GB, free: 10.98 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004802/0.2115, allocations: 198.9 kB / 0.6577 GB, free: 10.78 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001305/0.2117, allocations: 353.9 kB / 0.6581 GB, free: 10.43 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00152/0.2132, allocations: 0.6897 MB / 0.6587 GB, free: 9.738 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001655/0.2149, allocations: 0.8219 MB / 0.6595 GB, free: 8.887 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003091/0.218, allocations: 1.497 MB / 0.661 GB, free: 7.363 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.091e-06/0.218, allocations: 3.938 kB / 0.661 GB, free: 7.359 MB / 478.1 MB Notification: Performance of matching and sorting (n=146) (initialization): time 0.01416/0.2322, allocations: 4.355 MB / 0.6653 GB, free: 2.988 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.955e-05/0.2322, allocations: 8 kB / 0.6653 GB, free: 2.98 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.328e-05/0.2323, allocations: 4 kB / 0.6653 GB, free: 2.977 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006595/0.2389, allocations: 1.893 MB / 0.6671 GB, free: 1.078 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009141/0.2398, allocations: 179.7 kB / 0.6673 GB, free: 0.9023 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02359/0.2634, allocations: 9.959 MB / 0.677 GB, free: 6.793 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001621/0.2651, allocations: 163.2 kB / 0.6772 GB, free: 6.633 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001089/0.2652, allocations: 39.98 kB / 0.6772 GB, free: 6.594 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.000455/0.2656, allocations: 229.7 kB / 0.6774 GB, free: 6.359 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001911/0.2658, allocations: 119.2 kB / 0.6775 GB, free: 6.242 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01319/0.279, allocations: 4.053 MB / 0.6815 GB, free: 2.168 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.677e-05/0.2791, allocations: 8 kB / 0.6815 GB, free: 2.16 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.497e-06/0.2791, allocations: 0 / 0.6815 GB, free: 2.16 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.329e-05/0.2791, allocations: 7.969 kB / 0.6815 GB, free: 2.152 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01523/0.2944, allocations: 5.633 MB / 0.687 GB, free: 12.38 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.525e-05/0.2944, allocations: 0 / 0.687 GB, free: 12.38 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005914/0.295, allocations: 91.89 kB / 0.6871 GB, free: 12.29 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.006011/0.3011, allocations: 1.843 MB / 0.6889 GB, free: 10.45 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001272/0.3012, allocations: 16 kB / 0.6889 GB, free: 10.43 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01988/0.3211, allocations: 8.64 MB / 0.6974 GB, free: 1.645 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.876e-06/0.3211, allocations: 0 / 0.6974 GB, free: 1.645 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01554/0.3367, allocations: 4.972 MB / 0.7022 GB, free: 12.64 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005062/0.3372, allocations: 204.1 kB / 0.7024 GB, free: 12.43 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002299/0.3375, allocations: 16 kB / 0.7024 GB, free: 12.41 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001007/0.3385, allocations: 95.89 kB / 0.7025 GB, free: 12.32 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000703/0.3392, allocations: 200.7 kB / 0.7027 GB, free: 12.12 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.854e-05/0.3393, allocations: 27.98 kB / 0.7027 GB, free: 12.09 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.0007577/0.3401, allocations: 0.5706 MB / 0.7033 GB, free: 11.51 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.323e-06/0.3401, allocations: 0 / 0.7033 GB, free: 11.51 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.001307/0.3414, allocations: 447.5 kB / 0.7037 GB, free: 11.07 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.0002723/0.3417, allocations: 127.1 kB / 0.7038 GB, free: 10.94 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.006694/0.3484, allocations: 2.447 MB / 0.7062 GB, free: 8.477 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 3.617e-06/0.3484, allocations: 0 / 0.7062 GB, free: 8.477 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.004684/0.3531, allocations: 1.585 MB / 0.7078 GB, free: 6.883 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007968/0.3539, allocations: 87.36 kB / 0.7079 GB, free: 6.797 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00359/0.3575, allocations: 2 MB / 0.7098 GB, free: 4.77 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006591/0.3582, allocations: 1.061 MB / 0.7108 GB, free: 3.684 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.0003274/0.3585, allocations: 82.77 kB / 0.7109 GB, free: 3.598 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000203/0.3587, allocations: 63.42 kB / 0.711 GB, free: 3.535 MB / 0.5137 GB Notification: Performance of SimCode: time 9.02e-07/0.3587, allocations: 0 / 0.711 GB, free: 3.535 MB / 0.5137 GB Notification: Performance of Templates: time 0.3042/0.663, allocations: 24.38 MB / 0.7348 GB, free: 80.58 MB / 0.5137 GB make -j1 -f OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeI_test.makefile (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 & ./OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeI_test -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeI_test.pipe 2>&1)