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.001311/0.001311, allocations: 175 kB / 12.73 MB, free: 2.59 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7573/0.7573, allocations: 130.5 MB / 143.8 MB, free: 13.6 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.607/1.607, allocations: 221.3 MB / 396.8 MB, free: 9.211 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.001095/0.001095, allocations: 105.3 kB / 479 MB, free: 10.41 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 3.34e-05/3.358e-05, allocations: 4.125 kB / 0.5551 GB, free: 86.11 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1656/0.1656, allocations: 81.58 MB / 0.6348 GB, free: 12.05 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.588/0.7537, allocations: 112.2 MB / 0.7443 GB, free: 12.26 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002311/0.754, allocations: 82.11 kB / 0.7444 GB, free: 12.26 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 0.01129/0.7653, allocations: 3.818 MB / 0.7481 GB, free: 27.75 MB / 0.5105 GB Notification: Performance of FrontEnd: time 1.323e-06/0.7653, allocations: 0 / 0.7481 GB, free: 27.75 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 6.402e-06/0.7653, allocations: 0 / 0.7481 GB, free: 27.75 MB / 0.5105 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.0004357/0.7658, allocations: 391.7 kB / 0.7485 GB, free: 27.36 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 4.008e-05/0.7658, allocations: 7.719 kB / 0.7485 GB, free: 27.36 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003621/0.7662, allocations: 68.5 kB / 0.7485 GB, free: 27.35 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001269/0.7663, allocations: 163 kB / 0.7487 GB, free: 27.15 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.893e-05/0.7664, allocations: 0 / 0.7487 GB, free: 27.15 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.639e-05/0.7664, allocations: 3.875 kB / 0.7487 GB, free: 27.15 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001217/0.7665, allocations: 51.55 kB / 0.7487 GB, free: 27.12 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.182e-06/0.7665, allocations: 0 / 0.7487 GB, free: 27.12 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.237e-05/0.7666, allocations: 0 / 0.7487 GB, free: 27.12 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.47e-06/0.7666, allocations: 0 / 0.7487 GB, free: 27.12 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.341e-05/0.7666, allocations: 34.89 kB / 0.7488 GB, free: 27.11 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004615/0.7671, allocations: 295.5 kB / 0.7491 GB, free: 26.84 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 8.192e-05/0.7672, allocations: 37.2 kB / 0.7491 GB, free: 26.82 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.741e-05/0.7673, allocations: 19.7 kB / 0.7491 GB, free: 26.81 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 1.854e-05/0.7673, allocations: 7.844 kB / 0.7491 GB, free: 26.8 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.677e-05/0.7673, allocations: 30.56 kB / 0.7492 GB, free: 26.77 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=2): time 1.062e-06/0.7673, allocations: 0 / 0.7492 GB, free: 26.77 MB / 0.5105 GB Notification: Performance of matching and sorting (n=2): time 0.0001893/0.7675, allocations: 59.33 kB / 0.7492 GB, free: 26.73 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.633e-05/0.7676, allocations: 55.36 kB / 0.7493 GB, free: 26.66 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.323e-05/0.7676, allocations: 96.12 kB / 0.7494 GB, free: 26.57 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 1.847e-05/0.7677, allocations: 29.52 kB / 0.7494 GB, free: 26.54 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 4.538e-05/0.7677, allocations: 87.73 kB / 0.7495 GB, free: 26.45 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 1.714e-05/0.7677, allocations: 3.906 kB / 0.7495 GB, free: 26.45 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.841e-06/0.7678, allocations: 0 / 0.7495 GB, free: 26.45 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0001252/0.7679, allocations: 321.6 kB / 0.7498 GB, free: 26.14 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.078e-05/0.7679, allocations: 7.438 kB / 0.7498 GB, free: 26.14 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.526e-05/0.7679, allocations: 11.28 kB / 0.7498 GB, free: 26.14 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.771e-05/0.768, allocations: 7.375 kB / 0.7498 GB, free: 26.14 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.453e-06/0.768, allocations: 0 / 0.7498 GB, free: 26.14 MB / 0.5105 GB Notification: Performance of matching and sorting (n=2) (initialization): time 9.983e-05/0.7681, allocations: 63.41 kB / 0.7499 GB, free: 26.1 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.133e-05/0.7681, allocations: 3.875 kB / 0.7499 GB, free: 26.1 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.228e-06/0.7681, allocations: 0 / 0.7499 GB, free: 26.1 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.241e-05/0.7681, allocations: 0 / 0.7499 GB, free: 26.1 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001686/0.7683, allocations: 33.64 kB / 0.7499 GB, free: 26.09 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.941e-06/0.7683, allocations: 0 / 0.7499 GB, free: 26.09 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001362/0.7685, allocations: 33.89 kB / 0.7499 GB, free: 26.09 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.767e-06/0.7685, allocations: 3.969 kB / 0.7499 GB, free: 26.09 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 (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 7.491e-05/0.7686, allocations: 105.4 kB / 0.75 GB, free: 25.98 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.357e-05/0.7686, allocations: 0 / 0.75 GB, free: 25.98 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.119e-05/0.7686, allocations: 6.969 kB / 0.75 GB, free: 25.97 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.713e-06/0.7686, allocations: 0 / 0.75 GB, free: 25.97 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.068e-06/0.7686, allocations: 4.25 kB / 0.75 GB, free: 25.97 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.477e-06/0.7686, allocations: 3.562 kB / 0.75 GB, free: 25.97 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001544/0.7688, allocations: 171.8 kB / 0.7502 GB, free: 25.77 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.953e-06/0.7688, allocations: 3 kB / 0.7502 GB, free: 25.77 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001314/0.769, allocations: 29.41 kB / 0.7502 GB, free: 25.77 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.703e-06/0.769, allocations: 0 / 0.7502 GB, free: 25.77 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.586e-06/0.769, allocations: 4 kB / 0.7502 GB, free: 25.77 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.062e-06/0.769, allocations: 0 / 0.7502 GB, free: 25.77 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.082e-06/0.769, allocations: 3.875 kB / 0.7502 GB, free: 25.77 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001469/0.7691, allocations: 160.8 kB / 0.7504 GB, free: 25.62 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 3.981e-05/0.7692, allocations: 80.06 kB / 0.7505 GB, free: 25.53 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.568e-05/0.7692, allocations: 3.844 kB / 0.7505 GB, free: 25.53 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001445/0.7694, allocations: 25.48 kB / 0.7505 GB, free: 25.53 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.993e-05/0.7694, allocations: 3.938 kB / 0.7505 GB, free: 25.52 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.234e-06/0.7694, allocations: 3.188 kB / 0.7505 GB, free: 25.52 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 3.721e-05/0.7695, allocations: 86.53 kB / 0.7506 GB, free: 25.45 MB / 0.5105 GB Notification: Performance of sort global known variables: time 1.2e-07/0.7695, allocations: 0 / 0.7506 GB, free: 25.45 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.0002162/0.7697, allocations: 15.53 kB / 0.7506 GB, free: 25.45 MB / 0.5105 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.0001696/0.7699, allocations: 116.1 kB / 0.7507 GB, free: 25.35 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.0001114/0.77, allocations: 30.44 kB / 0.7508 GB, free: 25.34 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 1.623e-06/0.77, allocations: 0 / 0.7508 GB, free: 25.34 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 3.798e-05/0.77, allocations: 15.12 kB / 0.7508 GB, free: 25.34 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001615/0.7702, allocations: 8.688 kB / 0.7508 GB, free: 25.34 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003636/0.7706, allocations: 104.3 kB / 0.7509 GB, free: 25.27 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002631/0.7708, allocations: 0.6794 MB / 0.7515 GB, free: 24.57 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 7.296e-05/0.7709, allocations: 7.844 kB / 0.7515 GB, free: 24.57 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.268e-05/0.771, allocations: 11.28 kB / 0.7516 GB, free: 24.56 MB / 0.5105 GB Notification: Performance of SimCode: time 4.21e-07/0.771, allocations: 4 kB / 0.7516 GB, free: 24.55 MB / 0.5105 GB Notification: Performance of Templates: time 0.002669/0.7736, allocations: 0.7123 MB / 0.7523 GB, free: 24.49 MB / 0.5105 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)