Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_dev_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeI_test.conf.json 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 4.0.0+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 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 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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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) Running command: translateModel(OpenIPSL.Tests.Controls.PSAT.TG.TGTypeI_test,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_dev_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_dev_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeI_test") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001016/0.001016, allocations: 90.05 kB / 16.02 MB, free: 80 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.371/1.371, allocations: 223.3 MB / 240 MB, free: 5.516 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001125/0.001125, allocations: 176.4 kB / 291.3 MB, free: 2.188 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.5048/0.5048, allocations: 91.93 MB / 434.3 MB, free: 10.29 MB / 302.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003755/0.0003755, allocations: 12 kB / 0.5054 GB, free: 7.258 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3678/0.3682, allocations: 72.47 MB / 0.5762 GB, free: 36.9 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Controls.PSAT.TG.TGTypeI_test): time 0.004327/0.3726, allocations: 5.944 MB / 0.582 GB, free: 32.95 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.002889/0.3755, allocations: 1.835 MB / 0.5838 GB, free: 31.64 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008166/0.3764, allocations: 13.69 kB / 0.5838 GB, free: 31.64 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004827/0.3769, allocations: 163.4 kB / 0.5839 GB, free: 31.58 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001686/0.3785, allocations: 0.6209 MB / 0.5846 GB, free: 31.18 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001087/0.3796, allocations: 0.5302 MB / 0.5851 GB, free: 30.89 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.001035/0.3807, allocations: 1.266 MB / 0.5863 GB, free: 30.27 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00033/0.381, allocations: 258.9 kB / 0.5866 GB, free: 30.16 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004601/0.3815, allocations: 0.4948 MB / 0.587 GB, free: 29.93 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005385/0.382, allocations: 0.6304 MB / 0.5877 GB, free: 29.64 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001022/0.3822, allocations: 50.28 kB / 0.5877 GB, free: 29.64 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003747/0.3825, allocations: 189.4 kB / 0.5879 GB, free: 29.59 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001322/0.3827, allocations: 218.2 kB / 0.5881 GB, free: 29.46 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003144/0.383, allocations: 0.5479 MB / 0.5886 GB, free: 29.09 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006853/0.3837, allocations: 1.054 MB / 0.5897 GB, free: 28.76 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.946e-06/0.3837, allocations: 0 / 0.5897 GB, free: 28.76 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.263e-06/0.3837, allocations: 0 / 0.5897 GB, free: 28.76 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.274e-05/0.3837, allocations: 0 / 0.5897 GB, free: 28.76 MB / 430.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.006985/0.3907, allocations: 2.297 MB / 0.5919 GB, free: 27.78 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.223e-05/0.3908, allocations: 9.688 kB / 0.5919 GB, free: 27.78 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004845/0.3956, allocations: 0.7687 MB / 0.5927 GB, free: 27.63 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001001/0.3966, allocations: 0.7328 MB / 0.5934 GB, free: 27.12 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002319/0.3969, allocations: 265 kB / 0.5936 GB, free: 26.89 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001405/0.397, allocations: 73.19 kB / 0.5937 GB, free: 26.87 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002187/0.3992, allocations: 1.164 MB / 0.5948 GB, free: 26.44 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.802e-05/0.3993, allocations: 1.188 kB / 0.5948 GB, free: 26.44 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.809e-05/0.3993, allocations: 29.78 kB / 0.5949 GB, free: 26.42 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.79e-05/0.3994, allocations: 16.31 kB / 0.5949 GB, free: 26.42 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002271/0.4016, allocations: 1.121 MB / 0.596 GB, free: 26.07 MB / 430.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.004818/0.4065, allocations: 3.133 MB / 0.599 GB, free: 24.3 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003122/0.4096, allocations: 1.714 MB / 0.6007 GB, free: 23.33 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001586/0.4112, allocations: 0.8326 MB / 0.6015 GB, free: 23.02 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.291e-05/0.4113, allocations: 15.92 kB / 0.6015 GB, free: 23.02 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.708e-05/0.4114, allocations: 47.86 kB / 0.6016 GB, free: 22.96 MB / 430.1 MB Notification: Performance of pre-optimization done (n=92): time 2.635e-06/0.4114, allocations: 0 / 0.6016 GB, free: 22.96 MB / 430.1 MB Notification: Performance of matching and sorting (n=92): time 0.03429/0.4457, allocations: 9.248 MB / 0.6106 GB, free: 21.45 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.69e-05/0.4458, allocations: 60.83 kB / 0.6107 GB, free: 21.39 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001359/0.4471, allocations: 0.8406 MB / 0.6115 GB, free: 21.02 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002199/0.4474, allocations: 41.95 kB / 0.6115 GB, free: 20.98 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002917/0.4477, allocations: 450 kB / 0.612 GB, free: 20.62 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003094/0.448, allocations: 336.3 kB / 0.6123 GB, free: 20.36 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001638/0.4482, allocations: 98.55 kB / 0.6124 GB, free: 20.31 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 8.907e-05/0.4483, allocations: 358.1 kB / 0.6127 GB, free: 19.98 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001634/0.4499, allocations: 0.7677 MB / 0.6135 GB, free: 19.71 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001745/0.4516, allocations: 0.8929 MB / 0.6143 GB, free: 19.35 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003229/0.4549, allocations: 1.653 MB / 0.616 GB, free: 18.64 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.4e-06/0.4549, allocations: 0 / 0.616 GB, free: 18.64 MB / 430.1 MB Notification: Performance of matching and sorting (n=146) (initialization): time 0.01515/0.4701, allocations: 5.32 MB / 0.6211 GB, free: 15.21 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.983e-05/0.4701, allocations: 4 kB / 0.6212 GB, free: 15.2 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.428e-05/0.4702, allocations: 4 kB / 0.6212 GB, free: 15.2 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006377/0.4765, allocations: 2.221 MB / 0.6233 GB, free: 12.97 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009001/0.4775, allocations: 179.7 kB / 0.6235 GB, free: 12.8 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0205/0.498, allocations: 10.29 MB / 0.6335 GB, free: 2.367 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001608/0.4996, allocations: 199 kB / 0.6337 GB, free: 2.172 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.155e-05/0.4997, allocations: 36 kB / 0.6338 GB, free: 2.137 MB / 430.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.0004099/0.5002, allocations: 232.1 kB / 0.634 GB, free: 1.902 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001785/0.5003, allocations: 118.6 kB / 0.6341 GB, free: 1.785 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01457/0.5149, allocations: 5.014 MB / 0.639 GB, free: 12.76 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.915e-05/0.515, allocations: 8 kB / 0.639 GB, free: 12.75 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.448e-06/0.515, allocations: 0 / 0.639 GB, free: 12.75 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.776e-05/0.515, allocations: 11.92 kB / 0.639 GB, free: 12.74 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01707/0.5321, allocations: 6.597 MB / 0.6455 GB, free: 6 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.364e-05/0.5322, allocations: 0 / 0.6455 GB, free: 6 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006209/0.5328, allocations: 95.83 kB / 0.6456 GB, free: 5.906 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.006648/0.5394, allocations: 2.163 MB / 0.6477 GB, free: 3.738 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001619/0.5396, allocations: 16 kB / 0.6477 GB, free: 3.723 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0212/0.5608, allocations: 8.836 MB / 0.6563 GB, free: 10.75 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.517e-06/0.5609, allocations: 7.938 kB / 0.6563 GB, free: 10.74 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01752/0.5784, allocations: 5.989 MB / 0.6622 GB, free: 4.727 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00045/0.5789, allocations: 195.6 kB / 0.6624 GB, free: 4.516 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003296/0.5792, allocations: 16 kB / 0.6624 GB, free: 4.5 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001247/0.5805, allocations: 131.9 kB / 0.6625 GB, free: 4.371 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006593/0.5812, allocations: 200.6 kB / 0.6627 GB, free: 4.176 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.744e-05/0.5813, allocations: 20 kB / 0.6627 GB, free: 4.156 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0007495/0.582, allocations: 0.5667 MB / 0.6633 GB, free: 3.578 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.582, allocations: 0 / 0.6633 GB, free: 3.578 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.001461/0.5835, allocations: 439.5 kB / 0.6637 GB, free: 3.148 MB / 462.1 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.0003058/0.5838, allocations: 131.1 kB / 0.6638 GB, free: 3.012 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.007167/0.591, allocations: 2.717 MB / 0.6665 GB, free: 288 kB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 5.24e-06/0.591, allocations: 4 kB / 0.6665 GB, free: 284 kB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.005139/0.5962, allocations: 1.763 MB / 0.6682 GB, free: 14.5 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001046/0.5973, allocations: 79.44 kB / 0.6683 GB, free: 14.41 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003878/0.6012, allocations: 2.486 MB / 0.6707 GB, free: 11.9 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006119/0.6018, allocations: 1.057 MB / 0.6717 GB, free: 10.81 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002757/0.6021, allocations: 59.44 kB / 0.6718 GB, free: 10.75 MB / 478.1 MB Notification: Performance of SimCode: time 7.31e-07/0.6021, allocations: 0 / 0.6718 GB, free: 10.75 MB / 478.1 MB Notification: Performance of Templates: time 0.02515/0.6272, allocations: 18.73 MB / 0.6901 GB, free: 8.004 MB / 494.1 MB make -j1 -f OpenIPSL_dev_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeI_test.makefile (rm -f OpenIPSL_dev_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeI_test.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeI_test.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeI_test.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeI_test.sim & ./OpenIPSL_dev_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeI_test -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_dev_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeI_test.pipe 2>&1)