Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.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.InverseXDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Utilities.Math.Functions.Examples.InverseXDerivativeCheck") translateModel(IDEAS.Utilities.Math.Functions.Examples.InverseXDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Utilities.Math.Functions.Examples.InverseXDerivativeCheck") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.005406/0.005406, allocations: 104.7 kB / 15.74 MB, free: 6.488 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.001153/0.001153, allocations: 197.5 kB / 16.67 MB, free: 6.375 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.458/1.458, allocations: 222.9 MB / 240.4 MB, free: 4.309 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7983/0.7983, allocations: 132.2 MB / 422.7 MB, free: 1.68 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001235/0.001235, allocations: 63.91 kB / 0.5814 GB, free: 7.504 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4653/0.4666, allocations: 80.2 MB / 0.6597 GB, free: 10.35 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.InverseXDerivativeCheck): time 0.001736/0.4684, allocations: 0.593 MB / 0.6603 GB, free: 9.977 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.001652/0.47, allocations: 1.453 MB / 0.6617 GB, free: 8.918 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.643e-05/0.4701, allocations: 0 / 0.6617 GB, free: 8.918 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 1.622e-05/0.4701, allocations: 3.938 kB / 0.6617 GB, free: 8.914 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 3.145e-05/0.4702, allocations: 0 / 0.6617 GB, free: 8.914 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.000519/0.4707, allocations: 149 kB / 0.6619 GB, free: 8.844 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 8.01e-05/0.4708, allocations: 30.03 kB / 0.6619 GB, free: 8.836 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 4.448e-05/0.4708, allocations: 3.375 kB / 0.6619 GB, free: 8.836 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 4.343e-05/0.4709, allocations: 13.14 kB / 0.6619 GB, free: 8.836 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 9.441e-05/0.471, allocations: 26.02 kB / 0.6619 GB, free: 8.828 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.456e-05/0.471, allocations: 2.969 kB / 0.6619 GB, free: 8.828 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005121/0.4715, allocations: 316.2 kB / 0.6622 GB, free: 8.707 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 2.308e-05/0.4715, allocations: 16.98 kB / 0.6623 GB, free: 8.691 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 3.191e-05/0.4716, allocations: 14.77 kB / 0.6623 GB, free: 8.68 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0003174/0.4719, allocations: 183.5 kB / 0.6624 GB, free: 8.586 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 5.06e-06/0.4719, allocations: 0 / 0.6624 GB, free: 8.586 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.914e-06/0.4719, allocations: 0 / 0.6624 GB, free: 8.586 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 6.021e-06/0.4719, allocations: 1.312 kB / 0.6624 GB, free: 8.586 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0004945/0.4724, allocations: 368.3 kB / 0.6628 GB, free: 8.199 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 5.073e-05/0.4725, allocations: 12.59 kB / 0.6628 GB, free: 8.195 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004669/0.473, allocations: 68.23 kB / 0.6629 GB, free: 8.168 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.261e-05/0.4731, allocations: 173.8 kB / 0.663 GB, free: 7.961 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.319e-05/0.4731, allocations: 384 / 0.663 GB, free: 7.961 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.618e-05/0.4731, allocations: 3.125 kB / 0.663 GB, free: 7.961 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002676/0.4734, allocations: 73.42 kB / 0.6631 GB, free: 7.906 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.957e-06/0.4734, allocations: 0 / 0.6631 GB, free: 7.906 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.77e-05/0.4734, allocations: 5.359 kB / 0.6631 GB, free: 7.902 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.94e-06/0.4734, allocations: 4 kB / 0.6631 GB, free: 7.898 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003062/0.4738, allocations: 57.97 kB / 0.6632 GB, free: 7.879 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000177/0.4739, allocations: 171 kB / 0.6633 GB, free: 7.672 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006361/0.4746, allocations: 121.8 kB / 0.6635 GB, free: 7.605 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001661/0.4748, allocations: 41.36 kB / 0.6635 GB, free: 7.586 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004693/0.4752, allocations: 157.2 kB / 0.6636 GB, free: 7.457 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.27e-05/0.4753, allocations: 35.66 kB / 0.6637 GB, free: 7.414 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=4): time 1.272e-06/0.4753, allocations: 0 / 0.6637 GB, free: 7.414 MB / 0.4981 GB Notification: Performance of matching and sorting (n=5): time 0.001168/0.4765, allocations: 403.2 kB / 0.6641 GB, free: 7.086 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.098e-05/0.4765, allocations: 56.45 kB / 0.6641 GB, free: 7.02 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.641e-05/0.4766, allocations: 96.83 kB / 0.6642 GB, free: 6.918 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.404e-05/0.4766, allocations: 29.7 kB / 0.6642 GB, free: 6.883 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 1.991e-05/0.4766, allocations: 84.12 kB / 0.6643 GB, free: 6.797 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 3.018e-05/0.4766, allocations: 12.05 kB / 0.6643 GB, free: 6.789 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.31e-05/0.4767, allocations: 23.58 kB / 0.6644 GB, free: 6.766 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 5.092e-05/0.4768, allocations: 316.2 kB / 0.6647 GB, free: 6.449 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001566/0.4769, allocations: 33.62 kB / 0.6647 GB, free: 6.438 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000147/0.4771, allocations: 41.02 kB / 0.6647 GB, free: 6.418 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002953/0.4774, allocations: 79.77 kB / 0.6648 GB, free: 6.379 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.62e-07/0.4774, allocations: 0 / 0.6648 GB, free: 6.379 MB / 0.4981 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0003493/0.4777, allocations: 117.5 kB / 0.6649 GB, free: 6.309 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.519e-05/0.4778, allocations: 5.438 kB / 0.6649 GB, free: 6.309 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.749e-06/0.4778, allocations: 0 / 0.6649 GB, free: 6.309 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.61e-05/0.4778, allocations: 9.422 kB / 0.6649 GB, free: 6.301 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001462/0.4779, allocations: 27.52 kB / 0.665 GB, free: 6.289 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.654e-06/0.478, allocations: 1.094 kB / 0.665 GB, free: 6.289 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.826e-05/0.4781, allocations: 18.77 kB / 0.665 GB, free: 6.277 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.738e-06/0.4781, allocations: 6.25 kB / 0.665 GB, free: 6.273 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 (6): * Single equations (assignments): 6 * 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 5.909e-05/0.4781, allocations: 113.3 kB / 0.6651 GB, free: 6.156 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.6e-05/0.4782, allocations: 5.312 kB / 0.6651 GB, free: 6.152 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004306/0.4786, allocations: 133.7 kB / 0.6652 GB, free: 6.059 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.104e-06/0.4786, allocations: 0 / 0.6652 GB, free: 6.059 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.608e-06/0.4786, allocations: 5.391 kB / 0.6652 GB, free: 6.055 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.178e-06/0.4786, allocations: 0 / 0.6652 GB, free: 6.055 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.778e-05/0.4787, allocations: 158.9 kB / 0.6654 GB, free: 5.859 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.894e-06/0.4787, allocations: 1.125 kB / 0.6654 GB, free: 5.859 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001528/0.4789, allocations: 35.38 kB / 0.6654 GB, free: 5.84 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.394e-06/0.4789, allocations: 1.094 kB / 0.6654 GB, free: 5.84 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.224e-05/0.4789, allocations: 5.062 kB / 0.6654 GB, free: 5.836 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.284e-06/0.4789, allocations: 1.188 kB / 0.6654 GB, free: 5.836 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.112e-06/0.4789, allocations: 0 / 0.6654 GB, free: 5.836 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005511/0.4795, allocations: 183.5 kB / 0.6656 GB, free: 5.715 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 4.96e-05/0.4795, allocations: 95.62 kB / 0.6657 GB, free: 5.605 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.383e-05/0.4796, allocations: 5.375 kB / 0.6657 GB, free: 5.602 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001257/0.4797, allocations: 11.73 kB / 0.6657 GB, free: 5.598 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.777e-05/0.4798, allocations: 6.609 kB / 0.6657 GB, free: 5.594 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.458e-06/0.4798, allocations: 3.219 kB / 0.6657 GB, free: 5.594 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 2.233e-05/0.4798, allocations: 76.75 kB / 0.6658 GB, free: 5.52 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.4e-07/0.4798, allocations: 160 / 0.6658 GB, free: 5.52 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002542/0.4801, allocations: 32.81 kB / 0.6658 GB, free: 5.508 MB / 0.4981 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 (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.0002295/0.4803, allocations: 130.2 kB / 0.6659 GB, free: 5.398 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.000401/0.4807, allocations: 86.83 kB / 0.666 GB, free: 5.363 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.933e-06/0.4807, allocations: 1.125 kB / 0.666 GB, free: 5.363 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001685/0.4809, allocations: 47.08 kB / 0.6661 GB, free: 5.344 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001659/0.4811, allocations: 8.719 kB / 0.6661 GB, free: 5.34 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006463/0.4817, allocations: 192.3 kB / 0.6663 GB, free: 5.184 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001041/0.4818, allocations: 0.6791 MB / 0.6669 GB, free: 4.484 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 8.554e-05/0.4819, allocations: 22.14 kB / 0.6669 GB, free: 4.469 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.29e-05/0.482, allocations: 15.44 kB / 0.667 GB, free: 4.461 MB / 0.4981 GB Notification: Performance of SimCode: time 2.5e-07/0.482, allocations: 1.344 kB / 0.667 GB, free: 4.461 MB / 0.4981 GB Notification: Performance of Templates: time 0.003304/0.4853, allocations: 1.152 MB / 0.6681 GB, free: 3.863 MB / 0.4981 GB make -j1 -f IDEAS_IDEAS.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.makefile (rm -f IDEAS_IDEAS.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.pipe ; mkfifo IDEAS_IDEAS.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.pipe ; head -c 1048576 < IDEAS_IDEAS.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.pipe >> ../files/IDEAS_IDEAS.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.sim & ./IDEAS_IDEAS.Utilities.Math.Functions.Examples.InverseXDerivativeCheck -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.pipe 2>&1)