Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.Utilities.Math.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/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/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.Examples.InverseXRegularized,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Utilities.Math.Examples.InverseXRegularized") translateModel(IDEAS.Utilities.Math.Examples.InverseXRegularized,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Utilities.Math.Examples.InverseXRegularized") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001081/0.001081, allocations: 175.7 kB / 7.648 MB, free: 1.402 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7949/0.7949, allocations: 130.7 MB / 138.8 MB, free: 3.547 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.327/1.327, allocations: 221.5 MB / 391.8 MB, free: 14.24 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008497/0.0008497, allocations: 103.1 kB / 473.9 MB, free: 4.484 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 1.602e-05/1.606e-05, allocations: 4 kB / 0.5485 GB, free: 13.06 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.427/0.427, allocations: 81.57 MB / 0.6282 GB, free: 42.84 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1438/0.5709, allocations: 111.5 MB / 0.7371 GB, free: 15.26 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001939/0.5711, allocations: 75.95 kB / 0.7371 GB, free: 15.19 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 0.01207/0.5832, allocations: 3.802 MB / 0.7408 GB, free: 11.38 MB / 0.5261 GB Notification: Performance of FrontEnd: time 9.92e-07/0.5833, allocations: 0 / 0.7408 GB, free: 11.38 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 5.299e-06/0.5833, allocations: 0 / 0.7408 GB, free: 11.38 MB / 0.5261 GB 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.000424/0.5837, allocations: 382.3 kB / 0.7412 GB, free: 10.96 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 3.68e-05/0.5838, allocations: 8.031 kB / 0.7412 GB, free: 10.96 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003693/0.5841, allocations: 67.83 kB / 0.7413 GB, free: 10.89 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001193/0.5843, allocations: 167 kB / 0.7414 GB, free: 10.69 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.95e-05/0.5843, allocations: 0 / 0.7414 GB, free: 10.69 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.203e-05/0.5843, allocations: 1.125 kB / 0.7414 GB, free: 10.69 MB / 0.5261 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 8.908e-05/0.5844, allocations: 27.94 kB / 0.7415 GB, free: 10.66 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001086/0.5845, allocations: 49.67 kB / 0.7415 GB, free: 10.61 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.686e-06/0.5846, allocations: 5.812 kB / 0.7415 GB, free: 10.6 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.151e-05/0.5846, allocations: 0 / 0.7415 GB, free: 10.6 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.897e-06/0.5846, allocations: 0 / 0.7415 GB, free: 10.6 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004008/0.585, allocations: 273.4 kB / 0.7418 GB, free: 10.3 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 7.748e-05/0.5851, allocations: 34.58 kB / 0.7418 GB, free: 10.25 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.813e-05/0.5851, allocations: 24.91 kB / 0.7418 GB, free: 10.23 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 1.448e-05/0.5851, allocations: 7.875 kB / 0.7418 GB, free: 10.22 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.967e-05/0.5852, allocations: 34.56 kB / 0.7419 GB, free: 10.18 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=2): time 1.041e-06/0.5852, allocations: 0 / 0.7419 GB, free: 10.18 MB / 0.5261 GB Notification: Performance of matching and sorting (n=2): time 0.0002622/0.5854, allocations: 74.5 kB / 0.742 GB, free: 10.1 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.711e-05/0.5855, allocations: 51.41 kB / 0.742 GB, free: 10.04 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.522e-05/0.5856, allocations: 93.03 kB / 0.7421 GB, free: 9.938 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 1.53e-05/0.5856, allocations: 25.7 kB / 0.7421 GB, free: 9.906 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 4.444e-05/0.5856, allocations: 88.14 kB / 0.7422 GB, free: 9.816 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 2.373e-05/0.5857, allocations: 3.906 kB / 0.7422 GB, free: 9.812 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.562e-06/0.5857, allocations: 0 / 0.7422 GB, free: 9.812 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0001331/0.5858, allocations: 322.8 kB / 0.7425 GB, free: 9.488 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.89e-05/0.5859, allocations: 12 kB / 0.7425 GB, free: 9.477 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.377e-05/0.5859, allocations: 8 kB / 0.7425 GB, free: 9.469 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000116/0.586, allocations: 35.97 kB / 0.7426 GB, free: 9.434 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.462e-06/0.586, allocations: 0 / 0.7426 GB, free: 9.434 MB / 0.5261 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001807/0.5862, allocations: 69.61 kB / 0.7426 GB, free: 9.359 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.375e-05/0.5862, allocations: 9.719 kB / 0.7426 GB, free: 9.352 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.887e-06/0.5862, allocations: 0 / 0.7426 GB, free: 9.352 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.012e-05/0.5863, allocations: 0 / 0.7426 GB, free: 9.352 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001778/0.5864, allocations: 32 kB / 0.7427 GB, free: 9.32 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.077e-06/0.5864, allocations: 0 / 0.7427 GB, free: 9.32 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001266/0.5866, allocations: 24.84 kB / 0.7427 GB, free: 9.297 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.574e-06/0.5866, allocations: 4 kB / 0.7427 GB, free: 9.293 MB / 0.5261 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 (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 6.484e-05/0.5867, allocations: 106.6 kB / 0.7428 GB, free: 9.184 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.684e-05/0.5867, allocations: 4 kB / 0.7428 GB, free: 9.18 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.087e-05/0.5867, allocations: 7.75 kB / 0.7428 GB, free: 9.176 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.252e-06/0.5867, allocations: 0 / 0.7428 GB, free: 9.176 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.767e-06/0.5867, allocations: 0 / 0.7428 GB, free: 9.176 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.134e-06/0.5867, allocations: 0 / 0.7428 GB, free: 9.176 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001579/0.5869, allocations: 150.2 kB / 0.743 GB, free: 8.992 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.034e-06/0.5869, allocations: 0.8125 kB / 0.743 GB, free: 8.992 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001482/0.5871, allocations: 31.97 kB / 0.743 GB, free: 8.961 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.863e-06/0.5871, allocations: 0 / 0.743 GB, free: 8.961 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.286e-05/0.5871, allocations: 0 / 0.743 GB, free: 8.961 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.11e-07/0.5871, allocations: 3.938 kB / 0.743 GB, free: 8.957 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.26e-06/0.5871, allocations: 4.25 kB / 0.743 GB, free: 8.953 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002353/0.5874, allocations: 179.3 kB / 0.7432 GB, free: 8.762 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 2.937e-05/0.5874, allocations: 77.11 kB / 0.7432 GB, free: 8.668 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.803e-05/0.5874, allocations: 8 kB / 0.7432 GB, free: 8.66 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001816/0.5876, allocations: 24 kB / 0.7433 GB, free: 8.637 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.812e-05/0.5877, allocations: 4 kB / 0.7433 GB, free: 8.633 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.881e-06/0.5877, allocations: 0 / 0.7433 GB, free: 8.633 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 3.373e-05/0.5877, allocations: 83.28 kB / 0.7433 GB, free: 8.551 MB / 0.5261 GB Notification: Performance of sort global known variables: time 1.21e-07/0.5877, allocations: 0 / 0.7433 GB, free: 8.551 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.0002291/0.5879, allocations: 19.98 kB / 0.7434 GB, free: 8.531 MB / 0.5261 GB 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.000153/0.5881, allocations: 111.2 kB / 0.7435 GB, free: 8.41 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.0001056/0.5882, allocations: 28 kB / 0.7435 GB, free: 8.383 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 1.913e-06/0.5882, allocations: 8 kB / 0.7435 GB, free: 8.375 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 3.925e-05/0.5883, allocations: 15.98 kB / 0.7435 GB, free: 8.359 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001744/0.5885, allocations: 14.05 kB / 0.7435 GB, free: 8.348 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003641/0.5888, allocations: 97.34 kB / 0.7436 GB, free: 8.23 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00021/0.5891, allocations: 0.6806 MB / 0.7443 GB, free: 7.523 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 8.271e-05/0.5891, allocations: 8 kB / 0.7443 GB, free: 7.516 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.524e-05/0.5892, allocations: 11.44 kB / 0.7443 GB, free: 7.504 MB / 0.5261 GB Notification: Performance of SimCode: time 2.6e-07/0.5892, allocations: 0 / 0.7443 GB, free: 7.504 MB / 0.5261 GB Notification: Performance of Templates: time 0.002548/0.5917, allocations: 0.6637 MB / 0.745 GB, free: 6.844 MB / 0.5261 GB make -j1 -f IDEAS_IDEAS.Utilities.Math.Examples.InverseXRegularized.makefile (rm -f IDEAS_IDEAS.Utilities.Math.Examples.InverseXRegularized.pipe ; mkfifo IDEAS_IDEAS.Utilities.Math.Examples.InverseXRegularized.pipe ; head -c 1048576 < IDEAS_IDEAS.Utilities.Math.Examples.InverseXRegularized.pipe >> ../files/IDEAS_IDEAS.Utilities.Math.Examples.InverseXRegularized.sim & ./IDEAS_IDEAS.Utilities.Math.Examples.InverseXRegularized -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Utilities.Math.Examples.InverseXRegularized.pipe 2>&1)