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.0008732/0.0008732, allocations: 99.55 kB / 15.05 MB, free: 1.105 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.281/1.281, allocations: 223.2 MB / 238.9 MB, free: 5.648 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.001207/0.001207, allocations: 177.1 kB / 290.2 MB, free: 2.336 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.4731/0.4731, allocations: 79.45 MB / 420.7 MB, free: 3.992 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003532/0.0003532, allocations: 12 kB / 0.489 GB, free: 5.637 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1266/0.1269, allocations: 69.51 MB / 0.5569 GB, free: 72 kB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Controls.PSAT.TG.TGTypeI_test): time 0.2236/0.3506, allocations: 5.29 MB / 0.562 GB, free: 37.48 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.003036/0.3537, allocations: 1.781 MB / 0.5638 GB, free: 37.24 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005249/0.3542, allocations: 10.38 kB / 0.5638 GB, free: 37.24 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003748/0.3546, allocations: 156.6 kB / 0.5639 GB, free: 37.18 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001466/0.3561, allocations: 0.6351 MB / 0.5646 GB, free: 37.11 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009258/0.357, allocations: 495.5 kB / 0.565 GB, free: 37.09 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.001014/0.358, allocations: 0.8571 MB / 0.5659 GB, free: 36.91 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003077/0.3583, allocations: 228.1 kB / 0.5661 GB, free: 36.87 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004582/0.3588, allocations: 496.3 kB / 0.5666 GB, free: 36.73 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005803/0.3594, allocations: 0.5948 MB / 0.5671 GB, free: 36.57 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 9.198e-05/0.3595, allocations: 52.81 kB / 0.5672 GB, free: 36.57 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003628/0.3599, allocations: 163.4 kB / 0.5673 GB, free: 36.57 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001505/0.36, allocations: 205.6 kB / 0.5675 GB, free: 36.5 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001361/0.3602, allocations: 212.2 kB / 0.5677 GB, free: 36.43 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007793/0.361, allocations: 1.013 MB / 0.5687 GB, free: 36.26 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.404e-06/0.361, allocations: 0 / 0.5687 GB, free: 36.26 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.264e-06/0.361, allocations: 0 / 0.5687 GB, free: 36.26 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.099e-05/0.361, allocations: 4.594 kB / 0.5687 GB, free: 36.26 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.006937/0.3679, allocations: 2.303 MB / 0.571 GB, free: 35.45 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.126e-05/0.368, allocations: 11.12 kB / 0.571 GB, free: 35.45 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004794/0.3728, allocations: 0.7746 MB / 0.5718 GB, free: 35.37 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001366/0.3742, allocations: 0.6949 MB / 0.5724 GB, free: 35 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002588/0.3745, allocations: 263.8 kB / 0.5727 GB, free: 34.78 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001382/0.3746, allocations: 75.08 kB / 0.5728 GB, free: 34.75 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002013/0.3766, allocations: 1.15 MB / 0.5739 GB, free: 34.34 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.771e-05/0.3767, allocations: 0 / 0.5739 GB, free: 34.34 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.569e-05/0.3767, allocations: 30.03 kB / 0.5739 GB, free: 34.31 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.565e-05/0.3768, allocations: 20.95 kB / 0.5739 GB, free: 34.31 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001923/0.3787, allocations: 1.115 MB / 0.575 GB, free: 33.96 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.004461/0.3832, allocations: 3.124 MB / 0.5781 GB, free: 32.2 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00259/0.3858, allocations: 1.707 MB / 0.5797 GB, free: 31.25 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.112e-05/0.3859, allocations: 16.03 kB / 0.5798 GB, free: 31.24 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.012e-05/0.3859, allocations: 45.44 kB / 0.5798 GB, free: 31.2 MB / 430.1 MB Notification: Performance of pre-optimization done (n=92): time 2.505e-06/0.3859, allocations: 0 / 0.5798 GB, free: 31.2 MB / 430.1 MB Notification: Performance of matching and sorting (n=92): time 0.03066/0.4166, allocations: 9.2 MB / 0.5888 GB, free: 29.7 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.31e-05/0.4167, allocations: 66.25 kB / 0.5888 GB, free: 29.64 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001132/0.4178, allocations: 0.8284 MB / 0.5896 GB, free: 29.27 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002326/0.418, allocations: 45.48 kB / 0.5897 GB, free: 29.23 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002703/0.4183, allocations: 449.1 kB / 0.5901 GB, free: 28.87 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002888/0.4186, allocations: 338.9 kB / 0.5904 GB, free: 28.61 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.68e-05/0.4187, allocations: 21.44 kB / 0.5905 GB, free: 28.59 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 7.468e-05/0.4188, allocations: 348.3 kB / 0.5908 GB, free: 28.27 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001532/0.4203, allocations: 0.7675 MB / 0.5915 GB, free: 28 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001602/0.4219, allocations: 0.8834 MB / 0.5924 GB, free: 27.63 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001597/0.4235, allocations: 0.8098 MB / 0.5932 GB, free: 27.31 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.621e-06/0.4235, allocations: 1.375 kB / 0.5932 GB, free: 27.31 MB / 430.1 MB Notification: Performance of matching and sorting (n=146) (initialization): time 0.01596/0.4395, allocations: 5.299 MB / 0.5984 GB, free: 26.16 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.578e-05/0.4396, allocations: 5.844 kB / 0.5984 GB, free: 26.16 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.738e-05/0.4396, allocations: 2.406 kB / 0.5984 GB, free: 26.16 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.007233/0.4469, allocations: 2.227 MB / 0.6006 GB, free: 25.79 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009503/0.4478, allocations: 171.5 kB / 0.6007 GB, free: 25.77 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02432/0.4722, allocations: 10.78 MB / 0.6113 GB, free: 20.64 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001564/0.4738, allocations: 207 kB / 0.6115 GB, free: 20.46 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.429e-05/0.4739, allocations: 43.61 kB / 0.6115 GB, free: 20.42 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 (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.0004037/0.4743, allocations: 222.9 kB / 0.6117 GB, free: 20.2 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001535/0.4744, allocations: 106.7 kB / 0.6118 GB, free: 20.09 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01302/0.4875, allocations: 5.003 MB / 0.6167 GB, free: 15.45 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.429e-05/0.4875, allocations: 12.83 kB / 0.6167 GB, free: 15.44 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.387e-06/0.4875, allocations: 4 kB / 0.6167 GB, free: 15.43 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.489e-05/0.4876, allocations: 5.391 kB / 0.6167 GB, free: 15.43 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01424/0.5018, allocations: 6.582 MB / 0.6231 GB, free: 8.707 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.637e-05/0.5019, allocations: 0 / 0.6231 GB, free: 8.707 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000659/0.5025, allocations: 91.89 kB / 0.6232 GB, free: 8.617 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005904/0.5085, allocations: 2.163 MB / 0.6253 GB, free: 6.457 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001883/0.5087, allocations: 19.98 kB / 0.6254 GB, free: 6.438 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01863/0.5273, allocations: 9.319 MB / 0.6345 GB, free: 12.98 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.757e-06/0.5273, allocations: 0 / 0.6345 GB, free: 12.98 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01597/0.5433, allocations: 5.989 MB / 0.6403 GB, free: 6.965 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004722/0.5438, allocations: 199.6 kB / 0.6405 GB, free: 6.75 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001645/0.544, allocations: 16 kB / 0.6405 GB, free: 6.734 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001019/0.545, allocations: 135.8 kB / 0.6406 GB, free: 6.602 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005821/0.5456, allocations: 200.6 kB / 0.6408 GB, free: 6.406 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.489e-05/0.5457, allocations: 20 kB / 0.6409 GB, free: 6.387 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.000686/0.5464, allocations: 0.5589 MB / 0.6414 GB, free: 5.816 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.5464, allocations: 0 / 0.6414 GB, free: 5.816 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.001299/0.5477, allocations: 439.6 kB / 0.6418 GB, free: 5.387 MB / 446.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 (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.0002681/0.548, allocations: 135.4 kB / 0.6419 GB, free: 5.246 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.006508/0.5545, allocations: 2.702 MB / 0.6446 GB, free: 2.535 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 3.757e-06/0.5545, allocations: 0 / 0.6446 GB, free: 2.535 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004752/0.5593, allocations: 1.761 MB / 0.6463 GB, free: 0.7617 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006683/0.56, allocations: 64.42 kB / 0.6464 GB, free: 0.6992 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003602/0.5636, allocations: 2.387 MB / 0.6487 GB, free: 14.34 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006267/0.5642, allocations: 1.078 MB / 0.6498 GB, free: 13.23 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0003168/0.5645, allocations: 82.78 kB / 0.6498 GB, free: 13.15 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001757/0.5647, allocations: 63.42 kB / 0.6499 GB, free: 13.09 MB / 462.1 MB Notification: Performance of SimCode: time 1.693e-06/0.5647, allocations: 0 / 0.6499 GB, free: 13.09 MB / 462.1 MB Notification: Performance of Templates: time 0.03155/0.5963, allocations: 20.64 MB / 0.67 GB, free: 8.602 MB / 478.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)