Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Annex60_1.0.0_Annex60.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.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.RegNonZeroPowerDerivative_2_Check,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check") translateModel(Annex60.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check") [: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.2778/0.2778, allocations: 54.39 MB / 61.67 MB, free: 11.14 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.001264/0.001264, allocations: 185.6 kB / 75.37 MB, free: 1.504 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.551/1.551, allocations: 194.2 MB / 283.2 MB, free: 3.496 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.001707/0.001707, allocations: 112.3 kB / 341.3 MB, free: 9.375 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 1.023e-05/1.066e-05, allocations: 4 kB / 405 MB, free: 27.66 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1273/0.1273, allocations: 57.64 MB / 462.6 MB, free: 1.953 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3609/0.4883, allocations: 84.8 MB / 0.5346 GB, free: 12.27 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002838/0.4886, allocations: 75.27 kB / 0.5346 GB, free: 12.23 MB / 378.7 MB Notification: Performance of FrontEnd: time 0.01502/0.5037, allocations: 4.684 MB / 0.5392 GB, free: 8.23 MB / 378.7 MB Notification: Performance of Transformations before backend: time 9.207e-06/0.5037, allocations: 0 / 0.5392 GB, free: 8.23 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.000407/0.5042, allocations: 354.3 kB / 0.5396 GB, free: 7.84 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.144e-05/0.5042, allocations: 11.97 kB / 0.5396 GB, free: 7.828 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.06e-05/0.5043, allocations: 4 kB / 0.5396 GB, free: 7.824 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001473/0.5045, allocations: 178.8 kB / 0.5397 GB, free: 7.609 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.427e-05/0.5045, allocations: 0 / 0.5397 GB, free: 7.609 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.869e-05/0.5045, allocations: 8 kB / 0.5398 GB, free: 7.602 MB / 378.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 9.747e-05/0.5046, allocations: 15.94 kB / 0.5398 GB, free: 7.586 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.422e-05/0.5047, allocations: 45.69 kB / 0.5398 GB, free: 7.535 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.116e-05/0.5048, allocations: 0 / 0.5398 GB, free: 7.535 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.157e-05/0.5048, allocations: 0 / 0.5398 GB, free: 7.535 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.25e-06/0.5048, allocations: 0 / 0.5398 GB, free: 7.535 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001894/0.505, allocations: 142.1 kB / 0.5399 GB, free: 7.359 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.356e-05/0.5051, allocations: 41.64 kB / 0.54 GB, free: 7.312 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.468e-05/0.5051, allocations: 25.09 kB / 0.54 GB, free: 7.285 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006849/0.5058, allocations: 465.5 kB / 0.5405 GB, free: 6.738 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.845e-05/0.5059, allocations: 34.56 kB / 0.5405 GB, free: 6.695 MB / 378.7 MB Notification: Performance of pre-optimization done (n=7): time 1.633e-06/0.5059, allocations: 0 / 0.5405 GB, free: 6.695 MB / 378.7 MB Notification: Performance of matching and sorting (n=11): time 0.001227/0.5071, allocations: 0.5169 MB / 0.541 GB, free: 6.086 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.193e-05/0.5072, allocations: 55.39 kB / 0.541 GB, free: 6.02 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.847e-05/0.5072, allocations: 92.94 kB / 0.5411 GB, free: 5.922 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.727e-05/0.5073, allocations: 25.7 kB / 0.5412 GB, free: 5.891 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.363e-05/0.5073, allocations: 84.14 kB / 0.5412 GB, free: 5.805 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.273e-05/0.5074, allocations: 35.45 kB / 0.5413 GB, free: 5.77 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.284e-06/0.5074, allocations: 0 / 0.5413 GB, free: 5.77 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001779/0.5076, allocations: 322.8 kB / 0.5416 GB, free: 5.441 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.024e-05/0.5076, allocations: 20 kB / 0.5416 GB, free: 5.422 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.431e-05/0.5077, allocations: 17.38 kB / 0.5416 GB, free: 5.406 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.597e-05/0.5077, allocations: 23.98 kB / 0.5416 GB, free: 5.383 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.91e-07/0.5077, allocations: 0 / 0.5416 GB, free: 5.383 MB / 378.7 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.000186/0.5079, allocations: 86.09 kB / 0.5417 GB, free: 5.293 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.762e-05/0.508, allocations: 8 kB / 0.5417 GB, free: 5.285 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.317e-06/0.508, allocations: 3.984 kB / 0.5417 GB, free: 5.281 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.197e-05/0.508, allocations: 0 / 0.5417 GB, free: 5.281 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000112/0.5081, allocations: 16 kB / 0.5417 GB, free: 5.266 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.178e-05/0.5081, allocations: 15.84 kB / 0.5418 GB, free: 5.25 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.546e-05/0.5082, allocations: 0 / 0.5418 GB, free: 5.25 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.042e-05/0.5082, allocations: 4.078 kB / 0.5418 GB, free: 5.246 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 (13): * Single equations (assignments): 13 * 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 8.683e-05/0.5083, allocations: 109.3 kB / 0.5419 GB, free: 5.133 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.075e-05/0.5083, allocations: 8.094 kB / 0.5419 GB, free: 5.125 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002366/0.5086, allocations: 97.66 kB / 0.542 GB, free: 5.027 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.545e-06/0.5086, allocations: 0 / 0.542 GB, free: 5.027 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.418e-06/0.5086, allocations: 0 / 0.542 GB, free: 5.027 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.78e-06/0.5086, allocations: 8 kB / 0.542 GB, free: 5.02 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004335/0.509, allocations: 319 kB / 0.5423 GB, free: 4.664 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.613e-06/0.509, allocations: 0 / 0.5423 GB, free: 4.664 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001298/0.5092, allocations: 31.98 kB / 0.5423 GB, free: 4.633 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.906e-06/0.5092, allocations: 0 / 0.5423 GB, free: 4.633 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.929e-06/0.5092, allocations: 0 / 0.5423 GB, free: 4.633 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.814e-06/0.5092, allocations: 0 / 0.5423 GB, free: 4.633 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.194e-06/0.5092, allocations: 0 / 0.5423 GB, free: 4.633 MB / 378.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002967/0.5095, allocations: 216.6 kB / 0.5425 GB, free: 4.406 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.248e-05/0.5096, allocations: 93 kB / 0.5426 GB, free: 4.297 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.739e-05/0.5096, allocations: 0 / 0.5426 GB, free: 4.297 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.685e-05/0.5097, allocations: 0 / 0.5426 GB, free: 4.297 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.257e-05/0.5097, allocations: 7.984 kB / 0.5426 GB, free: 4.289 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.837e-06/0.5098, allocations: 4 kB / 0.5426 GB, free: 4.285 MB / 378.7 MB Notification: Performance of sort global known variables: time 4.378e-05/0.5098, allocations: 79.28 kB / 0.5427 GB, free: 4.207 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003034/0.5101, allocations: 55.92 kB / 0.5428 GB, free: 4.152 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (y_comp,der_y_comp) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (11): * Single equations (assignments): 11 * 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.0002966/0.5104, allocations: 159.1 kB / 0.5429 GB, free: 3.984 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0001286/0.5106, allocations: 59.92 kB / 0.543 GB, free: 3.926 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.234e-06/0.5106, allocations: 0 / 0.543 GB, free: 3.926 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 4.491e-05/0.5106, allocations: 35.94 kB / 0.543 GB, free: 3.891 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001468/0.5108, allocations: 3.984 kB / 0.543 GB, free: 3.887 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003363/0.5111, allocations: 117.1 kB / 0.5431 GB, free: 3.75 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003215/0.5114, allocations: 0.7114 MB / 0.5438 GB, free: 3.012 MB / 378.7 MB Notification: Performance of SimCode: time 2.51e-07/0.5115, allocations: 0 / 0.5438 GB, free: 3.012 MB / 378.7 MB Notification: Performance of Templates: time 0.003995/0.5155, allocations: 1.473 MB / 0.5452 GB, free: 1.547 MB / 378.7 MB make -j1 -f Annex60_1.0.0_Annex60.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.makefile (rm -f Annex60_1.0.0_Annex60.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.pipe ; mkfifo Annex60_1.0.0_Annex60.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.pipe ; head -c 1048576 < Annex60_1.0.0_Annex60.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.pipe >> ../files/Annex60_1.0.0_Annex60.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.sim & ./Annex60_1.0.0_Annex60.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check -abortSlowSimulation -alarm=480 -lv LOG_STATS > Annex60_1.0.0_Annex60.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.pipe 2>&1)