Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_release_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeI_test.conf.json 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/Modelica 4.0.0+maint.om/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/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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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 Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: translateModel(OpenIPSL.Tests.Controls.PSAT.TG.TGTypeI_test,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_release_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_release_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeI_test") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009011/0.000901, allocations: 174.6 kB / 15.77 MB, free: 6.324 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.441/1.441, allocations: 223.2 MB / 239.8 MB, free: 12 kB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009996/0.0009996, allocations: 97.84 kB / 290.9 MB, free: 4.559 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.5099/0.5099, allocations: 78.63 MB / 420.7 MB, free: 36.56 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003898/0.0003899, allocations: 8 kB / 0.4888 GB, free: 7.23 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1452/0.1456, allocations: 69.36 MB / 0.5565 GB, free: 1.801 MB / 426.7 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Controls.PSAT.TG.TGTypeI_test): time 0.00577/0.1515, allocations: 5.555 MB / 0.562 GB, free: 12.22 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.00393/0.1554, allocations: 1.744 MB / 0.5637 GB, free: 10.47 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001066/0.1565, allocations: 11.94 kB / 0.5637 GB, free: 10.46 MB / 442.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000535/0.1571, allocations: 150.9 kB / 0.5638 GB, free: 10.31 MB / 442.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001836/0.1589, allocations: 0.5782 MB / 0.5644 GB, free: 9.73 MB / 442.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001277/0.1602, allocations: 0.4937 MB / 0.5649 GB, free: 9.242 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 0.001443/0.1617, allocations: 1.202 MB / 0.566 GB, free: 8.035 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003901/0.1621, allocations: 231.8 kB / 0.5663 GB, free: 7.797 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006229/0.1627, allocations: 489.8 kB / 0.5667 GB, free: 7.316 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006896/0.1634, allocations: 0.6067 MB / 0.5673 GB, free: 6.707 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001226/0.1635, allocations: 59.88 kB / 0.5674 GB, free: 6.648 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004422/0.164, allocations: 175.9 kB / 0.5675 GB, free: 6.477 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001705/0.1641, allocations: 203 kB / 0.5677 GB, free: 6.277 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001892/0.1643, allocations: 209.1 kB / 0.5679 GB, free: 6.066 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001006/0.1654, allocations: 1.056 MB / 0.569 GB, free: 5.008 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 8.476e-06/0.1654, allocations: 0 / 0.569 GB, free: 5.008 MB / 442.7 MB Notification: Performance of FrontEnd: time 1.523e-06/0.1654, allocations: 7.938 kB / 0.569 GB, free: 5 MB / 442.7 MB Notification: Performance of Transformations before backend: time 1.4e-05/0.1654, allocations: 0 / 0.569 GB, free: 5 MB / 442.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.007742/0.1732, allocations: 2.299 MB / 0.5712 GB, free: 2.648 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 7.557e-05/0.1732, allocations: 12.03 kB / 0.5712 GB, free: 2.637 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004986/0.1782, allocations: 0.775 MB / 0.572 GB, free: 1.859 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001349/0.1796, allocations: 0.7056 MB / 0.5727 GB, free: 1.109 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003363/0.18, allocations: 260.2 kB / 0.5729 GB, free: 0.8203 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000147/0.1801, allocations: 76 kB / 0.573 GB, free: 0.7461 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.2897/0.4698, allocations: 1.144 MB / 0.5741 GB, free: 44.14 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.233e-05/0.4699, allocations: 2.844 kB / 0.5741 GB, free: 44.14 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.587e-05/0.47, allocations: 27.06 kB / 0.5741 GB, free: 44.14 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.312e-05/0.47, allocations: 19.75 kB / 0.5742 GB, free: 44.14 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002313/0.4723, allocations: 1.118 MB / 0.5752 GB, free: 44.13 MB / 442.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.005337/0.4777, allocations: 3.122 MB / 0.5783 GB, free: 43.37 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003034/0.4807, allocations: 1.708 MB / 0.58 GB, free: 42.77 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001497/0.4822, allocations: 0.8259 MB / 0.5808 GB, free: 42.76 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.589e-05/0.4823, allocations: 10.88 kB / 0.5808 GB, free: 42.76 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.632e-05/0.4824, allocations: 47.88 kB / 0.5808 GB, free: 42.71 MB / 442.7 MB Notification: Performance of pre-optimization done (n=92): time 2.365e-06/0.4824, allocations: 0 / 0.5808 GB, free: 42.71 MB / 442.7 MB Notification: Performance of matching and sorting (n=92): time 0.0338/0.5162, allocations: 9.204 MB / 0.5898 GB, free: 42.12 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.412e-05/0.5163, allocations: 60.97 kB / 0.5899 GB, free: 42.06 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001142/0.5174, allocations: 0.8287 MB / 0.5907 GB, free: 41.91 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002262/0.5176, allocations: 47.33 kB / 0.5907 GB, free: 41.88 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000339/0.518, allocations: 451.7 kB / 0.5912 GB, free: 41.71 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003136/0.5183, allocations: 332.8 kB / 0.5915 GB, free: 41.5 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.738e-05/0.5184, allocations: 25 kB / 0.5915 GB, free: 41.5 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 9.257e-05/0.5185, allocations: 354.8 kB / 0.5918 GB, free: 41.19 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00165/0.5202, allocations: 0.7667 MB / 0.5926 GB, free: 41.17 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001631/0.5218, allocations: 0.8858 MB / 0.5935 GB, free: 41.07 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001451/0.5233, allocations: 0.8179 MB / 0.5943 GB, free: 40.78 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.889e-06/0.5233, allocations: 0 / 0.5943 GB, free: 40.78 MB / 442.7 MB Notification: Performance of matching and sorting (n=146) (initialization): time 0.01449/0.5378, allocations: 5.299 MB / 0.5994 GB, free: 39.62 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.185e-05/0.5378, allocations: 7.094 kB / 0.5994 GB, free: 39.62 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.394e-05/0.5379, allocations: 3 kB / 0.5994 GB, free: 39.62 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006768/0.5446, allocations: 2.221 MB / 0.6016 GB, free: 39.26 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009408/0.5456, allocations: 178.5 kB / 0.6018 GB, free: 39.24 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0233/0.5689, allocations: 10.27 MB / 0.6118 GB, free: 34.91 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001639/0.5706, allocations: 203.7 kB / 0.612 GB, free: 34.84 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000105/0.5707, allocations: 39.58 kB / 0.612 GB, free: 34.83 MB / 442.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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {25 16} Notification: Performance of prepare postOptimizeDAE: time 0.0004534/0.5712, allocations: 227.7 kB / 0.6123 GB, free: 34.64 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001801/0.5713, allocations: 111.1 kB / 0.6124 GB, free: 34.58 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01487/0.5862, allocations: 4.999 MB / 0.6172 GB, free: 33.55 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.011e-05/0.5863, allocations: 8.938 kB / 0.6172 GB, free: 33.55 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.278e-06/0.5863, allocations: 2.266 kB / 0.6172 GB, free: 33.55 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.056e-05/0.5863, allocations: 4.078 kB / 0.6173 GB, free: 33.55 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01725/0.6036, allocations: 6.589 MB / 0.6237 GB, free: 31.46 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.345e-05/0.6036, allocations: 0 / 0.6237 GB, free: 31.46 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006303/0.6043, allocations: 93.22 kB / 0.6238 GB, free: 31.46 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.006822/0.6111, allocations: 2.163 MB / 0.6259 GB, free: 31.1 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001492/0.6113, allocations: 22.17 kB / 0.6259 GB, free: 31.08 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01757/0.6288, allocations: 8.837 MB / 0.6345 GB, free: 24.45 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.064e-06/0.6289, allocations: 0 / 0.6345 GB, free: 24.45 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01536/0.6442, allocations: 5.976 MB / 0.6404 GB, free: 18.45 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003982/0.6447, allocations: 207.5 kB / 0.6406 GB, free: 18.23 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000145/0.6448, allocations: 17.66 kB / 0.6406 GB, free: 18.21 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001023/0.6459, allocations: 131.9 kB / 0.6407 GB, free: 18.08 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005734/0.6465, allocations: 196.6 kB / 0.6409 GB, free: 17.89 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.382e-05/0.6465, allocations: 24 kB / 0.6409 GB, free: 17.87 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.0006441/0.6472, allocations: 0.5628 MB / 0.6415 GB, free: 17.29 MB / 442.7 MB Notification: Performance of sort global known variables: time 4e-07/0.6472, allocations: 3.938 kB / 0.6415 GB, free: 17.29 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.001238/0.6484, allocations: 433.1 kB / 0.6419 GB, free: 16.87 MB / 442.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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {26 14} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002384/0.6487, allocations: 130.5 kB / 0.642 GB, free: 16.73 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.006432/0.6551, allocations: 2.703 MB / 0.6447 GB, free: 14.04 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 3.407e-06/0.6551, allocations: 0 / 0.6447 GB, free: 14.04 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.004494/0.6596, allocations: 1.759 MB / 0.6464 GB, free: 12.27 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008919/0.6606, allocations: 84.59 kB / 0.6465 GB, free: 12.19 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002951/0.6635, allocations: 2.388 MB / 0.6488 GB, free: 9.824 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003911/0.6639, allocations: 1.065 MB / 0.6498 GB, free: 8.73 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002344/0.6642, allocations: 59.44 kB / 0.6499 GB, free: 8.676 MB / 442.7 MB Notification: Performance of SimCode: time 7.41e-07/0.6642, allocations: 0 / 0.6499 GB, free: 8.676 MB / 442.7 MB Notification: Performance of Templates: time 0.02227/0.6864, allocations: 18.77 MB / 0.6682 GB, free: 6 MB / 458.7 MB make -j1 -f OpenIPSL_release_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeI_test.makefile (rm -f OpenIPSL_release_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeI_test.pipe ; mkfifo OpenIPSL_release_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeI_test.pipe ; head -c 1048576 < OpenIPSL_release_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeI_test.pipe >> ../files/OpenIPSL_release_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeI_test.sim & ./OpenIPSL_release_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeI_test -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_release_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeI_test.pipe 2>&1)