Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.InverseXRegularized.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.InverseXRegularized,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.InverseXRegularized") translateModel(IDEAS.Utilities.Math.Functions.Examples.InverseXRegularized,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.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/Complex 4.0.0+maint.om/package.mo): time 0.001821/0.00182, allocations: 183 kB / 7.462 MB, free: 2.48 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.6137/0.6137, allocations: 133.5 MB / 141.4 MB, free: 15.68 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.114/1.114, allocations: 221.3 MB / 395 MB, free: 10.24 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.0008186/0.0008184, allocations: 98.31 kB / 477.8 MB, free: 10.84 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 7.094e-06/7.113e-06, allocations: 2.969 kB / 0.5529 GB, free: 89.08 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1015/0.1015, allocations: 82.31 MB / 0.6332 GB, free: 14.08 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2989/0.4004, allocations: 111.2 MB / 0.7419 GB, free: 10.75 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000172/0.4006, allocations: 81.84 kB / 0.7419 GB, free: 10.75 MB / 0.4948 GB Notification: Performance of FrontEnd: time 0.01066/0.4112, allocations: 3.862 MB / 0.7457 GB, free: 10.5 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 5.4e-06/0.4113, allocations: 0 / 0.7457 GB, free: 10.5 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0002893/0.4116, allocations: 377.4 kB / 0.7461 GB, free: 26.11 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 2.886e-05/0.4116, allocations: 12.23 kB / 0.7461 GB, free: 26.11 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002774/0.4119, allocations: 63.28 kB / 0.7462 GB, free: 26.11 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001468/0.412, allocations: 175.2 kB / 0.7463 GB, free: 25.91 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.394e-05/0.4121, allocations: 0 / 0.7463 GB, free: 25.91 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.815e-05/0.4121, allocations: 8.531 kB / 0.7463 GB, free: 25.9 MB / 0.5105 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 6.195e-05/0.4122, allocations: 18.31 kB / 0.7463 GB, free: 25.9 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.367e-05/0.4122, allocations: 51.14 kB / 0.7464 GB, free: 25.87 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.006e-05/0.4122, allocations: 3.906 kB / 0.7464 GB, free: 25.86 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.257e-06/0.4123, allocations: 0.5156 kB / 0.7464 GB, free: 25.86 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.657e-06/0.4123, allocations: 0 / 0.7464 GB, free: 25.86 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000142/0.4124, allocations: 143.9 kB / 0.7465 GB, free: 25.71 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 7.399e-05/0.4125, allocations: 54.55 kB / 0.7466 GB, free: 25.68 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.823e-05/0.4125, allocations: 13.25 kB / 0.7466 GB, free: 25.68 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 9.988e-06/0.4126, allocations: 0 / 0.7466 GB, free: 25.68 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.481e-05/0.4126, allocations: 34.66 kB / 0.7466 GB, free: 25.64 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=5): time 7.62e-07/0.4126, allocations: 0 / 0.7466 GB, free: 25.64 MB / 0.5105 GB Notification: Performance of matching and sorting (n=9): time 0.0025/0.4151, allocations: 0.4998 MB / 0.7471 GB, free: 25.55 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.387e-05/0.4151, allocations: 52.2 kB / 0.7472 GB, free: 25.49 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.711e-05/0.4152, allocations: 105.7 kB / 0.7473 GB, free: 25.4 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 2.132e-05/0.4152, allocations: 25.7 kB / 0.7473 GB, free: 25.37 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 2.325e-05/0.4152, allocations: 84.64 kB / 0.7474 GB, free: 25.29 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 3.182e-05/0.4153, allocations: 29.31 kB / 0.7474 GB, free: 25.27 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.261e-05/0.4153, allocations: 0 / 0.7474 GB, free: 25.27 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 8.509e-05/0.4154, allocations: 313 kB / 0.7477 GB, free: 24.95 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.024e-05/0.4155, allocations: 49.22 kB / 0.7477 GB, free: 24.95 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.427e-05/0.4155, allocations: 38.31 kB / 0.7478 GB, free: 24.95 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001414/0.4157, allocations: 54.67 kB / 0.7478 GB, free: 24.95 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.91e-07/0.4157, allocations: 0 / 0.7478 GB, free: 24.95 MB / 0.5105 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.000305/0.416, allocations: 152.5 kB / 0.748 GB, free: 24.91 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.021e-05/0.416, allocations: 5.188 kB / 0.748 GB, free: 24.91 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.877e-06/0.416, allocations: 4.688 kB / 0.748 GB, free: 24.9 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.276e-05/0.416, allocations: 5.219 kB / 0.748 GB, free: 24.9 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004106/0.4165, allocations: 75.69 kB / 0.7481 GB, free: 24.89 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.637e-06/0.4165, allocations: 1.344 kB / 0.7481 GB, free: 24.89 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002844/0.4168, allocations: 51.47 kB / 0.7481 GB, free: 24.89 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.218e-05/0.4168, allocations: 7.672 kB / 0.7481 GB, free: 24.89 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 (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 7.926e-05/0.4169, allocations: 109.5 kB / 0.7482 GB, free: 24.77 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.083e-05/0.4169, allocations: 4.656 kB / 0.7482 GB, free: 24.77 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.108e-05/0.4169, allocations: 12.27 kB / 0.7482 GB, free: 24.76 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.643e-06/0.4169, allocations: 0 / 0.7482 GB, free: 24.76 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.266e-06/0.4169, allocations: 0 / 0.7482 GB, free: 24.76 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.076e-06/0.4169, allocations: 0.7031 kB / 0.7482 GB, free: 24.76 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0011/0.4181, allocations: 0.5178 MB / 0.7488 GB, free: 24.45 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.423e-06/0.4181, allocations: 3.875 kB / 0.7488 GB, free: 24.45 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003231/0.4184, allocations: 76.84 kB / 0.7488 GB, free: 24.45 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.174e-06/0.4184, allocations: 0 / 0.7488 GB, free: 24.45 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.811e-05/0.4184, allocations: 7.922 kB / 0.7488 GB, free: 24.45 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.124e-06/0.4184, allocations: 3.906 kB / 0.7488 GB, free: 24.44 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.603e-06/0.4184, allocations: 0 / 0.7488 GB, free: 24.44 MB / 0.5105 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.000294/0.4187, allocations: 270.1 kB / 0.7491 GB, free: 24.25 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 4.122e-05/0.4188, allocations: 86.3 kB / 0.7492 GB, free: 24.15 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.75e-05/0.4188, allocations: 0.5625 kB / 0.7492 GB, free: 24.15 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003023/0.4191, allocations: 54.59 kB / 0.7492 GB, free: 24.14 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.149e-05/0.4192, allocations: 9.266 kB / 0.7492 GB, free: 24.14 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.817e-05/0.4192, allocations: 10.14 kB / 0.7493 GB, free: 24.14 MB / 0.5105 GB Notification: Performance of sort global known variables: time 3.694e-05/0.4192, allocations: 88.06 kB / 0.7493 GB, free: 24.07 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.0002506/0.4195, allocations: 36.45 kB / 0.7494 GB, free: 24.06 MB / 0.5105 GB 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.0001477/0.4197, allocations: 125.2 kB / 0.7495 GB, free: 23.96 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.0001803/0.4198, allocations: 89.69 kB / 0.7496 GB, free: 23.96 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 1.423e-06/0.4198, allocations: 0 / 0.7496 GB, free: 23.96 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 7.778e-05/0.4199, allocations: 51.59 kB / 0.7496 GB, free: 23.95 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001303/0.4201, allocations: 4.969 kB / 0.7496 GB, free: 23.95 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001394/0.4215, allocations: 389.8 kB / 0.75 GB, free: 23.82 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003078/0.4218, allocations: 0.7174 MB / 0.7507 GB, free: 23.11 MB / 0.5105 GB Notification: Performance of SimCode: time 2.31e-07/0.4218, allocations: 0 / 0.7507 GB, free: 23.11 MB / 0.5105 GB Notification: Performance of Templates: time 0.00359/0.4254, allocations: 1.854 MB / 0.7525 GB, free: 22.98 MB / 0.5105 GB make -j1 -f IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.InverseXRegularized.makefile (rm -f IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.InverseXRegularized.pipe ; mkfifo IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.InverseXRegularized.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.InverseXRegularized.pipe >> ../files/IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.InverseXRegularized.sim & ./IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.InverseXRegularized -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.InverseXRegularized.pipe 2>&1)