Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.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/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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.InverseXDerivative_2_Check,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_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_IDEAS.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.007463/0.007463, allocations: 101.7 kB / 15.73 MB, free: 5.59 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.001458/0.001458, allocations: 191.7 kB / 16.67 MB, free: 5.523 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.424/1.424, allocations: 222.9 MB / 240.4 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8111/0.8111, allocations: 132.2 MB / 422.7 MB, free: 6.637 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002098/0.002098, allocations: 64.44 kB / 0.5814 GB, free: 23.7 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1643/0.1664, allocations: 80.21 MB / 0.6597 GB, free: 10.25 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check): time 0.002198/0.1686, allocations: 0.7715 MB / 0.6605 GB, free: 9.488 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.001874/0.1705, allocations: 1.481 MB / 0.6619 GB, free: 7.988 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.512e-05/0.1706, allocations: 3.938 kB / 0.6619 GB, free: 7.984 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 3.096e-05/0.1706, allocations: 3.938 kB / 0.6619 GB, free: 7.98 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 4.055e-05/0.1707, allocations: 3.938 kB / 0.6619 GB, free: 7.977 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005717/0.1712, allocations: 155.4 kB / 0.6621 GB, free: 7.824 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 8.546e-05/0.1713, allocations: 47.95 kB / 0.6621 GB, free: 7.777 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 4.423e-05/0.1714, allocations: 4 kB / 0.6621 GB, free: 7.773 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 7.976e-05/0.1715, allocations: 23.92 kB / 0.6622 GB, free: 7.75 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 6.294e-05/0.1715, allocations: 35.83 kB / 0.6622 GB, free: 7.715 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.614e-05/0.1716, allocations: 7.938 kB / 0.6622 GB, free: 7.707 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004362/0.172, allocations: 323.3 kB / 0.6625 GB, free: 7.391 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 3.261e-05/0.172, allocations: 11.98 kB / 0.6625 GB, free: 7.379 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 3.785e-05/0.1721, allocations: 27.86 kB / 0.6625 GB, free: 7.352 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0003245/0.1724, allocations: 211.5 kB / 0.6627 GB, free: 7.145 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 6.773e-06/0.1724, allocations: 4 kB / 0.6627 GB, free: 7.141 MB / 0.4981 GB Notification: Performance of FrontEnd: time 2.054e-06/0.1724, allocations: 0 / 0.6627 GB, free: 7.141 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 5.19e-06/0.1725, allocations: 4 kB / 0.6628 GB, free: 7.137 MB / 0.4981 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.000658/0.1731, allocations: 391.4 kB / 0.6631 GB, free: 6.707 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.83e-05/0.1732, allocations: 12.03 kB / 0.6631 GB, free: 6.695 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004575/0.1736, allocations: 72.75 kB / 0.6632 GB, free: 6.625 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001212/0.1738, allocations: 168.4 kB / 0.6634 GB, free: 6.422 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.253e-05/0.1738, allocations: 12.38 kB / 0.6634 GB, free: 6.41 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.525e-05/0.1738, allocations: 12.25 kB / 0.6634 GB, free: 6.398 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003779/0.1742, allocations: 113.9 kB / 0.6635 GB, free: 6.281 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.352e-05/0.1742, allocations: 0 / 0.6635 GB, free: 6.281 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.937e-05/0.1743, allocations: 4 kB / 0.6635 GB, free: 6.277 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.332e-06/0.1743, allocations: 4 kB / 0.6635 GB, free: 6.273 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004813/0.1748, allocations: 99.89 kB / 0.6636 GB, free: 6.176 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006342/0.1754, allocations: 336.6 kB / 0.6639 GB, free: 5.797 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006549/0.1761, allocations: 150.4 kB / 0.6641 GB, free: 5.641 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002346/0.1763, allocations: 56.81 kB / 0.6641 GB, free: 5.582 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.588e-05/0.1763, allocations: 8.141 kB / 0.6641 GB, free: 5.574 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.008e-05/0.1764, allocations: 30.56 kB / 0.6642 GB, free: 5.535 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=7): time 1.794e-06/0.1764, allocations: 0 / 0.6642 GB, free: 5.535 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=11): time 0.01823/0.1946, allocations: 2.841 MB / 0.6669 GB, free: 2.602 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.884e-05/0.1947, allocations: 59.33 kB / 0.667 GB, free: 2.531 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.691e-05/0.1948, allocations: 97.86 kB / 0.6671 GB, free: 2.426 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 5.454e-05/0.1948, allocations: 33.8 kB / 0.6671 GB, free: 2.387 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 6.3e-05/0.1949, allocations: 88.06 kB / 0.6672 GB, free: 2.297 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 6.936e-05/0.195, allocations: 35.38 kB / 0.6672 GB, free: 2.262 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001687/0.1952, allocations: 73.58 kB / 0.6673 GB, free: 2.184 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001148/0.1953, allocations: 322.8 kB / 0.6676 GB, free: 1.859 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006553/0.196, allocations: 187.8 kB / 0.6678 GB, free: 1.676 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006413/0.1966, allocations: 191.8 kB / 0.668 GB, free: 1.488 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001335/0.1979, allocations: 392.5 kB / 0.6683 GB, free: 1.102 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.132e-06/0.198, allocations: 0 / 0.6683 GB, free: 1.102 MB / 0.4981 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.001584/0.1996, allocations: 477.3 kB / 0.6688 GB, free: 0.6289 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 2.083e-05/0.1996, allocations: 5.562 kB / 0.6688 GB, free: 0.625 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.817e-06/0.1996, allocations: 8.297 kB / 0.6688 GB, free: 0.6172 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.55e-05/0.1996, allocations: 0 / 0.6688 GB, free: 0.6172 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008144/0.2004, allocations: 104 kB / 0.6689 GB, free: 0.5156 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.616e-06/0.2005, allocations: 3.938 kB / 0.6689 GB, free: 0.5117 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006146/0.2011, allocations: 47.94 kB / 0.669 GB, free: 476 kB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.316e-05/0.2011, allocations: 27.92 kB / 0.669 GB, free: 448 kB / 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 (13): * Single equations (assignments): 13 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001587/0.2013, allocations: 118.7 kB / 0.6691 GB, free: 320 kB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.021e-05/0.2014, allocations: 11.89 kB / 0.6691 GB, free: 308 kB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.316e-05/0.2015, allocations: 19.95 kB / 0.6691 GB, free: 280 kB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.475e-06/0.2015, allocations: 0 / 0.6691 GB, free: 280 kB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.933e-06/0.2015, allocations: 3.938 kB / 0.6691 GB, free: 276 kB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.347e-06/0.2015, allocations: 0 / 0.6691 GB, free: 276 kB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002238/0.2037, allocations: 1.043 MB / 0.6702 GB, free: 15.11 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.348e-06/0.2037, allocations: 7.984 kB / 0.6702 GB, free: 15.11 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008108/0.2046, allocations: 103.7 kB / 0.6703 GB, free: 15 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.951e-06/0.2046, allocations: 3.938 kB / 0.6703 GB, free: 15 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.047e-05/0.2046, allocations: 23.94 kB / 0.6703 GB, free: 14.98 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.903e-06/0.2046, allocations: 4 kB / 0.6703 GB, free: 14.97 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.915e-06/0.2046, allocations: 4 kB / 0.6703 GB, free: 14.97 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002334/0.207, allocations: 0.7937 MB / 0.6711 GB, free: 14.16 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001526/0.2071, allocations: 117 kB / 0.6712 GB, free: 14.03 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.03e-05/0.2072, allocations: 4 kB / 0.6712 GB, free: 14.02 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006548/0.2079, allocations: 43.94 kB / 0.6712 GB, free: 13.98 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001094/0.208, allocations: 31.98 kB / 0.6713 GB, free: 13.95 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.901e-05/0.2081, allocations: 23.92 kB / 0.6713 GB, free: 13.93 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 4.115e-05/0.2081, allocations: 83.28 kB / 0.6714 GB, free: 13.84 MB / 0.5137 GB Notification: Performance of sort global known variables: time 2.795e-06/0.2081, allocations: 0 / 0.6714 GB, free: 13.84 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0003742/0.2085, allocations: 59.94 kB / 0.6714 GB, free: 13.79 MB / 0.5137 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002288/0.2087, allocations: 107.2 kB / 0.6715 GB, free: 13.67 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.001452/0.2102, allocations: 427 kB / 0.6719 GB, free: 13.26 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 3.276e-06/0.2102, allocations: 0 / 0.6719 GB, free: 13.26 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0007128/0.2109, allocations: 223.7 kB / 0.6721 GB, free: 13.04 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004133/0.2114, allocations: 15.94 kB / 0.6722 GB, free: 13.02 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004141/0.2155, allocations: 0.7595 MB / 0.6729 GB, free: 12.23 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002983/0.2158, allocations: 0.6924 MB / 0.6736 GB, free: 11.52 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.000624/0.2165, allocations: 88.66 kB / 0.6737 GB, free: 11.43 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002638/0.2167, allocations: 51.31 kB / 0.6737 GB, free: 11.38 MB / 0.5137 GB Notification: Performance of SimCode: time 3.4e-07/0.2167, allocations: 4 kB / 0.6737 GB, free: 11.38 MB / 0.5137 GB Notification: Performance of Templates: time 0.00615/0.2229, allocations: 3.47 MB / 0.6771 GB, free: 7.906 MB / 0.5137 GB make -j1 -f IDEAS_IDEAS.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.makefile (rm -f IDEAS_IDEAS.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.pipe ; mkfifo IDEAS_IDEAS.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.pipe ; head -c 1048576 < IDEAS_IDEAS.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.pipe >> ../files/IDEAS_IDEAS.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.sim & ./IDEAS_IDEAS.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.pipe 2>&1)