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/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) 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/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 Modelica_Synchronous with version 0.93.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+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 Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/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/Complex 3.2.3+maint.om/package.mo): time 0.001343/0.001349, allocations: 182.1 kB / 15.98 MB, free: 5.77 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.304/1.304, allocations: 205.1 MB / 221.8 MB, free: 8.484 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001059/0.001059, allocations: 102 kB / 269.2 MB, free: 8.449 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo): time 0.06556/0.06556, allocations: 12.59 MB / 329.1 MB, free: 12.41 MB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo): time 0.2873/0.2873, allocations: 78.51 MB / 457.8 MB, free: 13.73 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001714/0.001714, allocations: 110.4 kB / 0.5255 GB, free: 19.68 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1178/0.1196, allocations: 68.12 MB / 0.592 GB, free: 15.63 MB / 394.7 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Controls.PSAT.TG.TGTypeI_test): time 0.006998/0.1266, allocations: 6.432 MB / 0.5983 GB, free: 9.16 MB / 394.7 MB Notification: Performance of NFInst.instExpressions: time 0.003735/0.1304, allocations: 1.807 MB / 0.6 GB, free: 7.344 MB / 394.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009457/0.1314, allocations: 8 kB / 0.6 GB, free: 7.336 MB / 394.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0007865/0.1322, allocations: 162.9 kB / 0.6002 GB, free: 7.176 MB / 394.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002211/0.1344, allocations: 0.6256 MB / 0.6008 GB, free: 6.547 MB / 394.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001554/0.136, allocations: 0.5454 MB / 0.6013 GB, free: 6.012 MB / 394.7 MB Notification: Performance of NFFlatten.flatten: time 0.001907/0.1379, allocations: 1.288 MB / 0.6026 GB, free: 4.719 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004832/0.1384, allocations: 256 kB / 0.6028 GB, free: 4.461 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007051/0.1391, allocations: 0.5171 MB / 0.6033 GB, free: 3.941 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006599/0.1398, allocations: 0.6649 MB / 0.604 GB, free: 3.273 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001118/0.1399, allocations: 60 kB / 0.604 GB, free: 3.215 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004516/0.1404, allocations: 195.9 kB / 0.6042 GB, free: 3.023 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001934/0.1406, allocations: 230.8 kB / 0.6044 GB, free: 2.797 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0004604/0.1411, allocations: 0.5396 MB / 0.605 GB, free: 2.254 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001292/0.1424, allocations: 1.393 MB / 0.6063 GB, free: 0.8555 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.322e-06/0.1424, allocations: 0 / 0.6063 GB, free: 0.8555 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.052e-06/0.1424, allocations: 7.938 kB / 0.6063 GB, free: 0.8477 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.003e-05/0.1424, allocations: 0 / 0.6063 GB, free: 0.8477 MB / 394.7 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.0077/0.1501, allocations: 2.438 MB / 0.6087 GB, free: 14.35 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.181e-05/0.1502, allocations: 15.98 kB / 0.6087 GB, free: 14.34 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004602/0.1548, allocations: 0.7634 MB / 0.6095 GB, free: 13.57 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001146/0.156, allocations: 0.7398 MB / 0.6102 GB, free: 12.79 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002836/0.1563, allocations: 252.2 kB / 0.6104 GB, free: 12.5 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001366/0.1564, allocations: 72 kB / 0.6105 GB, free: 12.43 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002128/0.1585, allocations: 1.094 MB / 0.6116 GB, free: 11.33 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.68e-05/0.1586, allocations: 0 / 0.6116 GB, free: 11.33 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.17e-05/0.1587, allocations: 24 kB / 0.6116 GB, free: 11.3 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.666e-05/0.1587, allocations: 20 kB / 0.6116 GB, free: 11.29 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002158/0.1609, allocations: 1.031 MB / 0.6126 GB, free: 10.25 MB / 410.7 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.005142/0.166, allocations: 3.076 MB / 0.6156 GB, free: 7.047 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002918/0.1689, allocations: 1.557 MB / 0.6172 GB, free: 5.367 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001453/0.1704, allocations: 0.7541 MB / 0.6179 GB, free: 4.613 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001111/0.1705, allocations: 16.98 kB / 0.6179 GB, free: 4.598 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.111e-05/0.1706, allocations: 43.56 kB / 0.6179 GB, free: 4.543 MB / 410.7 MB Notification: Performance of pre-optimization done (n=92): time 3.477e-06/0.1706, allocations: 0 / 0.6179 GB, free: 4.543 MB / 410.7 MB Notification: Performance of matching and sorting (n=92): time 0.03093/0.2015, allocations: 7.476 MB / 0.6252 GB, free: 13.03 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.83e-05/0.2016, allocations: 64.41 kB / 0.6253 GB, free: 12.96 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001133/0.2028, allocations: 0.8359 MB / 0.6261 GB, free: 12.1 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002399/0.203, allocations: 41.7 kB / 0.6262 GB, free: 12.05 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003306/0.2033, allocations: 452.5 kB / 0.6266 GB, free: 11.6 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003515/0.2037, allocations: 331.3 kB / 0.6269 GB, free: 11.27 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003833/0.2041, allocations: 202.8 kB / 0.6271 GB, free: 11.07 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001552/0.2043, allocations: 353.9 kB / 0.6274 GB, free: 10.72 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001511/0.2058, allocations: 0.6936 MB / 0.6281 GB, free: 10.02 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001652/0.2074, allocations: 0.8141 MB / 0.6289 GB, free: 9.184 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003075/0.2105, allocations: 1.509 MB / 0.6304 GB, free: 7.648 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.191e-06/0.2105, allocations: 0 / 0.6304 GB, free: 7.648 MB / 426.7 MB Notification: Performance of matching and sorting (n=146) (initialization): time 0.01489/0.2254, allocations: 4.351 MB / 0.6346 GB, free: 3.281 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.515e-05/0.2255, allocations: 10.91 kB / 0.6346 GB, free: 3.273 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.824e-05/0.2255, allocations: 4 kB / 0.6347 GB, free: 3.27 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.007091/0.2326, allocations: 1.889 MB / 0.6365 GB, free: 1.375 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009319/0.2336, allocations: 179.7 kB / 0.6367 GB, free: 1.199 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2475/0.4811, allocations: 9.172 MB / 0.6456 GB, free: 46.22 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001529/0.4827, allocations: 163.4 kB / 0.6458 GB, free: 46.2 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001202/0.4828, allocations: 38.53 kB / 0.6458 GB, free: 46.2 MB / 426.7 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.0004176/0.4833, allocations: 234.2 kB / 0.646 GB, free: 46.02 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001713/0.4834, allocations: 106.3 kB / 0.6461 GB, free: 45.97 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01459/0.498, allocations: 4.059 MB / 0.6501 GB, free: 45.14 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.153e-05/0.4981, allocations: 9.781 kB / 0.6501 GB, free: 45.14 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.759e-06/0.4982, allocations: 0 / 0.6501 GB, free: 45.14 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.981e-05/0.4982, allocations: 4.734 kB / 0.6501 GB, free: 45.14 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01538/0.5136, allocations: 5.633 MB / 0.6556 GB, free: 43.23 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.776e-05/0.5137, allocations: 1.125 kB / 0.6556 GB, free: 43.23 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006732/0.5143, allocations: 89.86 kB / 0.6557 GB, free: 43.22 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.006223/0.5206, allocations: 1.846 MB / 0.6575 GB, free: 42.89 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001718/0.5208, allocations: 15.34 kB / 0.6575 GB, free: 42.88 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01696/0.5377, allocations: 7.86 MB / 0.6652 GB, free: 38.49 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.984e-06/0.5378, allocations: 3.938 kB / 0.6652 GB, free: 38.49 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.08714/0.6249, allocations: 32.81 MB / 0.6972 GB, free: 7.883 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002007/0.6252, allocations: 195.6 kB / 0.6974 GB, free: 7.672 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001218/0.6253, allocations: 16 kB / 0.6974 GB, free: 7.656 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009903/0.6263, allocations: 95.89 kB / 0.6975 GB, free: 7.562 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000596/0.6269, allocations: 200.6 kB / 0.6977 GB, free: 7.367 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.577e-05/0.627, allocations: 23.98 kB / 0.6978 GB, free: 7.344 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0005481/0.6275, allocations: 0.5628 MB / 0.6983 GB, free: 6.77 MB / 426.7 MB Notification: Performance of sort global known variables: time 2e-07/0.6275, allocations: 0 / 0.6983 GB, free: 6.77 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.001554/0.6291, allocations: 0.6012 MB / 0.6989 GB, free: 6.168 MB / 426.7 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.000249/0.6294, allocations: 138.2 kB / 0.699 GB, free: 6.031 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.006121/0.6355, allocations: 2.396 MB / 0.7014 GB, free: 3.621 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 2.856e-06/0.6355, allocations: 4 kB / 0.7014 GB, free: 3.617 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.004319/0.6398, allocations: 1.543 MB / 0.7029 GB, free: 2.062 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000733/0.6406, allocations: 87.36 kB / 0.703 GB, free: 1.977 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007299/0.6479, allocations: 3.685 MB / 0.7066 GB, free: 14.25 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00069/0.6486, allocations: 1.103 MB / 0.7076 GB, free: 13.12 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.0004225/0.6491, allocations: 82.78 kB / 0.7077 GB, free: 13.04 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002141/0.6493, allocations: 59.42 kB / 0.7078 GB, free: 12.98 MB / 442.7 MB Notification: Performance of SimCode: time 6.51e-07/0.6493, allocations: 4 kB / 0.7078 GB, free: 12.97 MB / 442.7 MB Notification: Performance of Templates: time 0.04654/0.6958, allocations: 32.1 MB / 0.7391 GB, free: 12.88 MB / 474.7 MB 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)