Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: translateModel(IDEAS.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check") translateModel(IDEAS.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.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/Complex 4.0.0+maint.om/package.mo): time 0.001665/0.001665, allocations: 172.5 kB / 7.457 MB, free: 2.488 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.5977/0.5977, allocations: 133.5 MB / 141.4 MB, free: 15.71 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.111/1.111, allocations: 221.3 MB / 395 MB, free: 10.15 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007934/0.0007935, allocations: 94.09 kB / 477.8 MB, free: 10.8 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 8.355e-06/8.385e-06, allocations: 3.531 kB / 0.5529 GB, free: 89.21 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1173/0.1173, allocations: 82.3 MB / 0.6332 GB, free: 14.09 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3343/0.4516, allocations: 112 MB / 0.7426 GB, free: 10.76 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001856/0.4518, allocations: 76.97 kB / 0.7427 GB, free: 10.76 MB / 0.4948 GB Notification: Performance of FrontEnd: time 0.01448/0.4663, allocations: 5.188 MB / 0.7478 GB, free: 10.43 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 9.638e-06/0.4664, allocations: 0 / 0.7478 GB, free: 10.43 MB / 0.4948 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 13 * Number of variables: 13 Notification: Performance of Generate backend data structure: time 0.0005863/0.467, allocations: 400.3 kB / 0.7482 GB, free: 26.03 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 4.957e-05/0.467, allocations: 11.28 kB / 0.7482 GB, free: 26.03 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004011/0.4674, allocations: 74.59 kB / 0.7482 GB, free: 26.02 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001143/0.4676, allocations: 168.4 kB / 0.7484 GB, free: 25.82 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.671e-05/0.4676, allocations: 3.844 kB / 0.7484 GB, free: 25.82 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.167e-05/0.4676, allocations: 7.781 kB / 0.7484 GB, free: 25.82 MB / 0.5105 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001109/0.4677, allocations: 43.14 kB / 0.7484 GB, free: 25.81 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001258/0.4679, allocations: 63.56 kB / 0.7485 GB, free: 25.78 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.233e-05/0.4679, allocations: 4.703 kB / 0.7485 GB, free: 25.78 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.426e-05/0.4679, allocations: 0 / 0.7485 GB, free: 25.78 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.781e-06/0.4679, allocations: 3.844 kB / 0.7485 GB, free: 25.78 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005175/0.4685, allocations: 313.5 kB / 0.7488 GB, free: 25.53 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 8.597e-05/0.4685, allocations: 46.11 kB / 0.7489 GB, free: 25.51 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.823e-05/0.4686, allocations: 23.69 kB / 0.7489 GB, free: 25.5 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 1.684e-05/0.4686, allocations: 0.6094 kB / 0.7489 GB, free: 25.5 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2e-05/0.4686, allocations: 30.56 kB / 0.7489 GB, free: 25.46 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=7): time 1.232e-06/0.4686, allocations: 0 / 0.7489 GB, free: 25.46 MB / 0.5105 GB Notification: Performance of matching and sorting (n=11): time 0.01415/0.4828, allocations: 2.19 MB / 0.751 GB, free: 24.92 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.937e-05/0.4829, allocations: 56.62 kB / 0.7511 GB, free: 24.85 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.45e-05/0.4829, allocations: 96.84 kB / 0.7512 GB, free: 24.76 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 4.804e-05/0.483, allocations: 25.7 kB / 0.7512 GB, free: 24.73 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 2.984e-05/0.483, allocations: 90.16 kB / 0.7513 GB, free: 24.64 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 5.814e-05/0.4831, allocations: 33.75 kB / 0.7513 GB, free: 24.62 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.851e-05/0.4831, allocations: 0 / 0.7513 GB, free: 24.62 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 8.11e-05/0.4832, allocations: 320.5 kB / 0.7516 GB, free: 24.3 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002107/0.4834, allocations: 110.1 kB / 0.7517 GB, free: 24.3 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002085/0.4836, allocations: 117.4 kB / 0.7519 GB, free: 24.3 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003205/0.484, allocations: 138.3 kB / 0.752 GB, free: 24.29 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.072e-06/0.484, allocations: 0 / 0.752 GB, free: 24.29 MB / 0.5105 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0007437/0.4847, allocations: 336.1 kB / 0.7523 GB, free: 24.25 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.312e-05/0.4848, allocations: 5.281 kB / 0.7523 GB, free: 24.25 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.791e-06/0.4848, allocations: 0 / 0.7523 GB, free: 24.25 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.217e-05/0.4848, allocations: 1.344 kB / 0.7523 GB, free: 24.25 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008824/0.4857, allocations: 129.2 kB / 0.7524 GB, free: 24.25 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.358e-06/0.4857, allocations: 1.312 kB / 0.7524 GB, free: 24.25 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006489/0.4863, allocations: 62.88 kB / 0.7525 GB, free: 24.24 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.098e-05/0.4864, allocations: 26.34 kB / 0.7525 GB, free: 24.24 MB / 0.5105 GB 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.000131/0.4865, allocations: 102.2 kB / 0.7526 GB, free: 24.13 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.783e-05/0.4866, allocations: 6.406 kB / 0.7526 GB, free: 24.13 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.197e-05/0.4867, allocations: 9.125 kB / 0.7526 GB, free: 24.12 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.317e-06/0.4867, allocations: 1.25 kB / 0.7526 GB, free: 24.12 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.08e-06/0.4867, allocations: 0 / 0.7526 GB, free: 24.12 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.317e-06/0.4867, allocations: 9.188 kB / 0.7527 GB, free: 24.11 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001266/0.488, allocations: 0.8806 MB / 0.7535 GB, free: 23.59 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.373e-06/0.488, allocations: 3.938 kB / 0.7535 GB, free: 23.59 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008933/0.4889, allocations: 129.8 kB / 0.7536 GB, free: 23.57 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.046e-06/0.4889, allocations: 0 / 0.7536 GB, free: 23.57 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.684e-05/0.4889, allocations: 22.12 kB / 0.7537 GB, free: 23.57 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.663e-06/0.4889, allocations: 0 / 0.7537 GB, free: 23.57 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.096e-06/0.489, allocations: 9.188 kB / 0.7537 GB, free: 23.57 MB / 0.5105 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001045/0.49, allocations: 0.5792 MB / 0.7542 GB, free: 23.43 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000138/0.4902, allocations: 113.9 kB / 0.7543 GB, free: 23.33 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.136e-05/0.4902, allocations: 3.906 kB / 0.7543 GB, free: 23.33 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007199/0.491, allocations: 66.41 kB / 0.7544 GB, free: 23.32 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.944e-05/0.4911, allocations: 27.56 kB / 0.7544 GB, free: 23.32 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.962e-05/0.4911, allocations: 23.92 kB / 0.7545 GB, free: 23.32 MB / 0.5105 GB Notification: Performance of sort global known variables: time 6.656e-05/0.4912, allocations: 79.06 kB / 0.7545 GB, free: 23.25 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.0003747/0.4916, allocations: 56.22 kB / 0.7546 GB, free: 23.24 MB / 0.5105 GB 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.0002008/0.4918, allocations: 114.3 kB / 0.7547 GB, free: 23.15 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.0006245/0.4924, allocations: 267.1 kB / 0.755 GB, free: 23.14 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 3.176e-06/0.4925, allocations: 112 / 0.755 GB, free: 23.14 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.0003439/0.4928, allocations: 158.3 kB / 0.7551 GB, free: 23.13 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001978/0.493, allocations: 3.344 kB / 0.7551 GB, free: 23.13 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004272/0.4973, allocations: 0.8021 MB / 0.7559 GB, free: 22.71 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006215/0.4979, allocations: 0.8119 MB / 0.7567 GB, free: 21.92 MB / 0.5105 GB Notification: Performance of SimCode: time 2.61e-07/0.4979, allocations: 0 / 0.7567 GB, free: 21.92 MB / 0.5105 GB Notification: Performance of Templates: time 0.007515/0.5054, allocations: 5.783 MB / 0.7623 GB, free: 18.87 MB / 0.5105 GB make -j1 -f IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.makefile (rm -f IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.pipe ; mkfifo IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.pipe >> ../files/IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.sim & ./IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.pipe 2>&1)