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/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/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/package.mo): time 0.08699/0.08699, allocations: 12.21 MB / 27.48 MB, free: 0.9258 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.0008188/0.0008187, allocations: 103.5 kB / 31 MB, free: 4.527 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.388/1.388, allocations: 205.4 MB / 239.8 MB, free: 12.09 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.001087/0.001087, allocations: 172.6 kB / 291 MB, free: 15.76 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo): time 0.4565/0.4565, allocations: 78.52 MB / 420.5 MB, free: 32.56 MB / 318.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.0008943/0.0008944, allocations: 25.31 kB / 0.4901 GB, free: 15.52 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3651/0.366, allocations: 69.23 MB / 0.5577 GB, free: 37.95 MB / 414.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Controls.PSAT.TG.TGTypeI_test): time 0.004296/0.3703, allocations: 5.981 MB / 0.5635 GB, free: 33.47 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.003251/0.3736, allocations: 1.809 MB / 0.5653 GB, free: 32.16 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007383/0.3744, allocations: 11.72 kB / 0.5653 GB, free: 32.16 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004503/0.3749, allocations: 166 kB / 0.5655 GB, free: 32.09 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001578/0.3764, allocations: 0.6028 MB / 0.5661 GB, free: 31.69 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001051/0.3775, allocations: 0.5439 MB / 0.5666 GB, free: 31.38 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.001293/0.3788, allocations: 1.265 MB / 0.5678 GB, free: 30.76 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003714/0.3792, allocations: 247.1 kB / 0.5681 GB, free: 30.65 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006173/0.3798, allocations: 0.4953 MB / 0.5686 GB, free: 30.42 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005447/0.3804, allocations: 0.6331 MB / 0.5692 GB, free: 30.12 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 9.905e-05/0.3805, allocations: 51.41 kB / 0.5692 GB, free: 30.12 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003925/0.3809, allocations: 184.8 kB / 0.5694 GB, free: 30.08 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001342/0.381, allocations: 216.2 kB / 0.5696 GB, free: 29.95 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003663/0.3814, allocations: 0.5557 MB / 0.5701 GB, free: 29.58 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009472/0.3824, allocations: 1.349 MB / 0.5715 GB, free: 29.06 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.459e-06/0.3824, allocations: 0 / 0.5715 GB, free: 29.06 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.502e-06/0.3824, allocations: 0 / 0.5715 GB, free: 29.06 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.225e-05/0.3824, allocations: 0 / 0.5715 GB, free: 29.06 MB / 414.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.007032/0.3894, allocations: 2.289 MB / 0.5737 GB, free: 28.07 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.781e-05/0.3895, allocations: 15.11 kB / 0.5737 GB, free: 28.07 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004911/0.3944, allocations: 0.7779 MB / 0.5745 GB, free: 27.92 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00113/0.3956, allocations: 0.7323 MB / 0.5752 GB, free: 27.41 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002753/0.3958, allocations: 264.5 kB / 0.5754 GB, free: 27.18 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001587/0.396, allocations: 75.59 kB / 0.5755 GB, free: 27.15 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002047/0.3981, allocations: 1.158 MB / 0.5766 GB, free: 26.73 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.71e-05/0.3981, allocations: 4 kB / 0.5766 GB, free: 26.73 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.64e-05/0.3982, allocations: 29.86 kB / 0.5767 GB, free: 26.7 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.676e-05/0.3982, allocations: 17.62 kB / 0.5767 GB, free: 26.7 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002154/0.4004, allocations: 1.124 MB / 0.5778 GB, free: 26.36 MB / 414.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.005418/0.4058, allocations: 3.121 MB / 0.5808 GB, free: 24.59 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003226/0.409, allocations: 1.72 MB / 0.5825 GB, free: 23.62 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001687/0.4108, allocations: 0.825 MB / 0.5833 GB, free: 23.32 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001015/0.4109, allocations: 19.97 kB / 0.5833 GB, free: 23.31 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.834e-05/0.4109, allocations: 44.3 kB / 0.5834 GB, free: 23.26 MB / 414.1 MB Notification: Performance of pre-optimization done (n=92): time 3.446e-06/0.4109, allocations: 0 / 0.5834 GB, free: 23.26 MB / 414.1 MB Notification: Performance of matching and sorting (n=92): time 0.03396/0.4449, allocations: 9.253 MB / 0.5924 GB, free: 20.57 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.752e-05/0.445, allocations: 62.06 kB / 0.5925 GB, free: 20.5 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001237/0.4462, allocations: 0.8394 MB / 0.5933 GB, free: 20.02 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002497/0.4465, allocations: 41.27 kB / 0.5933 GB, free: 19.97 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000264/0.4468, allocations: 449 kB / 0.5938 GB, free: 19.58 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003041/0.4471, allocations: 341.2 kB / 0.5941 GB, free: 19.28 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001524/0.4472, allocations: 102.3 kB / 0.5942 GB, free: 19.21 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 7.596e-05/0.4473, allocations: 359 kB / 0.5945 GB, free: 18.86 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001632/0.4489, allocations: 0.7696 MB / 0.5953 GB, free: 18.51 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001617/0.4506, allocations: 0.8896 MB / 0.5962 GB, free: 17.95 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002835/0.4534, allocations: 1.649 MB / 0.5978 GB, free: 16.27 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.749e-06/0.4534, allocations: 0 / 0.5978 GB, free: 16.27 MB / 414.1 MB Notification: Performance of matching and sorting (n=146) (initialization): time 0.01452/0.468, allocations: 5.319 MB / 0.603 GB, free: 10.93 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.859e-05/0.468, allocations: 6.812 kB / 0.603 GB, free: 10.93 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.256e-05/0.468, allocations: 4 kB / 0.603 GB, free: 10.93 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00685/0.4749, allocations: 2.221 MB / 0.6051 GB, free: 8.699 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001012/0.476, allocations: 179.7 kB / 0.6053 GB, free: 8.523 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02258/0.4986, allocations: 10.28 MB / 0.6153 GB, free: 14.09 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001717/0.5003, allocations: 202.8 kB / 0.6155 GB, free: 13.89 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001226/0.5005, allocations: 39.98 kB / 0.6156 GB, free: 13.86 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.0005239/0.501, allocations: 225.7 kB / 0.6158 GB, free: 13.62 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002244/0.5012, allocations: 110.6 kB / 0.6159 GB, free: 13.52 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01574/0.517, allocations: 5.014 MB / 0.6208 GB, free: 8.488 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.667e-05/0.517, allocations: 15.94 kB / 0.6208 GB, free: 8.473 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.106e-06/0.517, allocations: 0 / 0.6208 GB, free: 8.473 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.833e-05/0.5171, allocations: 3.984 kB / 0.6208 GB, free: 8.469 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01776/0.5348, allocations: 6.597 MB / 0.6273 GB, free: 1.73 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.86e-05/0.5349, allocations: 4 kB / 0.6273 GB, free: 1.727 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006826/0.5356, allocations: 91.89 kB / 0.6273 GB, free: 1.637 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.007365/0.543, allocations: 2.159 MB / 0.6295 GB, free: 15.47 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002569/0.5433, allocations: 23.98 kB / 0.6295 GB, free: 15.45 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0224/0.5657, allocations: 8.839 MB / 0.6381 GB, free: 6.469 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.16e-06/0.5658, allocations: 3.938 kB / 0.6381 GB, free: 6.465 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01838/0.5841, allocations: 5.997 MB / 0.644 GB, free: 456 kB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005991/0.5848, allocations: 199.5 kB / 0.6442 GB, free: 236 kB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006025/0.5854, allocations: 16 kB / 0.6442 GB, free: 220 kB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001605/0.5871, allocations: 131.9 kB / 0.6443 GB, free: 88 kB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009192/0.588, allocations: 204.6 kB / 0.6445 GB, free: 15.89 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001943/0.5882, allocations: 20 kB / 0.6445 GB, free: 15.87 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.001145/0.5894, allocations: 0.5628 MB / 0.6451 GB, free: 15.29 MB / 462.1 MB Notification: Performance of sort global known variables: time 5.21e-07/0.5894, allocations: 0 / 0.6451 GB, free: 15.29 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.002654/0.592, allocations: 439.5 kB / 0.6455 GB, free: 14.86 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.000551/0.5926, allocations: 131.7 kB / 0.6456 GB, free: 14.72 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.008327/0.601, allocations: 2.704 MB / 0.6483 GB, free: 12.01 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 6.172e-06/0.601, allocations: 0 / 0.6483 GB, free: 12.01 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.005728/0.6067, allocations: 1.771 MB / 0.65 GB, free: 10.22 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001491/0.6083, allocations: 87.42 kB / 0.6501 GB, free: 10.14 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004381/0.6127, allocations: 2.455 MB / 0.6525 GB, free: 7.668 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008017/0.6135, allocations: 1.057 MB / 0.6535 GB, free: 6.586 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0003886/0.6139, allocations: 82.78 kB / 0.6536 GB, free: 6.5 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002342/0.6141, allocations: 55.42 kB / 0.6536 GB, free: 6.445 MB / 462.1 MB Notification: Performance of SimCode: time 1.313e-06/0.6141, allocations: 0 / 0.6536 GB, free: 6.445 MB / 462.1 MB Notification: Performance of Templates: time 0.03599/0.6501, allocations: 21.28 MB / 0.6744 GB, free: 1.164 MB / 478.1 MB make -j1 -f OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeI_test.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: