Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_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/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.Functions.Examples.InverseXRegularized,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Utilities.Math.Functions.Examples.InverseXRegularized") translateModel(IDEAS.Utilities.Math.Functions.Examples.InverseXRegularized,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Utilities.Math.Functions.Examples.InverseXRegularized") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.007671/0.007671, allocations: 172 kB / 15.11 MB, free: 5.969 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7459/0.7459, allocations: 132.3 MB / 148.1 MB, free: 244 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.767/1.767, allocations: 223.2 MB / 403.2 MB, free: 6.762 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.0008347/0.0008347, allocations: 107 kB / 485.5 MB, free: 14.16 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003762/0.0003762, allocations: 12 kB / 0.5641 GB, free: 2.117 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4211/0.4215, allocations: 81.59 MB / 0.6438 GB, free: 39.31 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1515/0.573, allocations: 111.8 MB / 0.753 GB, free: 8.141 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002612/0.5733, allocations: 79.94 kB / 0.753 GB, free: 8.062 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 0.01288/0.5862, allocations: 4.207 MB / 0.7571 GB, free: 3.852 MB / 0.5261 GB Notification: Performance of FrontEnd: time 1.744e-06/0.5863, allocations: 0 / 0.7571 GB, free: 3.852 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 7.725e-06/0.5863, allocations: 0 / 0.7571 GB, free: 3.852 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0004455/0.5867, allocations: 387.1 kB / 0.7575 GB, free: 3.426 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 4.11e-05/0.5868, allocations: 15.97 kB / 0.7575 GB, free: 3.41 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002919/0.5871, allocations: 59.84 kB / 0.7576 GB, free: 3.352 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001409/0.5872, allocations: 171 kB / 0.7577 GB, free: 3.145 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.813e-05/0.5872, allocations: 4 kB / 0.7578 GB, free: 3.141 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.21e-05/0.5873, allocations: 7.984 kB / 0.7578 GB, free: 3.133 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002818/0.5876, allocations: 81.58 kB / 0.7578 GB, free: 3.047 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.179e-05/0.5876, allocations: 0 / 0.7578 GB, free: 3.047 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.112e-05/0.5876, allocations: 0 / 0.7578 GB, free: 3.047 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.749e-06/0.5876, allocations: 0 / 0.7578 GB, free: 3.047 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000353/0.588, allocations: 87.92 kB / 0.7579 GB, free: 2.961 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002353/0.5882, allocations: 165.7 kB / 0.7581 GB, free: 2.75 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005608/0.5888, allocations: 146.5 kB / 0.7582 GB, free: 2.598 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 2.203e-05/0.5888, allocations: 4 kB / 0.7582 GB, free: 2.594 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.794e-05/0.5889, allocations: 34.5 kB / 0.7583 GB, free: 2.551 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=5): time 1.403e-06/0.5889, allocations: 0 / 0.7583 GB, free: 2.551 MB / 0.5261 GB Warning: Some equations could not be differentiated for following variables having attribute stateSelect=StateSelect.prefer. They will be treated as if they had stateSelect=StateSelect.default ======================================== 1: x Please use -d=bltdump for more information. Notification: Performance of matching and sorting (n=9): time 0.005301/0.5942, allocations: 1.017 MB / 0.7592 GB, free: 1.527 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.075e-05/0.5942, allocations: 59.39 kB / 0.7593 GB, free: 1.457 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.304e-05/0.5943, allocations: 97.09 kB / 0.7594 GB, free: 1.355 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 2.75e-05/0.5944, allocations: 37.64 kB / 0.7594 GB, free: 1.312 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 6.14e-05/0.5944, allocations: 88.11 kB / 0.7595 GB, free: 1.223 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 5.466e-05/0.5945, allocations: 27.56 kB / 0.7595 GB, free: 1.195 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.505e-05/0.5945, allocations: 11.94 kB / 0.7596 GB, free: 1.184 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.000135/0.5947, allocations: 318.8 kB / 0.7599 GB, free: 0.8633 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004429/0.5951, allocations: 127.9 kB / 0.76 GB, free: 0.7383 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004185/0.5955, allocations: 127.9 kB / 0.7601 GB, free: 0.6133 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000437/0.596, allocations: 123.9 kB / 0.7602 GB, free: 0.4922 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.302e-06/0.596, allocations: 4 kB / 0.7602 GB, free: 500 kB / 0.5261 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0009723/0.597, allocations: 309.4 kB / 0.7605 GB, free: 184 kB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.905e-05/0.597, allocations: 8 kB / 0.7605 GB, free: 176 kB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.851e-06/0.597, allocations: 0 / 0.7605 GB, free: 176 kB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.4e-05/0.597, allocations: 0 / 0.7605 GB, free: 176 kB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003999/0.5975, allocations: 75.91 kB / 0.7606 GB, free: 100 kB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.983e-06/0.5975, allocations: 0 / 0.7606 GB, free: 100 kB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003004/0.5978, allocations: 48.7 kB / 0.7606 GB, free: 52 kB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.536e-05/0.5978, allocations: 7.984 kB / 0.7607 GB, free: 44 kB / 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 (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 0.0001209/0.5979, allocations: 121.7 kB / 0.7608 GB, free: 15.91 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.332e-05/0.598, allocations: 11.91 kB / 0.7608 GB, free: 15.9 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.768e-05/0.598, allocations: 8.375 kB / 0.7608 GB, free: 15.89 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.007e-06/0.598, allocations: 4 kB / 0.7608 GB, free: 15.89 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.628e-06/0.598, allocations: 0 / 0.7608 GB, free: 15.89 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.911e-06/0.5981, allocations: 7.969 kB / 0.7608 GB, free: 15.88 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001974/0.6, allocations: 0.701 MB / 0.7615 GB, free: 15.11 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.565e-06/0.6, allocations: 0 / 0.7615 GB, free: 15.11 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003326/0.6004, allocations: 68.27 kB / 0.7615 GB, free: 15.05 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.098e-06/0.6004, allocations: 0 / 0.7615 GB, free: 15.05 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.482e-05/0.6004, allocations: 7.984 kB / 0.7616 GB, free: 15.04 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.258e-06/0.6004, allocations: 7.875 kB / 0.7616 GB, free: 15.03 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.209e-06/0.6005, allocations: 7.953 kB / 0.7616 GB, free: 15.02 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000997/0.6015, allocations: 424.4 kB / 0.762 GB, free: 14.57 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 5.231e-05/0.6015, allocations: 88.95 kB / 0.7621 GB, free: 14.47 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.9e-05/0.6016, allocations: 4 kB / 0.7621 GB, free: 14.46 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002913/0.6019, allocations: 47.95 kB / 0.7621 GB, free: 14.42 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.623e-05/0.6019, allocations: 11.98 kB / 0.7621 GB, free: 14.41 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.845e-05/0.602, allocations: 11.98 kB / 0.7621 GB, free: 14.39 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 5.794e-05/0.602, allocations: 91.27 kB / 0.7622 GB, free: 14.3 MB / 0.5417 GB Notification: Performance of sort global known variables: time 2.3e-07/0.602, allocations: 0 / 0.7622 GB, free: 14.3 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.0003055/0.6023, allocations: 39.94 kB / 0.7623 GB, free: 14.27 MB / 0.5417 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 () * Number of clocked 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.0002361/0.6026, allocations: 119.2 kB / 0.7624 GB, free: 14.14 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.0009367/0.6035, allocations: 279.7 kB / 0.7626 GB, free: 13.87 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 2.464e-06/0.6035, allocations: 0 / 0.7626 GB, free: 13.87 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.000442/0.604, allocations: 139.9 kB / 0.7628 GB, free: 13.73 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001562/0.6041, allocations: 4 kB / 0.7628 GB, free: 13.73 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001798/0.606, allocations: 496.2 kB / 0.7633 GB, free: 13.2 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002552/0.6062, allocations: 0.6926 MB / 0.7639 GB, free: 12.48 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 0.0001502/0.6064, allocations: 28.66 kB / 0.764 GB, free: 12.45 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001011/0.6065, allocations: 27.39 kB / 0.764 GB, free: 12.43 MB / 0.5417 GB Notification: Performance of SimCode: time 1.814e-06/0.6065, allocations: 0 / 0.764 GB, free: 12.43 MB / 0.5417 GB Notification: Performance of Templates: time 0.004097/0.6106, allocations: 1.785 MB / 0.7657 GB, free: 10.64 MB / 0.5417 GB make -j1 -f IDEAS_IDEAS.Utilities.Math.Functions.Examples.InverseXRegularized.makefile (rm -f IDEAS_IDEAS.Utilities.Math.Functions.Examples.InverseXRegularized.pipe ; mkfifo IDEAS_IDEAS.Utilities.Math.Functions.Examples.InverseXRegularized.pipe ; head -c 1048576 < IDEAS_IDEAS.Utilities.Math.Functions.Examples.InverseXRegularized.pipe >> ../files/IDEAS_IDEAS.Utilities.Math.Functions.Examples.InverseXRegularized.sim & ./IDEAS_IDEAS.Utilities.Math.Functions.Examples.InverseXRegularized -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Utilities.Math.Functions.Examples.InverseXRegularized.pipe 2>&1)