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") [:1:1-1:32:writable] Error: Class GC_set_max_heap_size not found in scope (looking for a function or record). Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo): time 0.2874/0.2874, allocations: 54.39 MB / 61.67 MB, free: 11.16 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.001401/0.001402, allocations: 191.1 kB / 75.37 MB, free: 1.477 MB / 58.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.519/1.519, allocations: 194.2 MB / 283.2 MB, free: 3.562 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.00186/0.00186, allocations: 114.1 kB / 341.3 MB, free: 9.441 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 1.134e-05/1.152e-05, allocations: 0 / 405 MB, free: 27.69 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1232/0.1232, allocations: 57.65 MB / 462.6 MB, free: 1.973 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3621/0.4854, allocations: 84.25 MB / 0.534 GB, free: 12.82 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002654/0.4857, allocations: 78.83 kB / 0.5341 GB, free: 12.77 MB / 378.7 MB Notification: Performance of FrontEnd: time 0.005795/0.4915, allocations: 1.688 MB / 0.5358 GB, free: 11.41 MB / 378.7 MB Notification: Performance of Transformations before backend: time 9.127e-06/0.4916, allocations: 0 / 0.5358 GB, free: 11.41 MB / 378.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.0003579/0.4919, allocations: 331.3 kB / 0.5361 GB, free: 11.05 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.429e-05/0.492, allocations: 11.97 kB / 0.5361 GB, free: 11.04 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.283e-05/0.492, allocations: 4 kB / 0.5361 GB, free: 11.04 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001381/0.4922, allocations: 163.6 kB / 0.5362 GB, free: 10.84 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.547e-05/0.4922, allocations: 0 / 0.5362 GB, free: 10.84 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.798e-05/0.4922, allocations: 8.531 kB / 0.5363 GB, free: 10.83 MB / 378.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 7.968e-05/0.4923, allocations: 13.86 kB / 0.5363 GB, free: 10.82 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.397e-05/0.4924, allocations: 41.31 kB / 0.5363 GB, free: 10.77 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.043e-05/0.4924, allocations: 4 kB / 0.5363 GB, free: 10.77 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.204e-05/0.4925, allocations: 3.938 kB / 0.5363 GB, free: 10.77 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.622e-06/0.4925, allocations: 0 / 0.5363 GB, free: 10.77 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000172/0.4927, allocations: 134.2 kB / 0.5364 GB, free: 10.6 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.874e-05/0.4927, allocations: 34.14 kB / 0.5365 GB, free: 10.57 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.567e-05/0.4928, allocations: 22.02 kB / 0.5365 GB, free: 10.55 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001112/0.4929, allocations: 85.09 kB / 0.5366 GB, free: 10.45 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.571e-05/0.4929, allocations: 30.56 kB / 0.5366 GB, free: 10.41 MB / 378.7 MB Notification: Performance of pre-optimization done (n=5): time 1.292e-06/0.4929, allocations: 0 / 0.5366 GB, free: 10.41 MB / 378.7 MB Notification: Performance of matching and sorting (n=7): time 0.001204/0.4942, allocations: 442 kB / 0.537 GB, free: 9.922 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.563e-05/0.4942, allocations: 52.03 kB / 0.5371 GB, free: 9.859 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.835e-05/0.4943, allocations: 85.69 kB / 0.5372 GB, free: 9.77 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.607e-05/0.4943, allocations: 29.7 kB / 0.5372 GB, free: 9.734 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.764e-05/0.4943, allocations: 80.83 kB / 0.5373 GB, free: 9.652 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.736e-05/0.4944, allocations: 22.33 kB / 0.5373 GB, free: 9.633 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.899e-06/0.4944, allocations: 0 / 0.5373 GB, free: 9.633 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001258/0.4945, allocations: 324.8 kB / 0.5376 GB, free: 9.309 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.585e-05/0.4946, allocations: 7.25 kB / 0.5376 GB, free: 9.305 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.124e-05/0.4946, allocations: 11.25 kB / 0.5376 GB, free: 9.297 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.362e-05/0.4947, allocations: 19.42 kB / 0.5376 GB, free: 9.281 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.21e-07/0.4947, allocations: 0 / 0.5376 GB, free: 9.281 MB / 378.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001243/0.4948, allocations: 60.56 kB / 0.5377 GB, free: 9.223 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.383e-05/0.4948, allocations: 4 kB / 0.5377 GB, free: 9.219 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.033e-06/0.4948, allocations: 64 / 0.5377 GB, free: 9.219 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.813e-05/0.4949, allocations: 11.94 kB / 0.5377 GB, free: 9.207 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.75e-05/0.4949, allocations: 11.98 kB / 0.5377 GB, free: 9.195 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.461e-06/0.495, allocations: 4 kB / 0.5377 GB, free: 9.191 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.955e-05/0.495, allocations: 11.89 kB / 0.5377 GB, free: 9.18 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.504e-06/0.495, allocations: 0.875 kB / 0.5377 GB, free: 9.18 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 () * 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 7.747e-05/0.4951, allocations: 101 kB / 0.5378 GB, free: 9.074 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.633e-05/0.4951, allocations: 4 kB / 0.5378 GB, free: 9.07 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001918/0.4953, allocations: 79.05 kB / 0.5379 GB, free: 9 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.618e-06/0.4953, allocations: 4 kB / 0.5379 GB, free: 8.996 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.318e-06/0.4953, allocations: 4 kB / 0.5379 GB, free: 8.992 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.198e-06/0.4953, allocations: 0 / 0.5379 GB, free: 8.992 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001071/0.4955, allocations: 142.6 kB / 0.5381 GB, free: 8.82 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.272e-06/0.4955, allocations: 0 / 0.5381 GB, free: 8.82 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.597e-05/0.4956, allocations: 12.88 kB / 0.5381 GB, free: 8.809 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.896e-06/0.4956, allocations: 0 / 0.5381 GB, free: 8.809 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.162e-05/0.4956, allocations: 4 kB / 0.5381 GB, free: 8.805 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.283e-06/0.4956, allocations: 0 / 0.5381 GB, free: 8.805 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.747e-06/0.4956, allocations: 3.906 kB / 0.5381 GB, free: 8.801 MB / 378.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001942/0.4958, allocations: 116.9 kB / 0.5382 GB, free: 8.684 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.549e-05/0.4959, allocations: 81.02 kB / 0.5383 GB, free: 8.586 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.531e-05/0.4959, allocations: 0 / 0.5383 GB, free: 8.586 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.288e-05/0.4959, allocations: 4 kB / 0.5383 GB, free: 8.582 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.957e-05/0.4959, allocations: 3.984 kB / 0.5383 GB, free: 8.578 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.725e-06/0.496, allocations: 4.562 kB / 0.5383 GB, free: 8.574 MB / 378.7 MB Notification: Performance of sort global known variables: time 3.744e-05/0.496, allocations: 75.84 kB / 0.5383 GB, free: 8.5 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0002422/0.4963, allocations: 44.56 kB / 0.5384 GB, free: 8.457 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 () * 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.0002551/0.4965, allocations: 143.9 kB / 0.5385 GB, free: 8.305 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 9.722e-05/0.4966, allocations: 36.12 kB / 0.5386 GB, free: 8.277 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.4966, allocations: 0 / 0.5386 GB, free: 8.277 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 2.89e-05/0.4967, allocations: 19.06 kB / 0.5386 GB, free: 8.262 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001186/0.4968, allocations: 3.906 kB / 0.5386 GB, free: 8.258 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002936/0.4971, allocations: 91.53 kB / 0.5387 GB, free: 8.152 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003161/0.4974, allocations: 0.7074 MB / 0.5394 GB, free: 7.418 MB / 378.7 MB Notification: Performance of SimCode: time 2.3e-07/0.4974, allocations: 0 / 0.5394 GB, free: 7.418 MB / 378.7 MB Notification: Performance of Templates: time 0.003068/0.5005, allocations: 0.8712 MB / 0.5402 GB, free: 6.562 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)