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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) 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/Modelica 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) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/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 Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000874/0.0008742, allocations: 99.86 kB / 15.05 MB, free: 1.105 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009487/0.0009487, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.19/1.19, allocations: 223.2 MB / 239.9 MB, free: 5.371 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8383/0.8383, allocations: 135.2 MB / 426.2 MB, free: 14.41 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003007/0.0003008, allocations: 12 kB / 0.5068 GB, free: 5.262 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1399/0.1402, allocations: 82.31 MB / 0.5872 GB, free: 3.137 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.InverseXRegularized): time 0.000662/0.1409, allocations: 351 kB / 0.5875 GB, free: 2.789 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.001473/0.1424, allocations: 1.394 MB / 0.5889 GB, free: 1.379 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.805e-05/0.1424, allocations: 0 / 0.5889 GB, free: 1.379 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 1.276e-05/0.1424, allocations: 0 / 0.5889 GB, free: 1.379 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 5.747e-05/0.1425, allocations: 7.984 kB / 0.5889 GB, free: 1.371 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002844/0.1428, allocations: 98.94 kB / 0.589 GB, free: 1.277 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 4.217e-05/0.1428, allocations: 15.92 kB / 0.589 GB, free: 1.262 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.521e-05/0.1429, allocations: 0 / 0.589 GB, free: 1.262 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.399e-05/0.1429, allocations: 19.92 kB / 0.589 GB, free: 1.242 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.233e-05/0.143, allocations: 15.97 kB / 0.5891 GB, free: 1.227 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.407e-05/0.143, allocations: 4 kB / 0.5891 GB, free: 1.223 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003983/0.1434, allocations: 307.4 kB / 0.5893 GB, free: 0.9219 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 1.316e-05/0.1434, allocations: 7.984 kB / 0.5894 GB, free: 0.9141 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 2.472e-05/0.1435, allocations: 33.64 kB / 0.5894 GB, free: 0.875 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001927/0.1437, allocations: 144.1 kB / 0.5895 GB, free: 0.7344 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.524e-06/0.1437, allocations: 0 / 0.5895 GB, free: 0.7344 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.233e-06/0.1437, allocations: 0 / 0.5895 GB, free: 0.7344 MB / 494.1 MB Notification: Performance of Transformations before backend: time 3.066e-06/0.1437, allocations: 4 kB / 0.5895 GB, free: 0.7305 MB / 494.1 MB 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.0004065/0.1441, allocations: 367.2 kB / 0.5899 GB, free: 332 kB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.026e-05/0.1441, allocations: 8.031 kB / 0.5899 GB, free: 324 kB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003592/0.1445, allocations: 79.83 kB / 0.59 GB, free: 244 kB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001308/0.1446, allocations: 175 kB / 0.5901 GB, free: 28 kB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.574e-05/0.1447, allocations: 0 / 0.5901 GB, free: 28 kB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.675e-05/0.1447, allocations: 4 kB / 0.5901 GB, free: 24 kB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002547/0.1449, allocations: 77.64 kB / 0.5902 GB, free: 15.94 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.116e-05/0.145, allocations: 3.938 kB / 0.5902 GB, free: 15.94 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.012e-05/0.145, allocations: 4 kB / 0.5902 GB, free: 15.93 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.128e-06/0.145, allocations: 0 / 0.5902 GB, free: 15.93 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003424/0.1453, allocations: 87.91 kB / 0.5903 GB, free: 15.85 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00016/0.1455, allocations: 173.6 kB / 0.5905 GB, free: 15.63 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005153/0.146, allocations: 142.5 kB / 0.5906 GB, free: 15.48 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.852e-05/0.1461, allocations: 8 kB / 0.5906 GB, free: 15.47 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.156e-05/0.1461, allocations: 30.56 kB / 0.5906 GB, free: 15.43 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=5): time 2.836e-06/0.1461, allocations: 0 / 0.5906 GB, free: 15.43 MB / 0.4981 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.003914/0.15, allocations: 0.9615 MB / 0.5916 GB, free: 14.46 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.087e-05/0.15, allocations: 55.41 kB / 0.5916 GB, free: 14.4 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.006e-05/0.1501, allocations: 109.8 kB / 0.5917 GB, free: 14.28 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.787e-05/0.1501, allocations: 25.7 kB / 0.5918 GB, free: 14.25 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 4.062e-05/0.1502, allocations: 88.14 kB / 0.5918 GB, free: 14.16 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 3.307e-05/0.1502, allocations: 27.55 kB / 0.5919 GB, free: 14.13 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.876e-06/0.1502, allocations: 4 kB / 0.5919 GB, free: 14.13 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 9.432e-05/0.1503, allocations: 326.8 kB / 0.5922 GB, free: 13.8 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004206/0.1508, allocations: 115.8 kB / 0.5923 GB, free: 13.69 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004057/0.1512, allocations: 119.9 kB / 0.5924 GB, free: 13.57 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004095/0.1516, allocations: 115.8 kB / 0.5925 GB, free: 13.46 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.21e-07/0.1516, allocations: 0 / 0.5925 GB, free: 13.46 MB / 0.4981 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0008734/0.1525, allocations: 289.4 kB / 0.5928 GB, free: 13.17 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.352e-05/0.1525, allocations: 4 kB / 0.5928 GB, free: 13.16 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.107e-06/0.1525, allocations: 0 / 0.5928 GB, free: 13.16 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.128e-05/0.1525, allocations: 0 / 0.5928 GB, free: 13.16 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003064/0.1529, allocations: 67.92 kB / 0.5929 GB, free: 13.1 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.063e-06/0.1529, allocations: 4 kB / 0.5929 GB, free: 13.09 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002342/0.1531, allocations: 43.95 kB / 0.5929 GB, free: 13.05 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.382e-05/0.1531, allocations: 4 kB / 0.5929 GB, free: 13.05 MB / 0.4981 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 7.849e-05/0.1532, allocations: 117.8 kB / 0.593 GB, free: 12.92 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.711e-05/0.1532, allocations: 3.906 kB / 0.593 GB, free: 12.92 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.216e-05/0.1533, allocations: 24.3 kB / 0.5931 GB, free: 12.89 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.305e-06/0.1533, allocations: 0 / 0.5931 GB, free: 12.89 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.649e-06/0.1533, allocations: 0 / 0.5931 GB, free: 12.89 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.535e-06/0.1533, allocations: 0 / 0.5931 GB, free: 12.89 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001579/0.1549, allocations: 0.6599 MB / 0.5937 GB, free: 12.17 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.853e-06/0.1549, allocations: 0 / 0.5937 GB, free: 12.17 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002684/0.1552, allocations: 64 kB / 0.5938 GB, free: 12.11 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.037e-06/0.1552, allocations: 4 kB / 0.5938 GB, free: 12.1 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.174e-05/0.1552, allocations: 4 kB / 0.5938 GB, free: 12.1 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.088e-06/0.1552, allocations: 4 kB / 0.5938 GB, free: 12.09 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.266e-06/0.1552, allocations: 7.891 kB / 0.5938 GB, free: 12.09 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009025/0.1561, allocations: 404.7 kB / 0.5942 GB, free: 11.66 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 3.557e-05/0.1562, allocations: 88.95 kB / 0.5942 GB, free: 11.55 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.591e-05/0.1562, allocations: 8.844 kB / 0.5943 GB, free: 11.54 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002492/0.1565, allocations: 47.89 kB / 0.5943 GB, free: 11.5 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.136e-05/0.1565, allocations: 7.984 kB / 0.5943 GB, free: 11.49 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.069e-05/0.1565, allocations: 4 kB / 0.5943 GB, free: 11.48 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 5.953e-05/0.1566, allocations: 95.27 kB / 0.5944 GB, free: 11.39 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1e-07/0.1566, allocations: 0 / 0.5944 GB, free: 11.39 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002807/0.1569, allocations: 40 kB / 0.5944 GB, free: 11.35 MB / 0.4981 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.0002304/0.1571, allocations: 131.1 kB / 0.5946 GB, free: 11.21 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.00089/0.158, allocations: 256.3 kB / 0.5948 GB, free: 10.96 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.923e-06/0.158, allocations: 0 / 0.5948 GB, free: 10.96 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0004155/0.1585, allocations: 124 kB / 0.5949 GB, free: 10.84 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001334/0.1586, allocations: 8 kB / 0.5949 GB, free: 10.84 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001475/0.1601, allocations: 476.2 kB / 0.5954 GB, free: 10.34 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002147/0.1603, allocations: 0.6887 MB / 0.5961 GB, free: 9.625 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0001055/0.1604, allocations: 28.8 kB / 0.5961 GB, free: 9.594 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.889e-05/0.1605, allocations: 19.42 kB / 0.5961 GB, free: 9.574 MB / 0.4981 GB Notification: Performance of SimCode: time 2.7e-07/0.1605, allocations: 0 / 0.5961 GB, free: 9.574 MB / 0.4981 GB Notification: Performance of Templates: time 0.003396/0.1639, allocations: 1.542 MB / 0.5976 GB, free: 8.035 MB / 0.4981 GB make -j1 -f IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.InverseXRegularized.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: