Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Annex60_1.0.0_Annex60.Utilities.Math.Functions.Examples.InverseXRegularized.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.InverseXRegularized,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.Utilities.Math.Functions.Examples.InverseXRegularized") translateModel(Annex60.Utilities.Math.Functions.Examples.InverseXRegularized,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.Utilities.Math.Functions.Examples.InverseXRegularized") [: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.2729/0.2729, allocations: 54.4 MB / 61.68 MB, free: 11.13 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.001102/0.001102, allocations: 186 kB / 75.38 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.22/1.22, allocations: 194.2 MB / 283.2 MB, free: 3.457 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.001758/0.001758, allocations: 120 kB / 341.3 MB, free: 9.332 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 1.17e-05/1.173e-05, allocations: 4 kB / 405 MB, free: 27.64 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1309/0.1309, allocations: 57.64 MB / 462.6 MB, free: 1.922 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.392/0.5229, allocations: 85.35 MB / 0.5351 GB, free: 11.73 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000273/0.5233, allocations: 78.33 kB / 0.5352 GB, free: 11.68 MB / 378.7 MB Notification: Performance of FrontEnd: time 0.01382/0.5371, allocations: 3.75 MB / 0.5388 GB, free: 8.566 MB / 378.7 MB Notification: Performance of Transformations before backend: time 9.347e-06/0.5372, allocations: 4 kB / 0.5388 GB, free: 8.562 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.0004238/0.5376, allocations: 382.7 kB / 0.5392 GB, free: 8.148 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.454e-05/0.5377, allocations: 11.97 kB / 0.5392 GB, free: 8.137 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003371/0.538, allocations: 60.44 kB / 0.5393 GB, free: 8.078 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001955/0.5382, allocations: 168.9 kB / 0.5394 GB, free: 7.875 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.008e-05/0.5382, allocations: 8 kB / 0.5394 GB, free: 7.867 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.276e-05/0.5383, allocations: 3.938 kB / 0.5394 GB, free: 7.863 MB / 378.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001102/0.5384, allocations: 28.3 kB / 0.5395 GB, free: 7.84 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001035/0.5385, allocations: 49.14 kB / 0.5395 GB, free: 7.789 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.159e-05/0.5385, allocations: 0.75 kB / 0.5395 GB, free: 7.789 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.432e-05/0.5385, allocations: 4 kB / 0.5395 GB, free: 7.785 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.994e-06/0.5386, allocations: 0 / 0.5395 GB, free: 7.785 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002013/0.5388, allocations: 143.8 kB / 0.5397 GB, free: 7.613 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.567e-05/0.5389, allocations: 41.78 kB / 0.5397 GB, free: 7.566 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.82e-05/0.5389, allocations: 20.97 kB / 0.5397 GB, free: 7.543 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.728e-05/0.5389, allocations: 7.922 kB / 0.5397 GB, free: 7.535 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.716e-05/0.539, allocations: 42.47 kB / 0.5398 GB, free: 7.484 MB / 378.7 MB Notification: Performance of pre-optimization done (n=5): time 9.02e-07/0.539, allocations: 0 / 0.5398 GB, free: 7.484 MB / 378.7 MB Notification: Performance of matching and sorting (n=9): time 0.002772/0.5418, allocations: 477 kB / 0.5402 GB, free: 7.012 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.393e-05/0.5418, allocations: 55.41 kB / 0.5403 GB, free: 6.945 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.371e-05/0.5419, allocations: 116.9 kB / 0.5404 GB, free: 6.824 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.541e-05/0.5419, allocations: 25.7 kB / 0.5404 GB, free: 6.793 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.06e-05/0.542, allocations: 80.14 kB / 0.5405 GB, free: 6.711 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.196e-05/0.542, allocations: 31.55 kB / 0.5405 GB, free: 6.68 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.343e-05/0.5421, allocations: 0 / 0.5405 GB, free: 6.68 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001193/0.5422, allocations: 310.8 kB / 0.5408 GB, free: 6.367 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.832e-05/0.5423, allocations: 39.98 kB / 0.5409 GB, free: 6.328 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.421e-05/0.5424, allocations: 39.98 kB / 0.5409 GB, free: 6.289 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001376/0.5425, allocations: 51.94 kB / 0.5409 GB, free: 6.238 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.82e-07/0.5425, allocations: 0 / 0.5409 GB, free: 6.238 MB / 378.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0003067/0.5428, allocations: 141.7 kB / 0.5411 GB, free: 6.094 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.505e-05/0.5429, allocations: 4.094 kB / 0.5411 GB, free: 6.09 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.931e-06/0.5429, allocations: 3.938 kB / 0.5411 GB, free: 6.086 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.246e-05/0.5429, allocations: 0 / 0.5411 GB, free: 6.086 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004173/0.5433, allocations: 79.91 kB / 0.5412 GB, free: 6.008 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.348e-06/0.5433, allocations: 0 / 0.5412 GB, free: 6.008 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003153/0.5436, allocations: 47.95 kB / 0.5412 GB, free: 5.961 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.617e-05/0.5437, allocations: 11.89 kB / 0.5412 GB, free: 5.949 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 (9): * Single equations (assignments): 9 * 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 9.026e-05/0.5438, allocations: 109 kB / 0.5413 GB, free: 5.836 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.54e-05/0.5438, allocations: 7.906 kB / 0.5413 GB, free: 5.828 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.047e-05/0.5438, allocations: 12.31 kB / 0.5413 GB, free: 5.816 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.485e-06/0.5438, allocations: 0 / 0.5413 GB, free: 5.816 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.968e-06/0.5439, allocations: 0 / 0.5413 GB, free: 5.816 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.106e-06/0.5439, allocations: 0 / 0.5413 GB, free: 5.816 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001284/0.5452, allocations: 0.5137 MB / 0.5418 GB, free: 5.254 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.663e-06/0.5452, allocations: 0 / 0.5418 GB, free: 5.254 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003566/0.5455, allocations: 75.98 kB / 0.5419 GB, free: 5.18 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.578e-06/0.5455, allocations: 0 / 0.5419 GB, free: 5.18 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.605e-05/0.5456, allocations: 19.83 kB / 0.5419 GB, free: 5.16 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.623e-06/0.5456, allocations: 0 / 0.5419 GB, free: 5.16 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.182e-06/0.5456, allocations: 4 kB / 0.5419 GB, free: 5.156 MB / 378.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.000366/0.546, allocations: 252.8 kB / 0.5422 GB, free: 4.875 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.907e-05/0.546, allocations: 85 kB / 0.5423 GB, free: 4.773 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.255e-05/0.5461, allocations: 4 kB / 0.5423 GB, free: 4.77 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003309/0.5464, allocations: 55.95 kB / 0.5423 GB, free: 4.715 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.146e-05/0.5465, allocations: 11.97 kB / 0.5423 GB, free: 4.703 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.014e-05/0.5465, allocations: 7.984 kB / 0.5423 GB, free: 4.695 MB / 378.7 MB Notification: Performance of sort global known variables: time 4.733e-05/0.5465, allocations: 87.28 kB / 0.5424 GB, free: 4.609 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003227/0.5469, allocations: 43.92 kB / 0.5425 GB, free: 4.566 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 9 * 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.000208/0.5471, allocations: 123.1 kB / 0.5426 GB, free: 4.438 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0002342/0.5473, allocations: 91.89 kB / 0.5427 GB, free: 4.348 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.715e-06/0.5473, allocations: 0 / 0.5427 GB, free: 4.348 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 9.412e-05/0.5474, allocations: 43.97 kB / 0.5427 GB, free: 4.305 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002294/0.5477, allocations: 4.281 kB / 0.5427 GB, free: 4.301 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001635/0.5493, allocations: 393.2 kB / 0.5431 GB, free: 3.883 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004309/0.5498, allocations: 0.7192 MB / 0.5438 GB, free: 3.137 MB / 378.7 MB Notification: Performance of SimCode: time 2.4e-07/0.5498, allocations: 0 / 0.5438 GB, free: 3.137 MB / 378.7 MB Notification: Performance of Templates: time 0.004935/0.5547, allocations: 1.848 MB / 0.5456 GB, free: 1.293 MB / 378.7 MB make -j1 -f Annex60_1.0.0_Annex60.Utilities.Math.Functions.Examples.InverseXRegularized.makefile (rm -f Annex60_1.0.0_Annex60.Utilities.Math.Functions.Examples.InverseXRegularized.pipe ; mkfifo Annex60_1.0.0_Annex60.Utilities.Math.Functions.Examples.InverseXRegularized.pipe ; head -c 1048576 < Annex60_1.0.0_Annex60.Utilities.Math.Functions.Examples.InverseXRegularized.pipe >> ../files/Annex60_1.0.0_Annex60.Utilities.Math.Functions.Examples.InverseXRegularized.sim & ./Annex60_1.0.0_Annex60.Utilities.Math.Functions.Examples.InverseXRegularized -abortSlowSimulation -alarm=480 -lv LOG_STATS > Annex60_1.0.0_Annex60.Utilities.Math.Functions.Examples.InverseXRegularized.pipe 2>&1)