Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Annex60_1.0.0_Annex60.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo) Using package Modelica with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo) Using package Complex with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo) Using package Annex60 with version 1.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo) Running command: translateModel(Annex60.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck") translateModel(Annex60.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo): time 0.3006/0.3006, allocations: 55.02 MB / 69.97 MB, free: 8.648 MB / 58.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.001181/0.001181, allocations: 194.6 kB / 83.98 MB, free: 10.82 MB / 74.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.714/1.714, allocations: 194.4 MB / 292.3 MB, free: 3.602 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.002185/0.002184, allocations: 104.7 kB / 350.7 MB, free: 9.117 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003767/0.0003767, allocations: 12 kB / 418.9 MB, free: 37.02 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1319/0.1323, allocations: 57.65 MB / 476.5 MB, free: 11.3 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4542/0.5865, allocations: 85.09 MB / 0.5485 GB, free: 3.824 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002273/0.5868, allocations: 73.89 kB / 0.5485 GB, free: 3.781 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.004833/0.5917, allocations: 2.027 MB / 0.5505 GB, free: 2.066 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.234e-06/0.5917, allocations: 0 / 0.5505 GB, free: 2.066 MB / 362.7 MB Notification: Performance of Transformations before backend: time 7.794e-06/0.5917, allocations: 4 kB / 0.5505 GB, free: 2.062 MB / 362.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0002646/0.592, allocations: 335.1 kB / 0.5508 GB, free: 1.691 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.896e-05/0.592, allocations: 8.031 kB / 0.5508 GB, free: 1.684 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.855e-05/0.5921, allocations: 4 kB / 0.5508 GB, free: 1.68 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.586e-05/0.5922, allocations: 163.1 kB / 0.551 GB, free: 1.48 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.568e-05/0.5922, allocations: 0 / 0.551 GB, free: 1.48 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.647e-05/0.5922, allocations: 11.94 kB / 0.551 GB, free: 1.469 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001131/0.5924, allocations: 56.52 kB / 0.5511 GB, free: 1.418 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.336e-06/0.5924, allocations: 0 / 0.5511 GB, free: 1.418 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.482e-05/0.5924, allocations: 0 / 0.5511 GB, free: 1.418 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.841e-06/0.5924, allocations: 3.938 kB / 0.5511 GB, free: 1.414 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.369e-05/0.5925, allocations: 15.73 kB / 0.5511 GB, free: 1.402 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001366/0.5926, allocations: 157 kB / 0.5512 GB, free: 1.203 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.046e-05/0.5927, allocations: 50.19 kB / 0.5513 GB, free: 1.152 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.983e-05/0.5928, allocations: 81.11 kB / 0.5514 GB, free: 1.055 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.173e-05/0.5928, allocations: 34.56 kB / 0.5514 GB, free: 1.012 MB / 362.7 MB Notification: Performance of pre-optimization done (n=5): time 1.212e-06/0.5928, allocations: 0 / 0.5514 GB, free: 1.012 MB / 362.7 MB Notification: Performance of matching and sorting (n=7): time 0.001157/0.594, allocations: 481.2 kB / 0.5518 GB, free: 0.5 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.949e-05/0.594, allocations: 51.41 kB / 0.5519 GB, free: 448 kB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.625e-05/0.5941, allocations: 91.62 kB / 0.552 GB, free: 352 kB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.174e-05/0.5941, allocations: 25.83 kB / 0.552 GB, free: 320 kB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 1.825e-05/0.5941, allocations: 84.14 kB / 0.5521 GB, free: 232 kB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.454e-05/0.5942, allocations: 33.36 kB / 0.5521 GB, free: 204 kB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.008e-06/0.5942, allocations: 0 / 0.5521 GB, free: 204 kB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001104/0.5943, allocations: 310.8 kB / 0.5524 GB, free: 15.89 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.955e-05/0.5943, allocations: 15.17 kB / 0.5524 GB, free: 15.88 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.112e-05/0.5944, allocations: 11.19 kB / 0.5524 GB, free: 15.87 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.706e-05/0.5944, allocations: 18.44 kB / 0.5525 GB, free: 15.86 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.71e-07/0.5944, allocations: 0 / 0.5525 GB, free: 15.86 MB / 378.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001165/0.5945, allocations: 67.17 kB / 0.5525 GB, free: 15.79 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.737e-05/0.5946, allocations: 11.98 kB / 0.5525 GB, free: 15.78 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.254e-06/0.5946, allocations: 4 kB / 0.5525 GB, free: 15.78 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.514e-05/0.5946, allocations: 3.953 kB / 0.5525 GB, free: 15.77 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.578e-05/0.5947, allocations: 12 kB / 0.5526 GB, free: 15.76 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.891e-06/0.5947, allocations: 0 / 0.5526 GB, free: 15.76 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.876e-05/0.5947, allocations: 7.812 kB / 0.5526 GB, free: 15.76 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.933e-06/0.5948, allocations: 0 / 0.5526 GB, free: 15.76 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * 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 (8): * Single equations (assignments): 8 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001064/0.5949, allocations: 117.5 kB / 0.5527 GB, free: 15.64 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.822e-05/0.5949, allocations: 3.984 kB / 0.5527 GB, free: 15.63 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000211/0.5951, allocations: 88.53 kB / 0.5528 GB, free: 15.55 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.854e-06/0.5951, allocations: 4 kB / 0.5528 GB, free: 15.55 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.793e-06/0.5952, allocations: 3.953 kB / 0.5528 GB, free: 15.55 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.807e-06/0.5952, allocations: 0 / 0.5528 GB, free: 15.55 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001402/0.5953, allocations: 160.7 kB / 0.5529 GB, free: 15.35 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.232e-06/0.5953, allocations: 3.938 kB / 0.5529 GB, free: 15.34 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.532e-05/0.5954, allocations: 19.92 kB / 0.5529 GB, free: 15.32 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.004e-06/0.5954, allocations: 0 / 0.5529 GB, free: 15.32 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.286e-06/0.5954, allocations: 0 / 0.5529 GB, free: 15.32 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.323e-06/0.5954, allocations: 4 kB / 0.5529 GB, free: 15.32 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.22e-07/0.5955, allocations: 4 kB / 0.5529 GB, free: 15.32 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001762/0.5956, allocations: 115.2 kB / 0.5531 GB, free: 15.2 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.711e-05/0.5957, allocations: 77.11 kB / 0.5531 GB, free: 15.11 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.526e-05/0.5957, allocations: 0 / 0.5531 GB, free: 15.11 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.168e-05/0.5958, allocations: 7.906 kB / 0.5531 GB, free: 15.11 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.623e-05/0.5958, allocations: 7.922 kB / 0.5531 GB, free: 15.1 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.184e-06/0.5958, allocations: 8.062 kB / 0.5532 GB, free: 15.09 MB / 378.7 MB Notification: Performance of sorting global known variables: time 3.443e-05/0.5958, allocations: 79.23 kB / 0.5532 GB, free: 15.01 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.5958, allocations: 0 / 0.5532 GB, free: 15.01 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0002266/0.5961, allocations: 47.42 kB / 0.5533 GB, free: 14.97 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (y) * 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 (8): * Single equations (assignments): 8 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002157/0.5963, allocations: 135.1 kB / 0.5534 GB, free: 14.83 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0001113/0.5964, allocations: 43.28 kB / 0.5534 GB, free: 14.79 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.5964, allocations: 4 kB / 0.5535 GB, free: 14.79 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 3.525e-05/0.5965, allocations: 27.59 kB / 0.5535 GB, free: 14.77 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001134/0.5966, allocations: 11.12 kB / 0.5535 GB, free: 14.76 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000329/0.5969, allocations: 143.8 kB / 0.5536 GB, free: 14.6 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002946/0.5972, allocations: 0.6887 MB / 0.5543 GB, free: 13.89 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 5.266e-05/0.5973, allocations: 12.17 kB / 0.5543 GB, free: 13.87 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.347e-05/0.5973, allocations: 11.44 kB / 0.5543 GB, free: 13.86 MB / 378.7 MB Notification: Performance of SimCode: time 2.5e-07/0.5973, allocations: 0 / 0.5543 GB, free: 13.86 MB / 378.7 MB Notification: Performance of Templates: time 0.003023/0.6004, allocations: 0.7168 MB / 0.555 GB, free: 13.16 MB / 378.7 MB make -j1 -f Annex60_1.0.0_Annex60.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck.makefile (rm -f Annex60_1.0.0_Annex60.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck.pipe ; mkfifo Annex60_1.0.0_Annex60.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck.pipe ; head -c 1048576 < Annex60_1.0.0_Annex60.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck.pipe >> ../files/Annex60_1.0.0_Annex60.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck.sim & ./Annex60_1.0.0_Annex60.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck -abortSlowSimulation -alarm=480 -lv LOG_STATS > Annex60_1.0.0_Annex60.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck.pipe 2>&1)