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.005954/0.005954, allocations: 170.6 kB / 15.11 MB, free: 6.039 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8252/0.8252, allocations: 132.3 MB / 148.1 MB, free: 256 kB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.419/1.419, allocations: 223.2 MB / 403.2 MB, free: 6.805 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.000938/0.0009379, allocations: 98.48 kB / 485.5 MB, free: 14.19 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003363/0.0003363, allocations: 12 kB / 0.5641 GB, free: 2.156 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4333/0.4336, allocations: 81.57 MB / 0.6437 GB, free: 39.32 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1521/0.5858, allocations: 112.2 MB / 0.7534 GB, free: 7.742 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002508/0.5861, allocations: 71.95 kB / 0.7534 GB, free: 7.672 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 0.01198/0.5981, allocations: 3.856 MB / 0.7572 GB, free: 3.809 MB / 0.5261 GB Notification: Performance of FrontEnd: time 2.895e-06/0.5981, allocations: 0 / 0.7572 GB, free: 3.809 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 7.765e-06/0.5982, allocations: 0 / 0.7572 GB, free: 3.809 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.0005611/0.5987, allocations: 387.1 kB / 0.7576 GB, free: 3.383 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 5.3e-05/0.5988, allocations: 11.97 kB / 0.7576 GB, free: 3.371 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000396/0.5992, allocations: 59.94 kB / 0.7576 GB, free: 3.312 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001703/0.5994, allocations: 179 kB / 0.7578 GB, free: 3.098 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.143e-05/0.5994, allocations: 0 / 0.7578 GB, free: 3.098 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.511e-05/0.5994, allocations: 0 / 0.7578 GB, free: 3.098 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003265/0.5998, allocations: 93.62 kB / 0.7579 GB, free: 3 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.004e-05/0.5998, allocations: 0 / 0.7579 GB, free: 3 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.742e-05/0.5998, allocations: 4 kB / 0.7579 GB, free: 2.996 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.081e-06/0.5998, allocations: 0 / 0.7579 GB, free: 2.996 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004068/0.6002, allocations: 119.8 kB / 0.758 GB, free: 2.879 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005029/0.6007, allocations: 296.8 kB / 0.7583 GB, free: 2.539 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003672/0.6011, allocations: 118.5 kB / 0.7584 GB, free: 2.414 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 1.698e-05/0.6012, allocations: 0 / 0.7584 GB, free: 2.414 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.633e-05/0.6012, allocations: 30.56 kB / 0.7584 GB, free: 2.375 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=2): time 9.62e-07/0.6012, allocations: 0 / 0.7584 GB, free: 2.375 MB / 0.5261 GB Notification: Performance of matching and sorting (n=2): time 0.0007221/0.6019, allocations: 209.6 kB / 0.7586 GB, free: 2.164 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.753e-05/0.602, allocations: 55.41 kB / 0.7587 GB, free: 2.098 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.476e-05/0.6021, allocations: 96.94 kB / 0.7588 GB, free: 1.996 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 2.073e-05/0.6021, allocations: 29.7 kB / 0.7588 GB, free: 1.961 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 6.152e-05/0.6022, allocations: 84.17 kB / 0.7589 GB, free: 1.875 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 2.468e-05/0.6022, allocations: 7.906 kB / 0.7589 GB, free: 1.867 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.422e-06/0.6022, allocations: 0 / 0.7589 GB, free: 1.867 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0001569/0.6024, allocations: 314.8 kB / 0.7592 GB, free: 1.551 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002114/0.6026, allocations: 59.94 kB / 0.7592 GB, free: 1.492 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001907/0.6028, allocations: 55.95 kB / 0.7593 GB, free: 1.438 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000205/0.603, allocations: 56.02 kB / 0.7594 GB, free: 1.383 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.285e-06/0.603, allocations: 3.938 kB / 0.7594 GB, free: 1.379 MB / 0.5261 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0004243/0.6035, allocations: 149.5 kB / 0.7595 GB, free: 1.227 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.725e-05/0.6035, allocations: 8.031 kB / 0.7595 GB, free: 1.219 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.669e-06/0.6035, allocations: 4.25 kB / 0.7595 GB, free: 1.215 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.537e-05/0.6035, allocations: 0 / 0.7595 GB, free: 1.215 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001689/0.6037, allocations: 27.97 kB / 0.7595 GB, free: 1.188 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.437e-06/0.6037, allocations: 4 kB / 0.7595 GB, free: 1.184 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001226/0.6038, allocations: 27.92 kB / 0.7596 GB, free: 1.156 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.036e-05/0.6039, allocations: 3.953 kB / 0.7596 GB, free: 1.152 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 () * Number of clocked 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.252e-05/0.6039, allocations: 109.8 kB / 0.7597 GB, free: 1.035 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.659e-05/0.604, allocations: 7.906 kB / 0.7597 GB, free: 1.027 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.067e-05/0.604, allocations: 7.125 kB / 0.7597 GB, free: 1.023 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.923e-06/0.604, allocations: 0 / 0.7597 GB, free: 1.023 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.829e-06/0.604, allocations: 4 kB / 0.7597 GB, free: 1.02 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.935e-06/0.604, allocations: 0 / 0.7597 GB, free: 1.02 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001704/0.6042, allocations: 173.6 kB / 0.7599 GB, free: 0.8008 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.052e-06/0.6042, allocations: 0 / 0.7599 GB, free: 0.8008 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001391/0.6044, allocations: 27.97 kB / 0.7599 GB, free: 0.7734 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.274e-06/0.6044, allocations: 0 / 0.7599 GB, free: 0.7734 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.098e-05/0.6044, allocations: 4 kB / 0.7599 GB, free: 0.7695 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.555e-06/0.6044, allocations: 4 kB / 0.7599 GB, free: 0.7656 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.11e-07/0.6044, allocations: 0 / 0.7599 GB, free: 0.7656 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004832/0.6049, allocations: 247.3 kB / 0.7601 GB, free: 0.5078 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 3.769e-05/0.6049, allocations: 77.11 kB / 0.7602 GB, free: 424 kB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.723e-05/0.605, allocations: 0 / 0.7602 GB, free: 424 kB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001424/0.6051, allocations: 23.97 kB / 0.7602 GB, free: 400 kB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.442e-05/0.6052, allocations: 4 kB / 0.7602 GB, free: 396 kB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.261e-05/0.6052, allocations: 4.031 kB / 0.7602 GB, free: 392 kB / 0.5261 GB Notification: Performance of sorting global known variables: time 4.408e-05/0.6053, allocations: 87.27 kB / 0.7603 GB, free: 304 kB / 0.5261 GB Notification: Performance of sort global known variables: time 1.61e-07/0.6053, allocations: 0 / 0.7603 GB, free: 304 kB / 0.5261 GB Notification: Performance of remove unused functions: time 0.0002432/0.6055, allocations: 19.94 kB / 0.7603 GB, free: 284 kB / 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 () * Number of clocked 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.0001765/0.6057, allocations: 103.2 kB / 0.7604 GB, free: 172 kB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.0004604/0.6062, allocations: 123.8 kB / 0.7606 GB, free: 48 kB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 2.254e-06/0.6062, allocations: 0 / 0.7606 GB, free: 48 kB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.0002312/0.6064, allocations: 64.02 kB / 0.7606 GB, free: 15.98 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002085/0.6066, allocations: 10.08 kB / 0.7606 GB, free: 15.98 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005497/0.6072, allocations: 180.9 kB / 0.7608 GB, free: 15.77 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002338/0.6074, allocations: 0.677 MB / 0.7615 GB, free: 15.07 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 8.302e-05/0.6075, allocations: 8 kB / 0.7615 GB, free: 15.06 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.753e-05/0.6076, allocations: 19.36 kB / 0.7615 GB, free: 15.04 MB / 0.5417 GB Notification: Performance of SimCode: time 3.61e-07/0.6076, allocations: 0 / 0.7615 GB, free: 15.04 MB / 0.5417 GB Notification: Performance of Templates: time 0.002755/0.6103, allocations: 0.7075 MB / 0.7622 GB, free: 14.34 MB / 0.5417 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)