Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Annex60_1.0.0_Annex60.Utilities.Math.Functions.Examples.RegNonZeroPower.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.RegNonZeroPower,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.Utilities.Math.Functions.Examples.RegNonZeroPower") translateModel(Annex60.Utilities.Math.Functions.Examples.RegNonZeroPower,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.Utilities.Math.Functions.Examples.RegNonZeroPower") [: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.2825/0.2825, allocations: 54.39 MB / 61.68 MB, free: 11.17 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.001482/0.001482, allocations: 186.7 kB / 75.38 MB, free: 1.484 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.549/1.549, 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.001859/0.001859, allocations: 112.1 kB / 341.3 MB, free: 9.379 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 8.306e-06/8.336e-06, allocations: 4 kB / 405 MB, free: 27.69 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1282/0.1282, allocations: 57.64 MB / 462.6 MB, free: 1.977 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3589/0.4872, allocations: 84.55 MB / 0.5343 GB, free: 12.54 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002012/0.4874, allocations: 70.64 kB / 0.5344 GB, free: 12.5 MB / 378.7 MB Notification: Performance of FrontEnd: time 0.01144/0.4989, allocations: 3.633 MB / 0.5379 GB, free: 9.516 MB / 378.7 MB Notification: Performance of Transformations before backend: time 6.753e-06/0.4989, allocations: 4 kB / 0.5379 GB, free: 9.512 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: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0003462/0.4993, allocations: 335.3 kB / 0.5383 GB, free: 9.141 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.639e-05/0.4993, allocations: 16.7 kB / 0.5383 GB, free: 9.125 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.616e-05/0.4994, allocations: 7.031 kB / 0.5383 GB, free: 9.121 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001227/0.4996, allocations: 159.1 kB / 0.5384 GB, free: 8.926 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.467e-05/0.4996, allocations: 3.938 kB / 0.5384 GB, free: 8.922 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.072e-05/0.4996, allocations: 4 kB / 0.5384 GB, free: 8.918 MB / 378.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 5.942e-05/0.4997, allocations: 0 / 0.5384 GB, free: 8.918 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 6.584e-05/0.4997, allocations: 25.7 kB / 0.5385 GB, free: 8.887 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.745e-06/0.4998, allocations: 0 / 0.5385 GB, free: 8.887 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.778e-06/0.4998, allocations: 7.938 kB / 0.5385 GB, free: 8.879 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.082e-06/0.4998, allocations: 4 kB / 0.5385 GB, free: 8.875 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001638/0.5, allocations: 130.1 kB / 0.5386 GB, free: 8.711 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.17e-05/0.5, allocations: 14.58 kB / 0.5386 GB, free: 8.688 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.36e-05/0.5, allocations: 16.14 kB / 0.5386 GB, free: 8.672 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005154/0.5006, allocations: 421.5 kB / 0.539 GB, free: 8.168 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.216e-05/0.5006, allocations: 34.5 kB / 0.5391 GB, free: 8.125 MB / 378.7 MB Notification: Performance of pre-optimization done (n=1): time 1.202e-06/0.5006, allocations: 0 / 0.5391 GB, free: 8.125 MB / 378.7 MB Notification: Performance of matching and sorting (n=1): time 0.0001966/0.5008, allocations: 32.89 kB / 0.5391 GB, free: 8.09 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.035e-05/0.5009, allocations: 51.41 kB / 0.5391 GB, free: 8.027 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.285e-05/0.5009, allocations: 85 kB / 0.5392 GB, free: 7.938 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.343e-05/0.5009, allocations: 29.7 kB / 0.5393 GB, free: 7.902 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.516e-05/0.501, allocations: 84.17 kB / 0.5393 GB, free: 7.816 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.354e-05/0.501, allocations: 3.906 kB / 0.5393 GB, free: 7.812 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.144e-06/0.501, allocations: 0 / 0.5393 GB, free: 7.812 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.000122/0.5011, allocations: 310.8 kB / 0.5396 GB, free: 7.5 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.165e-06/0.5012, allocations: 0 / 0.5396 GB, free: 7.5 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.915e-06/0.5012, allocations: 4 kB / 0.5396 GB, free: 7.496 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.994e-05/0.5012, allocations: 3.984 kB / 0.5396 GB, free: 7.492 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.904e-06/0.5012, allocations: 0 / 0.5396 GB, free: 7.492 MB / 378.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 8.896e-05/0.5013, allocations: 41.02 kB / 0.5397 GB, free: 7.449 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.846e-05/0.5013, allocations: 8 kB / 0.5397 GB, free: 7.441 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.571e-06/0.5014, allocations: 0 / 0.5397 GB, free: 7.441 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.211e-05/0.5014, allocations: 0 / 0.5397 GB, free: 7.441 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.711e-05/0.5014, allocations: 0 / 0.5397 GB, free: 7.441 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.749e-06/0.5014, allocations: 0 / 0.5397 GB, free: 7.441 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.134e-05/0.5014, allocations: 0 / 0.5397 GB, free: 7.441 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.887e-06/0.5015, allocations: 8.609 kB / 0.5397 GB, free: 7.434 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 (1): * Single equations (assignments): 1 * 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.077e-05/0.5015, allocations: 101 kB / 0.5398 GB, free: 7.328 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.26e-05/0.5016, allocations: 0 / 0.5398 GB, free: 7.328 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000118/0.5017, allocations: 48.66 kB / 0.5398 GB, free: 7.277 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.821e-06/0.5017, allocations: 8 kB / 0.5399 GB, free: 7.27 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.869e-06/0.5017, allocations: 0 / 0.5399 GB, free: 7.27 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.37e-06/0.5017, allocations: 0 / 0.5399 GB, free: 7.27 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.307e-05/0.5018, allocations: 130.1 kB / 0.54 GB, free: 7.105 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.336e-06/0.5018, allocations: 3.984 kB / 0.54 GB, free: 7.102 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.563e-05/0.5019, allocations: 4 kB / 0.54 GB, free: 7.098 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.154e-06/0.5019, allocations: 0 / 0.54 GB, free: 7.098 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.041e-06/0.5019, allocations: 4.031 kB / 0.54 GB, free: 7.094 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.737e-06/0.5019, allocations: 0 / 0.54 GB, free: 7.094 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.114e-06/0.5019, allocations: 3.938 kB / 0.54 GB, free: 7.09 MB / 378.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001024/0.502, allocations: 60.42 kB / 0.54 GB, free: 7.016 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.301e-05/0.502, allocations: 85.03 kB / 0.5401 GB, free: 6.914 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.118e-05/0.5021, allocations: 0 / 0.5401 GB, free: 6.914 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.117e-06/0.5021, allocations: 3.984 kB / 0.5401 GB, free: 6.91 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.566e-05/0.5021, allocations: 4.031 kB / 0.5401 GB, free: 6.906 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.144e-06/0.5021, allocations: 0 / 0.5401 GB, free: 6.906 MB / 378.7 MB Notification: Performance of sort global known variables: time 2.938e-05/0.5021, allocations: 75.28 kB / 0.5402 GB, free: 6.832 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0002032/0.5023, allocations: 15.94 kB / 0.5402 GB, free: 6.816 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (1): * Single equations (assignments): 1 * 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.0001955/0.5025, allocations: 114.5 kB / 0.5403 GB, free: 6.699 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 5.62e-05/0.5026, allocations: 7.938 kB / 0.5403 GB, free: 6.691 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.375e-06/0.5026, allocations: 0 / 0.5403 GB, free: 6.691 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 4.588e-06/0.5026, allocations: 0 / 0.5403 GB, free: 6.691 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.407e-05/0.5027, allocations: 8.031 kB / 0.5403 GB, free: 6.684 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001623/0.5029, allocations: 45.69 kB / 0.5404 GB, free: 6.617 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002689/0.5032, allocations: 0.688 MB / 0.5411 GB, free: 5.902 MB / 378.7 MB Notification: Performance of SimCode: time 2.3e-07/0.5032, allocations: 0 / 0.5411 GB, free: 5.902 MB / 378.7 MB Notification: Performance of Templates: time 0.00229/0.5055, allocations: 442.2 kB / 0.5415 GB, free: 5.48 MB / 378.7 MB make -j1 -f Annex60_1.0.0_Annex60.Utilities.Math.Functions.Examples.RegNonZeroPower.makefile (rm -f Annex60_1.0.0_Annex60.Utilities.Math.Functions.Examples.RegNonZeroPower.pipe ; mkfifo Annex60_1.0.0_Annex60.Utilities.Math.Functions.Examples.RegNonZeroPower.pipe ; head -c 1048576 < Annex60_1.0.0_Annex60.Utilities.Math.Functions.Examples.RegNonZeroPower.pipe >> ../files/Annex60_1.0.0_Annex60.Utilities.Math.Functions.Examples.RegNonZeroPower.sim & ./Annex60_1.0.0_Annex60.Utilities.Math.Functions.Examples.RegNonZeroPower -abortSlowSimulation -alarm=480 -lv LOG_STATS > Annex60_1.0.0_Annex60.Utilities.Math.Functions.Examples.RegNonZeroPower.pipe 2>&1)