Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.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-master/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-master/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.InverseXDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.InverseXDerivativeCheck") translateModel(IDEAS.Utilities.Math.Functions.Examples.InverseXDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.InverseXDerivativeCheck") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.009825/0.009826, allocations: 170.5 kB / 15.11 MB, free: 5.973 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7343/0.7343, allocations: 135.2 MB / 151.1 MB, free: 13.84 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.669/1.669, allocations: 223.2 MB / 406.9 MB, free: 3.203 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.0009199/0.0009196, allocations: 98.27 kB / 489.9 MB, free: 10.89 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003557/0.0003558, allocations: 8 kB / 0.5691 GB, free: 14.13 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4299/0.4303, allocations: 82.31 MB / 0.6495 GB, free: 36.11 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1988/0.6291, allocations: 112.1 MB / 0.7589 GB, free: 3.906 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000276/0.6295, allocations: 83.94 kB / 0.759 GB, free: 3.824 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 0.01606/0.6455, allocations: 4.125 MB / 0.763 GB, free: 15.7 MB / 0.5417 GB Notification: Performance of FrontEnd: time 1.423e-06/0.6456, allocations: 4 kB / 0.763 GB, free: 15.69 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 4.518e-06/0.6456, allocations: 0 / 0.763 GB, free: 15.69 MB / 0.5417 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0005032/0.6461, allocations: 371.1 kB / 0.7634 GB, free: 15.28 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 4.947e-05/0.6462, allocations: 8.031 kB / 0.7634 GB, free: 15.27 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004655/0.6466, allocations: 63.88 kB / 0.7635 GB, free: 15.21 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001424/0.6468, allocations: 171 kB / 0.7636 GB, free: 15 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.358e-05/0.6468, allocations: 7.938 kB / 0.7636 GB, free: 15 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.263e-05/0.6469, allocations: 0 / 0.7636 GB, free: 15 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003182/0.6472, allocations: 89.62 kB / 0.7637 GB, free: 14.9 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.833e-06/0.6472, allocations: 0 / 0.7637 GB, free: 14.9 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.515e-05/0.6472, allocations: 0 / 0.7637 GB, free: 14.9 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.306e-06/0.6472, allocations: 0 / 0.7637 GB, free: 14.9 MB / 0.5417 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004147/0.6477, allocations: 83.92 kB / 0.7638 GB, free: 14.82 MB / 0.5417 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002226/0.6479, allocations: 165.7 kB / 0.764 GB, free: 14.61 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000746/0.6487, allocations: 142.5 kB / 0.7641 GB, free: 14.46 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 4.337e-05/0.6487, allocations: 4 kB / 0.7641 GB, free: 14.46 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.328e-05/0.6488, allocations: 39.17 kB / 0.7641 GB, free: 14.41 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=4): time 1.373e-06/0.6488, allocations: 0 / 0.7641 GB, free: 14.41 MB / 0.5417 GB Notification: Performance of matching and sorting (n=5): time 0.001418/0.6502, allocations: 434.2 kB / 0.7645 GB, free: 13.93 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.515e-05/0.6502, allocations: 51.41 kB / 0.7646 GB, free: 13.87 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.046e-05/0.6503, allocations: 93 kB / 0.7647 GB, free: 13.77 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 2.332e-05/0.6503, allocations: 29.7 kB / 0.7647 GB, free: 13.74 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 3.007e-05/0.6504, allocations: 80.14 kB / 0.7648 GB, free: 13.66 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 2.909e-05/0.6504, allocations: 15.75 kB / 0.7648 GB, free: 13.64 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.929e-06/0.6504, allocations: 4 kB / 0.7648 GB, free: 13.64 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 0.0001139/0.6505, allocations: 314.8 kB / 0.7651 GB, free: 13.32 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002081/0.6508, allocations: 44.09 kB / 0.7651 GB, free: 13.28 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001952/0.651, allocations: 47.91 kB / 0.7652 GB, free: 13.23 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001969/0.6512, allocations: 39.97 kB / 0.7652 GB, free: 13.19 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.675e-06/0.6512, allocations: 3.953 kB / 0.7652 GB, free: 13.19 MB / 0.5417 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0004863/0.6517, allocations: 133.5 kB / 0.7654 GB, free: 13.05 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 1.787e-05/0.6517, allocations: 8 kB / 0.7654 GB, free: 13.04 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.608e-06/0.6517, allocations: 0 / 0.7654 GB, free: 13.04 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.223e-05/0.6518, allocations: 0 / 0.7654 GB, free: 13.04 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001905/0.6519, allocations: 27.97 kB / 0.7654 GB, free: 13.02 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.282e-06/0.652, allocations: 0 / 0.7654 GB, free: 13.02 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001302/0.6521, allocations: 19.98 kB / 0.7654 GB, free: 13 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.344e-05/0.6521, allocations: 0 / 0.7654 GB, free: 13 MB / 0.5417 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 (6): * Single equations (assignments): 6 * 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.0001074/0.6522, allocations: 117.8 kB / 0.7655 GB, free: 12.87 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.144e-05/0.6523, allocations: 3.953 kB / 0.7655 GB, free: 12.87 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005888/0.6529, allocations: 149.1 kB / 0.7657 GB, free: 12.71 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.755e-06/0.6529, allocations: 0 / 0.7657 GB, free: 12.71 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.635e-06/0.6529, allocations: 0 / 0.7657 GB, free: 12.71 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.86e-06/0.6529, allocations: 4 kB / 0.7657 GB, free: 12.71 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001646/0.6531, allocations: 170 kB / 0.7658 GB, free: 12.5 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.536e-06/0.6531, allocations: 3.953 kB / 0.7658 GB, free: 12.49 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002075/0.6533, allocations: 35.97 kB / 0.7659 GB, free: 12.46 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.585e-06/0.6533, allocations: 0 / 0.7659 GB, free: 12.46 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.464e-05/0.6533, allocations: 0 / 0.7659 GB, free: 12.46 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.693e-06/0.6534, allocations: 0 / 0.7659 GB, free: 12.46 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.896e-06/0.6534, allocations: 7.938 kB / 0.7659 GB, free: 12.45 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007437/0.6541, allocations: 197 kB / 0.7661 GB, free: 12.24 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 8.872e-05/0.6542, allocations: 92.95 kB / 0.7662 GB, free: 12.13 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.674e-05/0.6543, allocations: 8.016 kB / 0.7662 GB, free: 12.12 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001471/0.6544, allocations: 16.05 kB / 0.7662 GB, free: 12.11 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.844e-05/0.6545, allocations: 4 kB / 0.7662 GB, free: 12.1 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.469e-05/0.6545, allocations: 4.328 kB / 0.7662 GB, free: 12.1 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 3.945e-05/0.6545, allocations: 79.28 kB / 0.7663 GB, free: 12.02 MB / 0.5417 GB Notification: Performance of sort global known variables: time 2.51e-07/0.6545, allocations: 0 / 0.7663 GB, free: 12.02 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.0003996/0.6549, allocations: 43.92 kB / 0.7663 GB, free: 11.98 MB / 0.5417 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (y_comp) * 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 (6): * Single equations (assignments): 6 * 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.0002733/0.6552, allocations: 143.2 kB / 0.7664 GB, free: 11.82 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.0005144/0.6558, allocations: 103.9 kB / 0.7665 GB, free: 11.72 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 2.405e-06/0.6558, allocations: 0 / 0.7665 GB, free: 11.72 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.0002142/0.656, allocations: 47.97 kB / 0.7666 GB, free: 11.68 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001478/0.6561, allocations: 4 kB / 0.7666 GB, free: 11.67 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007505/0.6569, allocations: 196.6 kB / 0.7668 GB, free: 11.45 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002676/0.6572, allocations: 0.6848 MB / 0.7675 GB, free: 10.74 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 0.000174/0.6574, allocations: 31.91 kB / 0.7675 GB, free: 10.71 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.032e-05/0.6574, allocations: 11.44 kB / 0.7675 GB, free: 10.7 MB / 0.5417 GB Notification: Performance of SimCode: time 3.01e-07/0.6575, allocations: 0 / 0.7675 GB, free: 10.7 MB / 0.5417 GB Notification: Performance of Templates: time 0.003951/0.6614, allocations: 1.076 MB / 0.7685 GB, free: 9.629 MB / 0.5417 GB make -j1 -f IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.makefile (rm -f IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.pipe ; mkfifo IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.pipe >> ../files/IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.sim & ./IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.InverseXDerivativeCheck -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.pipe 2>&1)