Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Annex60_1.0.0_Annex60.Utilities.Math.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.Examples.InverseXRegularized,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.Utilities.Math.Examples.InverseXRegularized") translateModel(Annex60.Utilities.Math.Examples.InverseXRegularized,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.Utilities.Math.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.2707/0.2707, 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.001053/0.001053, allocations: 191.8 kB / 75.38 MB, free: 1.441 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.346/1.346, 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.001805/0.001805, allocations: 111 kB / 341.3 MB, free: 9.387 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 6.492e-06/6.522e-06, allocations: 0 / 404.9 MB, free: 27.7 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1353/0.1353, allocations: 57.64 MB / 462.6 MB, free: 1.98 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3462/0.4816, allocations: 85.73 MB / 0.5355 GB, free: 11.35 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002489/0.4819, allocations: 75.08 kB / 0.5355 GB, free: 11.31 MB / 378.7 MB Notification: Performance of FrontEnd: time 0.01186/0.4938, allocations: 3.402 MB / 0.5389 GB, free: 8.453 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.087e-05/0.4938, allocations: 4 kB / 0.5389 GB, free: 8.449 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0005598/0.4944, allocations: 393.4 kB / 0.5392 GB, free: 8.027 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.464e-05/0.4944, allocations: 11.97 kB / 0.5392 GB, free: 8.016 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004081/0.4949, allocations: 71.86 kB / 0.5393 GB, free: 7.945 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001443/0.495, allocations: 171 kB / 0.5395 GB, free: 7.738 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.633e-05/0.4951, allocations: 4 kB / 0.5395 GB, free: 7.734 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.532e-05/0.4951, allocations: 0 / 0.5395 GB, free: 7.734 MB / 378.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001067/0.4952, allocations: 21.94 kB / 0.5395 GB, free: 7.723 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.956e-05/0.4953, allocations: 44.98 kB / 0.5395 GB, free: 7.676 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.085e-06/0.4953, allocations: 0 / 0.5395 GB, free: 7.676 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.28e-05/0.4953, allocations: 4 kB / 0.5395 GB, free: 7.672 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.029e-06/0.4953, allocations: 0 / 0.5395 GB, free: 7.672 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004986/0.4958, allocations: 274 kB / 0.5398 GB, free: 7.383 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.826e-05/0.4959, allocations: 40.56 kB / 0.5398 GB, free: 7.344 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.661e-05/0.496, allocations: 16.23 kB / 0.5399 GB, free: 7.328 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.645e-05/0.496, allocations: 0 / 0.5399 GB, free: 7.328 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.378e-05/0.4961, allocations: 37.75 kB / 0.5399 GB, free: 7.285 MB / 378.7 MB Notification: Performance of pre-optimization done (n=2): time 1.193e-06/0.4961, allocations: 0 / 0.5399 GB, free: 7.285 MB / 378.7 MB Notification: Performance of matching and sorting (n=2): time 0.0002488/0.4963, allocations: 56.28 kB / 0.5399 GB, free: 7.23 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.163e-05/0.4964, allocations: 55.34 kB / 0.54 GB, free: 7.164 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.605e-05/0.4965, allocations: 104.2 kB / 0.5401 GB, free: 7.059 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.936e-05/0.4965, allocations: 29.69 kB / 0.5401 GB, free: 7.023 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.548e-05/0.4965, allocations: 80.14 kB / 0.5402 GB, free: 6.941 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.825e-05/0.4966, allocations: 11.31 kB / 0.5402 GB, free: 6.934 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.102e-06/0.4966, allocations: 0 / 0.5402 GB, free: 6.934 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001155/0.4967, allocations: 310.8 kB / 0.5405 GB, free: 6.621 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.899e-05/0.4967, allocations: 11.5 kB / 0.5405 GB, free: 6.613 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.901e-05/0.4968, allocations: 14.5 kB / 0.5405 GB, free: 6.605 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.927e-05/0.4969, allocations: 10.92 kB / 0.5405 GB, free: 6.598 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.665e-06/0.4969, allocations: 0 / 0.5405 GB, free: 6.598 MB / 378.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001383/0.497, allocations: 56.06 kB / 0.5406 GB, free: 6.543 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.623e-05/0.497, allocations: 4.094 kB / 0.5406 GB, free: 6.539 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.714e-06/0.4971, allocations: 7.906 kB / 0.5406 GB, free: 6.531 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.466e-05/0.4971, allocations: 0 / 0.5406 GB, free: 6.531 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001926/0.4973, allocations: 35.22 kB / 0.5406 GB, free: 6.5 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.522e-06/0.4973, allocations: 7.984 kB / 0.5407 GB, free: 6.492 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000132/0.4974, allocations: 27.91 kB / 0.5407 GB, free: 6.465 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.029e-05/0.4975, allocations: 4 kB / 0.5407 GB, free: 6.461 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 (2): * Single equations (assignments): 2 * 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.048e-05/0.4976, allocations: 108.9 kB / 0.5408 GB, free: 6.348 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.086e-05/0.4976, allocations: 3.906 kB / 0.5408 GB, free: 6.344 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.782e-05/0.4976, allocations: 7.266 kB / 0.5408 GB, free: 6.34 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.044e-06/0.4976, allocations: 0 / 0.5408 GB, free: 6.34 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.779e-06/0.4976, allocations: 0 / 0.5408 GB, free: 6.34 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.857e-06/0.4976, allocations: 4 kB / 0.5408 GB, free: 6.336 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001729/0.4978, allocations: 145 kB / 0.5409 GB, free: 6.164 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.026e-06/0.4978, allocations: 7.938 kB / 0.5409 GB, free: 6.156 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001558/0.498, allocations: 31.97 kB / 0.541 GB, free: 6.125 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.122e-06/0.498, allocations: 3.906 kB / 0.541 GB, free: 6.121 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.233e-05/0.498, allocations: 0 / 0.541 GB, free: 6.121 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.663e-06/0.498, allocations: 4 kB / 0.541 GB, free: 6.117 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.455e-06/0.498, allocations: 0 / 0.541 GB, free: 6.117 MB / 378.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.000189/0.4982, allocations: 154.9 kB / 0.5411 GB, free: 5.961 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.208e-05/0.4983, allocations: 85.08 kB / 0.5412 GB, free: 5.859 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.993e-05/0.4983, allocations: 0 / 0.5412 GB, free: 5.859 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001654/0.4985, allocations: 28.02 kB / 0.5412 GB, free: 5.832 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.151e-05/0.4985, allocations: 7.922 kB / 0.5413 GB, free: 5.824 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.228e-06/0.4986, allocations: 0 / 0.5413 GB, free: 5.824 MB / 378.7 MB Notification: Performance of sort global known variables: time 4.423e-05/0.4986, allocations: 85.97 kB / 0.5413 GB, free: 5.742 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.000237/0.4989, allocations: 16 kB / 0.5413 GB, free: 5.727 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 (2): * Single equations (assignments): 2 * 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.0001758/0.499, allocations: 115.2 kB / 0.5415 GB, free: 5.605 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0001196/0.4992, allocations: 24.94 kB / 0.5415 GB, free: 5.59 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.844e-06/0.4992, allocations: 0 / 0.5415 GB, free: 5.59 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 4.692e-05/0.4992, allocations: 17.5 kB / 0.5415 GB, free: 5.578 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001842/0.4994, allocations: 4.906 kB / 0.5415 GB, free: 5.574 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004794/0.4999, allocations: 118.2 kB / 0.5416 GB, free: 5.445 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003605/0.5003, allocations: 0.7043 MB / 0.5423 GB, free: 4.715 MB / 378.7 MB Notification: Performance of SimCode: time 2.5e-07/0.5003, allocations: 0 / 0.5423 GB, free: 4.715 MB / 378.7 MB Notification: Performance of Templates: time 0.003586/0.5039, allocations: 0.953 MB / 0.5432 GB, free: 3.773 MB / 378.7 MB make -j1 -f Annex60_1.0.0_Annex60.Utilities.Math.Examples.InverseXRegularized.makefile (rm -f Annex60_1.0.0_Annex60.Utilities.Math.Examples.InverseXRegularized.pipe ; mkfifo Annex60_1.0.0_Annex60.Utilities.Math.Examples.InverseXRegularized.pipe ; head -c 1048576 < Annex60_1.0.0_Annex60.Utilities.Math.Examples.InverseXRegularized.pipe >> ../files/Annex60_1.0.0_Annex60.Utilities.Math.Examples.InverseXRegularized.sim & ./Annex60_1.0.0_Annex60.Utilities.Math.Examples.InverseXRegularized -abortSlowSimulation -alarm=480 -lv LOG_STATS > Annex60_1.0.0_Annex60.Utilities.Math.Examples.InverseXRegularized.pipe 2>&1)