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.1154/0.1154, allocations: 12.6 MB / 28.9 MB, free: 0.6406 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.001622/0.001622, allocations: 123.4 kB / 32.51 MB, free: 3.574 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.425/1.425, allocations: 205.1 MB / 241.1 MB, free: 12.36 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.001527/0.001527, allocations: 188.5 kB / 291.4 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.4578/0.4578, allocations: 78.52 MB / 420 MB, free: 11.26 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.00438/0.00438, allocations: 135.9 kB / 0.5565 GB, free: 28.61 MB / 398.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1112/0.1156, allocations: 68.12 MB / 0.6231 GB, free: 15.45 MB / 446.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Controls.PSAT.TG.TGTypeI_test): time 0.007647/0.1233, allocations: 6.116 MB / 0.629 GB, free: 9.297 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.003777/0.127, allocations: 1.755 MB / 0.6307 GB, free: 7.535 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005333/0.1276, allocations: 12 kB / 0.6308 GB, free: 7.523 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005183/0.1281, allocations: 206.2 kB / 0.631 GB, free: 7.32 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001827/0.1299, allocations: 0.7542 MB / 0.6317 GB, free: 6.57 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001403/0.1313, allocations: 0.5878 MB / 0.6323 GB, free: 5.988 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.001802/0.1331, allocations: 1.339 MB / 0.6336 GB, free: 4.645 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004174/0.1335, allocations: 195.4 kB / 0.6338 GB, free: 4.441 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008501/0.1344, allocations: 0.5601 MB / 0.6343 GB, free: 3.879 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008988/0.1353, allocations: 0.6884 MB / 0.635 GB, free: 3.188 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001682/0.1355, allocations: 96 kB / 0.6351 GB, free: 3.094 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000488/0.1359, allocations: 227.9 kB / 0.6353 GB, free: 2.871 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002566/0.1362, allocations: 274.8 kB / 0.6355 GB, free: 2.602 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000566/0.1368, allocations: 0.5747 MB / 0.6361 GB, free: 2.023 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00174/0.1385, allocations: 1.447 MB / 0.6375 GB, free: 0.5703 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.784e-06/0.1385, allocations: 7.984 kB / 0.6375 GB, free: 0.5625 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.303e-06/0.1385, allocations: 0 / 0.6375 GB, free: 0.5625 MB / 446.1 MB Notification: Performance of Transformations before backend: time 1.591e-05/0.1385, allocations: 0 / 0.6375 GB, free: 0.5625 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.008713/0.1472, allocations: 2.484 MB / 0.64 GB, free: 14.02 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.877e-05/0.1473, allocations: 15.92 kB / 0.64 GB, free: 14.01 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005422/0.1527, allocations: 0.7719 MB / 0.6407 GB, free: 13.23 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001373/0.1541, allocations: 0.7486 MB / 0.6415 GB, free: 12.44 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003169/0.1544, allocations: 248.2 kB / 0.6417 GB, free: 12.16 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001758/0.1546, allocations: 71.95 kB / 0.6418 GB, free: 12.09 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002452/0.157, allocations: 1.09 MB / 0.6428 GB, free: 10.99 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.711e-05/0.157, allocations: 0 / 0.6428 GB, free: 10.99 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001034/0.1572, allocations: 36 kB / 0.6429 GB, free: 10.95 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.748e-05/0.1572, allocations: 16 kB / 0.6429 GB, free: 10.94 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002461/0.1596, allocations: 1.031 MB / 0.6439 GB, free: 9.91 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.005731/0.1654, allocations: 3.053 MB / 0.6469 GB, free: 6.719 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003307/0.1687, allocations: 1.483 MB / 0.6483 GB, free: 5.109 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001594/0.1703, allocations: 0.672 MB / 0.649 GB, free: 4.434 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.506e-05/0.1704, allocations: 16.92 kB / 0.649 GB, free: 4.418 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.524e-05/0.1704, allocations: 43.56 kB / 0.649 GB, free: 4.367 MB / 462.1 MB Notification: Performance of pre-optimization done (n=92): time 2.855e-06/0.1704, allocations: 4 kB / 0.649 GB, free: 4.363 MB / 462.1 MB Notification: Performance of matching and sorting (n=92): time 0.03292/0.2033, allocations: 7.438 MB / 0.6563 GB, free: 12.89 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.633e-05/0.2034, allocations: 68.34 kB / 0.6564 GB, free: 12.81 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00123/0.2046, allocations: 0.8398 MB / 0.6572 GB, free: 11.95 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001807/0.2048, allocations: 41.7 kB / 0.6572 GB, free: 11.9 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004052/0.2052, allocations: 457.1 kB / 0.6577 GB, free: 11.45 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000377/0.2056, allocations: 353 kB / 0.658 GB, free: 11.1 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004147/0.206, allocations: 198.9 kB / 0.6582 GB, free: 10.9 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001696/0.2061, allocations: 357.8 kB / 0.6585 GB, free: 10.54 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001682/0.2078, allocations: 0.6935 MB / 0.6592 GB, free: 9.852 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001756/0.2096, allocations: 0.8181 MB / 0.66 GB, free: 9.004 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003399/0.213, allocations: 1.493 MB / 0.6615 GB, free: 7.484 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.823e-06/0.213, allocations: 4 kB / 0.6615 GB, free: 7.48 MB / 478.1 MB Notification: Performance of matching and sorting (n=146) (initialization): time 0.01582/0.2288, allocations: 4.316 MB / 0.6657 GB, free: 3.148 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.731e-05/0.2288, allocations: 8 kB / 0.6657 GB, free: 3.141 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.38e-05/0.2289, allocations: 4 kB / 0.6657 GB, free: 3.137 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.007444/0.2363, allocations: 1.901 MB / 0.6675 GB, free: 1.23 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009624/0.2373, allocations: 171.7 kB / 0.6677 GB, free: 1.062 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02618/0.2634, allocations: 9.971 MB / 0.6774 GB, free: 6.941 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001515/0.265, allocations: 155.2 kB / 0.6776 GB, free: 6.789 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000105/0.2651, allocations: 40 kB / 0.6776 GB, free: 6.75 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.0004519/0.2655, allocations: 225.7 kB / 0.6778 GB, free: 6.52 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000229/0.2657, allocations: 119.2 kB / 0.678 GB, free: 6.402 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01497/0.2807, allocations: 4.014 MB / 0.6819 GB, free: 2.367 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.446e-05/0.2807, allocations: 8 kB / 0.6819 GB, free: 2.359 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.835e-06/0.2807, allocations: 0 / 0.6819 GB, free: 2.359 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.772e-05/0.2807, allocations: 7.969 kB / 0.6819 GB, free: 2.352 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01726/0.298, allocations: 5.594 MB / 0.6874 GB, free: 12.62 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.194e-05/0.298, allocations: 3.984 kB / 0.6874 GB, free: 12.62 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006132/0.2986, allocations: 95.83 kB / 0.6875 GB, free: 12.52 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.006952/0.3056, allocations: 1.831 MB / 0.6892 GB, free: 10.69 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001302/0.3057, allocations: 20 kB / 0.6893 GB, free: 10.67 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02281/0.3285, allocations: 8.648 MB / 0.6977 GB, free: 1.875 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.713e-06/0.3285, allocations: 0 / 0.6977 GB, free: 1.875 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01696/0.3455, allocations: 4.929 MB / 0.7025 GB, free: 12.92 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003647/0.3459, allocations: 208.1 kB / 0.7027 GB, free: 12.7 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001591/0.346, allocations: 16.12 kB / 0.7027 GB, free: 12.68 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001071/0.3471, allocations: 99.89 kB / 0.7028 GB, free: 12.59 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006399/0.3477, allocations: 196.7 kB / 0.703 GB, free: 12.39 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.753e-05/0.3478, allocations: 24 kB / 0.703 GB, free: 12.37 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.0008035/0.3486, allocations: 0.5745 MB / 0.7036 GB, free: 11.79 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.11e-07/0.3486, allocations: 3.938 kB / 0.7036 GB, free: 11.78 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.001237/0.3498, allocations: 435.7 kB / 0.704 GB, free: 11.36 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.0002743/0.3501, allocations: 131.1 kB / 0.7041 GB, free: 11.21 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.007179/0.3573, allocations: 2.333 MB / 0.7064 GB, free: 8.871 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 2.455e-06/0.3573, allocations: 4 kB / 0.7064 GB, free: 8.867 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.005133/0.3624, allocations: 1.503 MB / 0.7079 GB, free: 7.355 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006887/0.3631, allocations: 83.38 kB / 0.708 GB, free: 7.273 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003623/0.3667, allocations: 2 MB / 0.7099 GB, free: 5.238 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007071/0.3674, allocations: 1.053 MB / 0.711 GB, free: 4.16 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.0003088/0.3678, allocations: 86.75 kB / 0.711 GB, free: 4.07 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002144/0.368, allocations: 63.42 kB / 0.7111 GB, free: 4.008 MB / 0.5137 GB Notification: Performance of SimCode: time 7.22e-07/0.368, allocations: 0 / 0.7111 GB, free: 4.008 MB / 0.5137 GB Notification: Performance of Templates: time 0.2635/0.6314, allocations: 24.53 MB / 0.7351 GB, free: 80.1 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 -s gbode -lv LOG_STATS > OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeI_test.pipe 2>&1)