Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.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.InverseXDerivative_2_Check,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check") translateModel(IDEAS.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.005613/0.005613, allocations: 170.8 kB / 15.11 MB, free: 5.984 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7715/0.7715, allocations: 135.2 MB / 151.1 MB, free: 13.8 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.379/1.379, allocations: 223.2 MB / 406.9 MB, free: 3.23 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.0008875/0.0008875, allocations: 87.81 kB / 489.9 MB, free: 10.92 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003647/0.0003648, allocations: 8 kB / 0.5691 GB, free: 14.16 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4932/0.4935, allocations: 82.31 MB / 0.6495 GB, free: 36.15 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1635/0.6571, allocations: 112.8 MB / 0.7597 GB, free: 3.164 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002524/0.6574, allocations: 79.95 kB / 0.7598 GB, free: 3.086 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 0.02531/0.6827, allocations: 5.538 MB / 0.7652 GB, free: 13.54 MB / 0.5417 GB Notification: Performance of FrontEnd: time 1.713e-06/0.6828, allocations: 0 / 0.7652 GB, free: 13.54 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 6.983e-06/0.6828, allocations: 0 / 0.7652 GB, free: 13.54 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: 13 * Number of variables: 13 Notification: Performance of Generate backend data structure: time 0.0005988/0.6834, allocations: 407 kB / 0.7656 GB, free: 13.1 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 5.343e-05/0.6834, allocations: 12.03 kB / 0.7656 GB, free: 13.09 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003945/0.6838, allocations: 67.83 kB / 0.7656 GB, free: 13.02 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001199/0.684, allocations: 167 kB / 0.7658 GB, free: 12.82 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.326e-05/0.684, allocations: 8 kB / 0.7658 GB, free: 12.81 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.655e-05/0.684, allocations: 8 kB / 0.7658 GB, free: 12.8 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003861/0.6844, allocations: 117.5 kB / 0.7659 GB, free: 12.68 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.354e-05/0.6845, allocations: 0 / 0.7659 GB, free: 12.68 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.848e-05/0.6845, allocations: 3.984 kB / 0.7659 GB, free: 12.68 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.151e-06/0.6845, allocations: 4 kB / 0.7659 GB, free: 12.67 MB / 0.5417 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000485/0.685, allocations: 119.9 kB / 0.766 GB, free: 12.55 MB / 0.5417 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005976/0.6856, allocations: 352.6 kB / 0.7664 GB, free: 12.16 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006237/0.6862, allocations: 182.4 kB / 0.7666 GB, free: 11.97 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 2.113e-05/0.6863, allocations: 4.141 kB / 0.7666 GB, free: 11.97 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.477e-05/0.6863, allocations: 34.55 kB / 0.7666 GB, free: 11.93 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=7): time 1.203e-06/0.6863, allocations: 4 kB / 0.7666 GB, free: 11.92 MB / 0.5417 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=11): time 0.02756/0.7139, allocations: 3.181 MB / 0.7697 GB, free: 8.645 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.735e-05/0.714, allocations: 55.34 kB / 0.7698 GB, free: 8.578 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001031/0.7141, allocations: 97 kB / 0.7698 GB, free: 8.477 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 7.296e-05/0.7142, allocations: 25.7 kB / 0.7699 GB, free: 8.445 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 6.776e-05/0.7143, allocations: 88.12 kB / 0.77 GB, free: 8.355 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 9.851e-05/0.7144, allocations: 39.55 kB / 0.77 GB, free: 8.316 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.457e-05/0.7144, allocations: 3.938 kB / 0.77 GB, free: 8.312 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 0.0001715/0.7146, allocations: 314.8 kB / 0.7703 GB, free: 7.996 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001037/0.7157, allocations: 215.8 kB / 0.7705 GB, free: 7.785 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001021/0.7167, allocations: 219.8 kB / 0.7707 GB, free: 7.57 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001076/0.7178, allocations: 219.1 kB / 0.7709 GB, free: 7.359 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.625e-06/0.7178, allocations: 0 / 0.7709 GB, free: 7.359 MB / 0.5417 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.002463/0.7203, allocations: 0.5128 MB / 0.7714 GB, free: 6.84 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 3.388e-05/0.7203, allocations: 4 kB / 0.7714 GB, free: 6.836 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.157e-05/0.7204, allocations: 0 / 0.7714 GB, free: 6.836 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.008e-05/0.7204, allocations: 7.953 kB / 0.7714 GB, free: 6.828 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001335/0.7217, allocations: 131.7 kB / 0.7716 GB, free: 6.699 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.043e-05/0.7218, allocations: 4 kB / 0.7716 GB, free: 6.695 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009727/0.7228, allocations: 55.94 kB / 0.7716 GB, free: 6.641 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000102/0.7229, allocations: 23.94 kB / 0.7716 GB, free: 6.617 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 (13): * Single equations (assignments): 13 * 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.0002425/0.7231, allocations: 117.8 kB / 0.7717 GB, free: 6.492 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001139/0.7232, allocations: 7.906 kB / 0.7718 GB, free: 6.484 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.832e-05/0.7233, allocations: 11.97 kB / 0.7718 GB, free: 6.469 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.921e-06/0.7234, allocations: 3.953 kB / 0.7718 GB, free: 6.465 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.631e-06/0.7234, allocations: 0 / 0.7718 GB, free: 6.465 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.5e-06/0.7234, allocations: 0 / 0.7718 GB, free: 6.465 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00345/0.7268, allocations: 1.109 MB / 0.7729 GB, free: 5.242 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.388e-06/0.7269, allocations: 7.938 kB / 0.7729 GB, free: 5.234 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001266/0.7282, allocations: 115.8 kB / 0.773 GB, free: 5.121 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.514e-06/0.7282, allocations: 4 kB / 0.773 GB, free: 5.117 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.947e-05/0.7283, allocations: 27.92 kB / 0.773 GB, free: 5.09 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.775e-06/0.7283, allocations: 4 kB / 0.773 GB, free: 5.086 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.475e-06/0.7283, allocations: 0 / 0.773 GB, free: 5.086 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00362/0.7319, allocations: 0.8661 MB / 0.7739 GB, free: 4.203 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002364/0.7322, allocations: 113 kB / 0.774 GB, free: 4.074 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.588e-05/0.7323, allocations: 8 kB / 0.774 GB, free: 4.066 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001082/0.7334, allocations: 59.98 kB / 0.774 GB, free: 4.008 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001236/0.7335, allocations: 27.92 kB / 0.7741 GB, free: 3.98 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.748e-05/0.7337, allocations: 23.94 kB / 0.7741 GB, free: 3.957 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 6.084e-05/0.7337, allocations: 79.28 kB / 0.7742 GB, free: 3.879 MB / 0.5417 GB Notification: Performance of sort global known variables: time 3.7e-07/0.7337, allocations: 0 / 0.7742 GB, free: 3.879 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.000674/0.7344, allocations: 67.92 kB / 0.7742 GB, free: 3.812 MB / 0.5417 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (y_comp,der_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 (11): * Single equations (assignments): 11 * 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.0003269/0.7348, allocations: 111.6 kB / 0.7743 GB, free: 3.695 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.002169/0.7369, allocations: 483.4 kB / 0.7748 GB, free: 3.223 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 4.759e-06/0.737, allocations: 4 kB / 0.7748 GB, free: 3.219 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.0011/0.7381, allocations: 243.7 kB / 0.775 GB, free: 2.98 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003628/0.7385, allocations: 15.92 kB / 0.775 GB, free: 2.965 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006359/0.7448, allocations: 0.8734 MB / 0.7759 GB, free: 2.055 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002858/0.7452, allocations: 0.6926 MB / 0.7766 GB, free: 1.336 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 0.001209/0.7464, allocations: 88.67 kB / 0.7766 GB, free: 1.25 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004028/0.7468, allocations: 55.3 kB / 0.7767 GB, free: 1.195 MB / 0.5417 GB Notification: Performance of SimCode: time 8.42e-07/0.7468, allocations: 4 kB / 0.7767 GB, free: 1.191 MB / 0.5417 GB Notification: Performance of Templates: time 0.00838/0.7552, allocations: 3.242 MB / 0.7799 GB, free: 13.95 MB / 0.5573 GB make -j1 -f IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.makefile (rm -f IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.pipe ; mkfifo IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.pipe >> ../files/IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.sim & ./IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.pipe 2>&1)