Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeIII_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.0.1/package.mo", uses=false) Using package OpenIPSL with version 3.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/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.TGTypeIII_test,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeIII_test") translateModel(OpenIPSL.Tests.Controls.PSAT.TG.TGTypeIII_test,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeIII_test") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001135/0.001135, allocations: 118.2 kB / 16.42 MB, free: 6.492 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.389/1.389, allocations: 222.9 MB / 240.1 MB, free: 4.383 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.001413/0.001413, allocations: 188.5 kB / 290.4 MB, free: 2.117 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.5409/0.5409, allocations: 78.54 MB / 419.1 MB, free: 3.148 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001667/0.001667, allocations: 76.33 kB / 0.5543 GB, free: 0.9531 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3347/0.3364, allocations: 68.17 MB / 0.6209 GB, free: 9.598 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Controls.PSAT.TG.TGTypeIII_test): time 0.005858/0.3423, allocations: 6.929 MB / 0.6276 GB, free: 3.266 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.003344/0.3457, allocations: 2.117 MB / 0.6297 GB, free: 1.145 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008361/0.3465, allocations: 15.94 kB / 0.6297 GB, free: 1.129 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005336/0.3471, allocations: 257.7 kB / 0.63 GB, free: 0.875 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001526/0.3486, allocations: 0.8021 MB / 0.6308 GB, free: 72 kB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001538/0.3502, allocations: 0.7574 MB / 0.6315 GB, free: 15.32 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.001651/0.3518, allocations: 1.628 MB / 0.6331 GB, free: 13.69 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006032/0.3524, allocations: 463.9 kB / 0.6335 GB, free: 13.2 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008122/0.3533, allocations: 0.6534 MB / 0.6342 GB, free: 12.55 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007949/0.3541, allocations: 0.7893 MB / 0.6349 GB, free: 11.75 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001756/0.3543, allocations: 124 kB / 0.6351 GB, free: 11.63 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004958/0.3548, allocations: 267.8 kB / 0.6353 GB, free: 11.37 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002625/0.355, allocations: 330.6 kB / 0.6356 GB, free: 11.05 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005643/0.3556, allocations: 0.7106 MB / 0.6363 GB, free: 10.33 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001818/0.3574, allocations: 1.799 MB / 0.6381 GB, free: 8.531 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.428e-06/0.3575, allocations: 0 / 0.6381 GB, free: 8.531 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.432e-06/0.3575, allocations: 0 / 0.6381 GB, free: 8.531 MB / 446.1 MB Notification: Performance of Transformations before backend: time 2.297e-05/0.3575, allocations: 0 / 0.6381 GB, free: 8.531 MB / 446.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 237 * Number of variables: 237 Notification: Performance of Generate backend data structure: time 0.008045/0.3655, allocations: 2.77 MB / 0.6408 GB, free: 5.703 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.955e-05/0.3656, allocations: 8.031 kB / 0.6408 GB, free: 5.695 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005139/0.3707, allocations: 0.8068 MB / 0.6416 GB, free: 4.887 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001344/0.3721, allocations: 0.9027 MB / 0.6425 GB, free: 3.93 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002321/0.3723, allocations: 242.5 kB / 0.6427 GB, free: 3.66 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001743/0.3725, allocations: 96 kB / 0.6428 GB, free: 3.566 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0025/0.375, allocations: 1.337 MB / 0.6441 GB, free: 2.188 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.515e-05/0.3751, allocations: 7.875 kB / 0.6441 GB, free: 2.18 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001025/0.3752, allocations: 39.98 kB / 0.6441 GB, free: 2.141 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.822e-05/0.3752, allocations: 27.94 kB / 0.6442 GB, free: 2.113 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00251/0.3777, allocations: 1.198 MB / 0.6453 GB, free: 0.9141 MB / 446.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.006011/0.3837, allocations: 4.222 MB / 0.6495 GB, free: 12.54 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003157/0.3869, allocations: 1.681 MB / 0.6511 GB, free: 10.74 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001586/0.3885, allocations: 0.8281 MB / 0.6519 GB, free: 9.91 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001196/0.3886, allocations: 17 kB / 0.6519 GB, free: 9.895 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.617e-05/0.3887, allocations: 43.56 kB / 0.652 GB, free: 9.84 MB / 462.1 MB Notification: Performance of pre-optimization done (n=107): time 2.806e-06/0.3887, allocations: 3.938 kB / 0.652 GB, free: 9.836 MB / 462.1 MB Notification: Performance of matching and sorting (n=107): time 0.02864/0.4173, allocations: 7.333 MB / 0.6591 GB, free: 2.465 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.552e-05/0.4174, allocations: 119.8 kB / 0.6592 GB, free: 2.324 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001334/0.4188, allocations: 1.007 MB / 0.6602 GB, free: 1.305 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 0.000209/0.419, allocations: 45.7 kB / 0.6603 GB, free: 1.254 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000405/0.4194, allocations: 0.5758 MB / 0.6608 GB, free: 0.6719 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003724/0.4198, allocations: 404.5 kB / 0.6612 GB, free: 280 kB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004307/0.4202, allocations: 230.9 kB / 0.6614 GB, free: 40 kB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001441/0.4204, allocations: 357.9 kB / 0.6618 GB, free: 15.68 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001643/0.422, allocations: 0.7523 MB / 0.6625 GB, free: 14.93 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001738/0.4238, allocations: 0.9436 MB / 0.6634 GB, free: 13.92 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01919/0.443, allocations: 4.911 MB / 0.6682 GB, free: 8.957 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.623e-06/0.443, allocations: 0 / 0.6682 GB, free: 8.957 MB / 478.1 MB Notification: Performance of matching and sorting (n=170) (initialization): time 0.01461/0.4576, allocations: 4.566 MB / 0.6727 GB, free: 4.375 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.399e-05/0.4577, allocations: 8 kB / 0.6727 GB, free: 4.367 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.331e-05/0.4577, allocations: 4 kB / 0.6727 GB, free: 4.363 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006445/0.4641, allocations: 1.901 MB / 0.6746 GB, free: 2.457 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001065/0.4652, allocations: 215.6 kB / 0.6748 GB, free: 2.246 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02346/0.4887, allocations: 9.969 MB / 0.6845 GB, free: 8.125 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001561/0.4903, allocations: 187.1 kB / 0.6847 GB, free: 7.941 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001142/0.4904, allocations: 51.98 kB / 0.6847 GB, free: 7.891 MB / 494.1 MB Warning: Assuming fixed start value for the following 4 variables: tGTypeIII.integrator.y:VARIABLE(flow=false start = tGTypeIII.integrator.y_start fixed = true ) "Connector of Real output signal" type: Real tGTypeIII.integrator1.y:VARIABLE(flow=false start = tGTypeIII.integrator1.y_start fixed = true ) "Connector of Real output signal" type: Real tGTypeIII.integrator2.y:VARIABLE(flow=false start = tGTypeIII.integrator2.y_start fixed = true ) "Connector of Real output signal" type: Real tGTypeIII.integrator3.y:VARIABLE(flow=false start = tGTypeIII.integrator3.y_start fixed = true ) "Connector of Real output signal" type: Real Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001927/0.4923, allocations: 0.9281 MB / 0.6856 GB, free: 6.961 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001675/0.494, allocations: 0.9164 MB / 0.6865 GB, free: 5.984 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.01828/0.5123, allocations: 4.848 MB / 0.6913 GB, free: 1.078 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 6.492e-06/0.5123, allocations: 3.938 kB / 0.6913 GB, free: 1.074 MB / 494.1 MB Notification: Performance of matching and sorting (n=170) (initialization_lambda0): time 0.01433/0.5267, allocations: 4.523 MB / 0.6957 GB, free: 12.54 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.693e-05/0.5267, allocations: 8 kB / 0.6957 GB, free: 12.53 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.109e-05/0.5267, allocations: 4.25 kB / 0.6957 GB, free: 12.52 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006501/0.5332, allocations: 1.901 MB / 0.6975 GB, free: 10.62 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001003/0.5343, allocations: 207.7 kB / 0.6977 GB, free: 10.41 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02337/0.5577, allocations: 9.972 MB / 0.7075 GB, free: 308 kB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001617/0.5593, allocations: 167.2 kB / 0.7076 GB, free: 140 kB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001167/0.5594, allocations: 47.98 kB / 0.7077 GB, free: 92 kB / 0.4981 GB Warning: Assuming fixed start value for the following 4 variables: tGTypeIII.integrator.y:VARIABLE(flow=false start = tGTypeIII.integrator.y_start fixed = true ) "Connector of Real output signal" type: Real tGTypeIII.integrator1.y:VARIABLE(flow=false start = tGTypeIII.integrator1.y_start fixed = true ) "Connector of Real output signal" type: Real tGTypeIII.integrator2.y:VARIABLE(flow=false start = tGTypeIII.integrator2.y_start fixed = true ) "Connector of Real output signal" type: Real tGTypeIII.integrator3.y:VARIABLE(flow=false start = tGTypeIII.integrator3.y_start fixed = true ) "Connector of Real output signal" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 17 * Number of states: 0 () * Number of discrete variables: 4 (tGTypeIII.integrator3.local_reset,tGTypeIII.integrator2.local_reset,tGTypeIII.integrator1.local_reset,tGTypeIII.integrator.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (130): * Single equations (assignments): 129 * 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.0004023/0.5598, allocations: 269.3 kB / 0.7079 GB, free: 15.82 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002225/0.5601, allocations: 143 kB / 0.7081 GB, free: 15.68 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01373/0.5738, allocations: 4.211 MB / 0.7122 GB, free: 11.45 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.141e-05/0.5739, allocations: 3.984 kB / 0.7122 GB, free: 11.45 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.238e-06/0.5739, allocations: 0 / 0.7122 GB, free: 11.45 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004469/0.5743, allocations: 231.9 kB / 0.7124 GB, free: 11.2 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002633/0.5746, allocations: 16 kB / 0.7124 GB, free: 11.19 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001061/0.5757, allocations: 107.9 kB / 0.7125 GB, free: 11.08 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001154/0.5768, allocations: 492.2 kB / 0.713 GB, free: 10.6 MB / 0.5137 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.006415/0.5833, allocations: 2.233 MB / 0.7152 GB, free: 8.359 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.00496/0.5883, allocations: 2.374 MB / 0.7175 GB, free: 5.969 MB / 0.5137 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001452/0.5897, allocations: 0.6285 MB / 0.7181 GB, free: 5.34 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.0009562/0.5907, allocations: 0.6777 MB / 0.7188 GB, free: 4.656 MB / 0.5137 GB Notification: Performance of Backend: time 5.91e-07/0.5907, allocations: 0 / 0.7188 GB, free: 4.656 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.01161/0.6023, allocations: 3.947 MB / 0.7226 GB, free: 0.6758 MB / 0.5137 GB Notification: Performance of SimCode: time 0.004636/0.607, allocations: 2.979 MB / 0.7255 GB, free: 13.63 MB / 0.5294 GB Notification: Performance of Templates: time 0.05699/0.664, allocations: 36.36 MB / 0.7611 GB, free: 9.254 MB / 0.5606 GB make -j1 -f OpenIPSL_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeIII_test.makefile (rm -f OpenIPSL_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeIII_test.pipe ; mkfifo OpenIPSL_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeIII_test.pipe ; head -c 1048576 < OpenIPSL_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeIII_test.pipe >> ../files/OpenIPSL_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeIII_test.sim & ./OpenIPSL_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeIII_test -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeIII_test.pipe 2>&1)