Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Annex60_1.0.0_Annex60.Utilities.Math.Functions.Examples.InverseXDerivative_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.InverseXDerivative_2_Check,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check") translateModel(Annex60.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.Utilities.Math.Functions.Examples.InverseXDerivative_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.304/0.304, 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.001538/0.001538, allocations: 192.2 kB / 75.38 MB, free: 1.492 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.307/1.307, allocations: 194.2 MB / 283.2 MB, free: 3.5 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.001753/0.001753, allocations: 110.1 kB / 341.3 MB, free: 9.383 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 8.456e-06/8.596e-06, allocations: 4 kB / 405 MB, free: 27.68 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1405/0.1405, allocations: 57.65 MB / 462.6 MB, free: 1.961 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4036/0.5442, allocations: 85.43 MB / 0.5352 GB, free: 11.64 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003061/0.5445, allocations: 84.56 kB / 0.5353 GB, free: 11.59 MB / 378.7 MB Notification: Performance of FrontEnd: time 0.01412/0.5587, allocations: 4.144 MB / 0.5393 GB, free: 8.145 MB / 378.7 MB Notification: Performance of Transformations before backend: time 8.415e-06/0.5587, allocations: 4.938 kB / 0.5393 GB, free: 8.141 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.0004514/0.5592, allocations: 373.7 kB / 0.5397 GB, free: 7.734 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.291e-05/0.5593, allocations: 15.95 kB / 0.5397 GB, free: 7.719 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000453/0.5597, allocations: 72.42 kB / 0.5398 GB, free: 7.648 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002739/0.56, allocations: 167.5 kB / 0.5399 GB, free: 7.445 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.478e-05/0.56, allocations: 0 / 0.5399 GB, free: 7.445 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.508e-05/0.5601, allocations: 8.484 kB / 0.5399 GB, free: 7.438 MB / 378.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001541/0.5603, allocations: 28.48 kB / 0.54 GB, free: 7.414 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001516/0.5604, allocations: 53.61 kB / 0.54 GB, free: 7.355 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.473e-05/0.5604, allocations: 4 kB / 0.54 GB, free: 7.352 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.723e-05/0.5605, allocations: 3.938 kB / 0.54 GB, free: 7.348 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.276e-06/0.5605, allocations: 0 / 0.54 GB, free: 7.348 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000235/0.5607, allocations: 150.1 kB / 0.5402 GB, free: 7.164 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001038/0.5608, allocations: 45.66 kB / 0.5402 GB, free: 7.113 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.223e-05/0.5609, allocations: 32.84 kB / 0.5402 GB, free: 7.078 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.63e-05/0.5609, allocations: 0 / 0.5402 GB, free: 7.078 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.861e-05/0.561, allocations: 34.56 kB / 0.5403 GB, free: 7.035 MB / 378.7 MB Notification: Performance of pre-optimization done (n=7): time 8.81e-07/0.561, allocations: 0 / 0.5403 GB, free: 7.035 MB / 378.7 MB Notification: Performance of matching and sorting (n=11): time 0.007365/0.5683, allocations: 1.903 MB / 0.5421 GB, free: 5.004 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.248e-05/0.5684, allocations: 51.41 kB / 0.5422 GB, free: 4.941 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.541e-05/0.5685, allocations: 89 kB / 0.5423 GB, free: 4.848 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.501e-05/0.5685, allocations: 29.83 kB / 0.5423 GB, free: 4.812 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.97e-05/0.5686, allocations: 80.14 kB / 0.5424 GB, free: 4.73 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.512e-05/0.5686, allocations: 39.45 kB / 0.5424 GB, free: 4.691 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.505e-05/0.5687, allocations: 0 / 0.5424 GB, free: 4.691 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001434/0.5688, allocations: 318.8 kB / 0.5427 GB, free: 4.371 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.381e-05/0.5689, allocations: 32 kB / 0.5427 GB, free: 4.34 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.264e-05/0.569, allocations: 37.48 kB / 0.5428 GB, free: 4.305 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001056/0.5691, allocations: 39.92 kB / 0.5428 GB, free: 4.266 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.32e-07/0.5691, allocations: 0 / 0.5428 GB, free: 4.266 MB / 378.7 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002962/0.5694, allocations: 138 kB / 0.5429 GB, free: 4.125 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.253e-05/0.5695, allocations: 4 kB / 0.5429 GB, free: 4.121 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.115e-05/0.5695, allocations: 0 / 0.5429 GB, free: 4.121 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.402e-05/0.5695, allocations: 0 / 0.5429 GB, free: 4.121 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004212/0.5699, allocations: 75.94 kB / 0.543 GB, free: 4.047 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.358e-06/0.57, allocations: 0 / 0.543 GB, free: 4.047 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002886/0.5703, allocations: 55.95 kB / 0.5431 GB, free: 3.992 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.12e-05/0.5703, allocations: 7.984 kB / 0.5431 GB, free: 3.984 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 0.000122/0.5704, allocations: 104.9 kB / 0.5432 GB, free: 3.875 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.705e-05/0.5705, allocations: 4 kB / 0.5432 GB, free: 3.871 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.832e-05/0.5705, allocations: 11.97 kB / 0.5432 GB, free: 3.863 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.238e-06/0.5705, allocations: 11.94 kB / 0.5432 GB, free: 3.852 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.581e-06/0.5705, allocations: 0 / 0.5432 GB, free: 3.852 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.118e-06/0.5706, allocations: 0 / 0.5432 GB, free: 3.852 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007204/0.5713, allocations: 398.7 kB / 0.5436 GB, free: 3.414 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.623e-06/0.5713, allocations: 4 kB / 0.5436 GB, free: 3.41 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004253/0.5717, allocations: 83.92 kB / 0.5437 GB, free: 3.328 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.665e-06/0.5717, allocations: 0 / 0.5437 GB, free: 3.328 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.544e-05/0.5718, allocations: 4 kB / 0.5437 GB, free: 3.324 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.206e-06/0.5718, allocations: 3.938 kB / 0.5437 GB, free: 3.32 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.465e-06/0.5718, allocations: 0 / 0.5437 GB, free: 3.32 MB / 378.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.000438/0.5722, allocations: 271.5 kB / 0.5439 GB, free: 3.039 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.904e-05/0.5723, allocations: 104.9 kB / 0.544 GB, free: 2.918 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.768e-05/0.5724, allocations: 0 / 0.544 GB, free: 2.918 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003418/0.5727, allocations: 52.02 kB / 0.5441 GB, free: 2.867 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.476e-05/0.5728, allocations: 11.98 kB / 0.5441 GB, free: 2.855 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.911e-05/0.5728, allocations: 8.094 kB / 0.5441 GB, free: 2.848 MB / 378.7 MB Notification: Performance of sort global known variables: time 5.141e-05/0.5729, allocations: 79.22 kB / 0.5442 GB, free: 2.77 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0004304/0.5733, allocations: 123.8 kB / 0.5443 GB, free: 2.648 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.0005009/0.5738, allocations: 199 kB / 0.5445 GB, free: 2.441 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0002509/0.5741, allocations: 84.48 kB / 0.5446 GB, free: 2.359 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.324e-06/0.5741, allocations: 0 / 0.5446 GB, free: 2.359 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001169/0.5742, allocations: 55.92 kB / 0.5446 GB, free: 2.305 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001591/0.5744, allocations: 11.8 kB / 0.5446 GB, free: 2.293 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002011/0.5764, allocations: 0.492 MB / 0.5451 GB, free: 1.777 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004774/0.5769, allocations: 0.7348 MB / 0.5458 GB, free: 1.016 MB / 378.7 MB Notification: Performance of SimCode: time 2.41e-07/0.5769, allocations: 4 kB / 0.5458 GB, free: 1.012 MB / 378.7 MB Notification: Performance of Templates: time 0.006192/0.5831, allocations: 3.017 MB / 0.5488 GB, free: 13.99 MB / 394.7 MB make -j1 -f Annex60_1.0.0_Annex60.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.makefile (rm -f Annex60_1.0.0_Annex60.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.pipe ; mkfifo Annex60_1.0.0_Annex60.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.pipe ; head -c 1048576 < Annex60_1.0.0_Annex60.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.pipe >> ../files/Annex60_1.0.0_Annex60.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.sim & ./Annex60_1.0.0_Annex60.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check -abortSlowSimulation -alarm=480 -lv LOG_STATS > Annex60_1.0.0_Annex60.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.pipe 2>&1)