Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_dev_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeVI_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.TGTypeVI_test,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeVI_test") translateModel(OpenIPSL.Tests.Controls.PSAT.TG.TGTypeVI_test,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeVI_test") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001561/0.001561, allocations: 114.9 kB / 16.42 MB, free: 6.012 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.36/1.36, allocations: 222.9 MB / 240.1 MB, free: 4.559 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.001371/0.001371, allocations: 204.4 kB / 290.4 MB, free: 2.27 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.4973/0.4973, allocations: 91.89 MB / 432.4 MB, free: 9.18 MB / 302.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001542/0.001542, allocations: 81.7 kB / 0.5734 GB, free: 33.59 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1064/0.1079, allocations: 71.28 MB / 0.643 GB, free: 3.586 MB / 446.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Controls.PSAT.TG.TGTypeVI_test): time 0.008095/0.116, allocations: 7.287 MB / 0.6501 GB, free: 12.26 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.004622/0.1207, allocations: 2.293 MB / 0.6524 GB, free: 9.961 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001013/0.1217, allocations: 19.94 kB / 0.6524 GB, free: 9.941 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009472/0.1227, allocations: 281.5 kB / 0.6527 GB, free: 9.664 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002312/0.1251, allocations: 0.827 MB / 0.6535 GB, free: 8.836 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001865/0.1269, allocations: 0.8346 MB / 0.6543 GB, free: 8.008 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.002168/0.1291, allocations: 1.8 MB / 0.656 GB, free: 6.203 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007663/0.1299, allocations: 0.4977 MB / 0.6565 GB, free: 5.676 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001036/0.1309, allocations: 0.7313 MB / 0.6572 GB, free: 4.941 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001148/0.1321, allocations: 0.8749 MB / 0.6581 GB, free: 4.062 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003526/0.1325, allocations: 136 kB / 0.6582 GB, free: 3.93 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006381/0.1331, allocations: 279.9 kB / 0.6585 GB, free: 3.656 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003822/0.1335, allocations: 370.4 kB / 0.6589 GB, free: 3.293 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0008547/0.1344, allocations: 0.765 MB / 0.6596 GB, free: 2.523 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002154/0.1365, allocations: 1.958 MB / 0.6615 GB, free: 0.5586 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.398e-06/0.1365, allocations: 0 / 0.6615 GB, free: 0.5586 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.493e-06/0.1366, allocations: 0 / 0.6615 GB, free: 0.5586 MB / 462.1 MB Notification: Performance of Transformations before backend: time 6.607e-05/0.1366, allocations: 4 kB / 0.6615 GB, free: 0.5547 MB / 462.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 258 * Number of variables: 258 Notification: Performance of Generate backend data structure: time 0.009648/0.1463, allocations: 2.883 MB / 0.6643 GB, free: 13.61 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.43e-05/0.1463, allocations: 11.97 kB / 0.6643 GB, free: 13.6 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005429/0.1518, allocations: 0.8136 MB / 0.6651 GB, free: 12.79 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001829/0.1536, allocations: 0.9809 MB / 0.6661 GB, free: 11.75 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002499/0.1539, allocations: 238.5 kB / 0.6663 GB, free: 11.48 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002288/0.1541, allocations: 108 kB / 0.6664 GB, free: 11.38 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003072/0.1572, allocations: 1.437 MB / 0.6678 GB, free: 9.879 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.355e-05/0.1573, allocations: 3.938 kB / 0.6678 GB, free: 9.875 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001248/0.1574, allocations: 44 kB / 0.6679 GB, free: 9.832 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.059e-05/0.1574, allocations: 24 kB / 0.6679 GB, free: 9.809 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002957/0.1604, allocations: 1.319 MB / 0.6692 GB, free: 8.488 MB / 478.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.007143/0.1675, allocations: 4.316 MB / 0.6734 GB, free: 4.012 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003754/0.1713, allocations: 1.896 MB / 0.6753 GB, free: 1.992 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001865/0.1732, allocations: 0.8855 MB / 0.6761 GB, free: 1.102 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001148/0.1733, allocations: 21.61 kB / 0.6761 GB, free: 1.078 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.266e-05/0.1734, allocations: 47.56 kB / 0.6762 GB, free: 1.023 MB / 478.1 MB Notification: Performance of pre-optimization done (n=115): time 3.567e-06/0.1734, allocations: 0 / 0.6762 GB, free: 1.023 MB / 478.1 MB Notification: Performance of matching and sorting (n=115): time 0.03083/0.2042, allocations: 7.418 MB / 0.6834 GB, free: 9.57 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.834e-05/0.2043, allocations: 141.5 kB / 0.6836 GB, free: 9.398 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001751/0.2061, allocations: 1.129 MB / 0.6847 GB, free: 8.262 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001892/0.2063, allocations: 45.7 kB / 0.6847 GB, free: 8.211 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004974/0.2068, allocations: 0.6145 MB / 0.6853 GB, free: 7.59 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004713/0.2073, allocations: 410.1 kB / 0.6857 GB, free: 7.184 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005231/0.2078, allocations: 247.5 kB / 0.6859 GB, free: 6.938 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 9.37e-05/0.2079, allocations: 305.1 kB / 0.6862 GB, free: 6.637 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001989/0.2099, allocations: 0.8709 MB / 0.6871 GB, free: 5.758 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002078/0.212, allocations: 1.006 MB / 0.6881 GB, free: 4.691 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.02094/0.2329, allocations: 5.162 MB / 0.6931 GB, free: 15.47 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.748e-06/0.233, allocations: 4 kB / 0.6931 GB, free: 15.46 MB / 0.4981 GB Notification: Performance of matching and sorting (n=181) (initialization): time 0.01597/0.249, allocations: 4.686 MB / 0.6977 GB, free: 10.76 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 2.749e-05/0.249, allocations: 8 kB / 0.6977 GB, free: 10.75 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.386e-05/0.249, allocations: 4 kB / 0.6977 GB, free: 10.75 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006964/0.256, allocations: 1.889 MB / 0.6995 GB, free: 8.855 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001244/0.2573, allocations: 251.6 kB / 0.6998 GB, free: 8.609 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02525/0.2825, allocations: 9.981 MB / 0.7095 GB, free: 14.48 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001872/0.2844, allocations: 210.7 kB / 0.7097 GB, free: 14.27 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002194/0.2847, allocations: 51.98 kB / 0.7098 GB, free: 14.22 MB / 0.5137 GB Warning: Assuming fixed start value for the following 5 variables: tGTypeVI.derivative.x:VARIABLE(start = tGTypeVI.derivative.x_start fixed = true ) "State of block" type: Real tGTypeVI.integrator.y:VARIABLE(flow=false start = tGTypeVI.integrator.y_start fixed = true ) "Connector of Real output signal" type: Real tGTypeVI.integrator3.y:VARIABLE(flow=false start = tGTypeVI.integrator3.y_start fixed = true ) "Connector of Real output signal" type: Real tGTypeVI.integrator5.y:VARIABLE(flow=false start = tGTypeVI.integrator5.y_start fixed = true ) "Connector of Real output signal" type: Real tGTypeVI.transferFunction.x_scaled[1]:VARIABLE(fixed = true protected = true ) "Scaled vector x" type: Real [1] Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.002441/0.2871, allocations: 1.074 MB / 0.7108 GB, free: 13.14 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001958/0.2891, allocations: 0.9785 MB / 0.7118 GB, free: 12.11 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.02056/0.3097, allocations: 5.099 MB / 0.7168 GB, free: 6.953 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.005e-05/0.3097, allocations: 0 / 0.7168 GB, free: 6.953 MB / 0.5137 GB Notification: Performance of matching and sorting (n=181) (initialization_lambda0): time 0.01618/0.3259, allocations: 4.628 MB / 0.7213 GB, free: 2.309 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 2.128e-05/0.326, allocations: 11.98 kB / 0.7213 GB, free: 2.297 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.435e-05/0.326, allocations: 8.156 kB / 0.7213 GB, free: 2.289 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006966/0.333, allocations: 1.893 MB / 0.7231 GB, free: 400 kB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001184/0.3342, allocations: 239.6 kB / 0.7234 GB, free: 160 kB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0257/0.3599, allocations: 9.963 MB / 0.7331 GB, free: 6.035 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001823/0.3618, allocations: 198.8 kB / 0.7333 GB, free: 5.84 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002148/0.362, allocations: 47.98 kB / 0.7333 GB, free: 5.793 MB / 0.5294 GB Warning: Assuming fixed start value for the following 5 variables: tGTypeVI.derivative.x:VARIABLE(start = tGTypeVI.derivative.x_start fixed = true ) "State of block" type: Real tGTypeVI.integrator.y:VARIABLE(flow=false start = tGTypeVI.integrator.y_start fixed = true ) "Connector of Real output signal" type: Real tGTypeVI.integrator3.y:VARIABLE(flow=false start = tGTypeVI.integrator3.y_start fixed = true ) "Connector of Real output signal" type: Real tGTypeVI.integrator5.y:VARIABLE(flow=false start = tGTypeVI.integrator5.y_start fixed = true ) "Connector of Real output signal" type: Real tGTypeVI.transferFunction.x_scaled[1]:VARIABLE(fixed = true protected = true ) "Scaled vector x" type: Real [1] Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 18 * Number of states: 0 () * Number of discrete variables: 4 (tGTypeVI.switch1.u2,tGTypeVI.integrator5.local_reset,tGTypeVI.integrator3.local_reset,tGTypeVI.integrator.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (141): * Single equations (assignments): 140 * 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.0004973/0.3625, allocations: 274.7 kB / 0.7336 GB, free: 5.52 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003926/0.3629, allocations: 142.2 kB / 0.7337 GB, free: 5.379 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01522/0.3781, allocations: 4.302 MB / 0.7379 GB, free: 1.062 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.798e-05/0.3782, allocations: 3.984 kB / 0.7379 GB, free: 1.059 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.806e-06/0.3782, allocations: 8 kB / 0.7379 GB, free: 1.051 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006089/0.3788, allocations: 231 kB / 0.7382 GB, free: 0.8047 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006218/0.3795, allocations: 27.94 kB / 0.7382 GB, free: 0.7773 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001655/0.3812, allocations: 115.9 kB / 0.7383 GB, free: 0.6641 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001344/0.3825, allocations: 0.4924 MB / 0.7388 GB, free: 172 kB / 0.5294 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.008129/0.3907, allocations: 2.439 MB / 0.7412 GB, free: 13.72 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.006148/0.3969, allocations: 2.657 MB / 0.7438 GB, free: 11.05 MB / 0.545 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001649/0.3985, allocations: 0.6949 MB / 0.7444 GB, free: 10.35 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.001286/0.3999, allocations: 0.7585 MB / 0.7452 GB, free: 9.59 MB / 0.545 GB Notification: Performance of Backend: time 9.42e-07/0.3999, allocations: 4 kB / 0.7452 GB, free: 9.586 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.01379/0.4137, allocations: 4.064 MB / 0.7492 GB, free: 5.488 MB / 0.545 GB Notification: Performance of SimCode: time 0.004724/0.4184, allocations: 3.161 MB / 0.7522 GB, free: 2.281 MB / 0.545 GB Notification: Performance of Templates: time 0.3033/0.7218, allocations: 38.74 MB / 0.7901 GB, free: 111.1 MB / 0.5606 GB make -j1 -f OpenIPSL_dev_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeVI_test.makefile (rm -f OpenIPSL_dev_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeVI_test.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeVI_test.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeVI_test.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeVI_test.sim & ./OpenIPSL_dev_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeVI_test -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_dev_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeVI_test.pipe 2>&1)