Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Annex60_1.0.0_Annex60.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo", uses=false) Using package Annex60 with version 1.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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(Annex60.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check") translateModel(Annex60.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.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.0009494/0.0009493, allocations: 91.53 kB / 15.36 MB, free: 0.7383 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.007363/0.007363, allocations: 173.2 kB / 16.26 MB, free: 6.613 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.528/1.528, allocations: 205.4 MB / 222.5 MB, free: 5.566 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo): time 0.4176/0.4176, allocations: 55.01 MB / 325.8 MB, free: 0.5547 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Annex60 requested package Modelica of version 3.2.2. Modelica 3.2.3 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0005777/0.0005777, allocations: 16 kB / 397.3 MB, free: 11.33 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3304/0.331, allocations: 60.72 MB / 458 MB, free: 38.3 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Annex60.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check): time 0.0006962/0.3317, allocations: 312.3 kB / 458.3 MB, free: 38.29 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001458/0.3332, allocations: 1.478 MB / 459.8 MB, free: 38.21 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.42e-05/0.3332, allocations: 2.594 kB / 459.8 MB, free: 38.21 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 1.161e-05/0.3332, allocations: 3.938 kB / 459.8 MB, free: 38.2 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 2.841e-05/0.3333, allocations: 2.844 kB / 459.8 MB, free: 38.2 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000355/0.3336, allocations: 102 kB / 459.9 MB, free: 38.19 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 4.773e-05/0.3337, allocations: 27.16 kB / 459.9 MB, free: 38.19 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.773e-05/0.3337, allocations: 3.312 kB / 459.9 MB, free: 38.19 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.375e-05/0.3338, allocations: 17.19 kB / 459.9 MB, free: 38.19 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.5e-05/0.3338, allocations: 21.58 kB / 459.9 MB, free: 38.19 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.371e-05/0.3339, allocations: 2.844 kB / 460 MB, free: 38.19 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003401/0.3342, allocations: 312.3 kB / 460.3 MB, free: 38.17 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 1.425e-05/0.3342, allocations: 17.72 kB / 460.3 MB, free: 38.17 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 3.072e-05/0.3343, allocations: 41 kB / 460.3 MB, free: 38.13 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002187/0.3345, allocations: 184.4 kB / 460.5 MB, free: 38.12 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.108e-06/0.3345, allocations: 2.812 kB / 460.5 MB, free: 38.12 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.333e-06/0.3345, allocations: 1.406 kB / 460.5 MB, free: 38.12 MB / 382.1 MB Notification: Performance of Transformations before backend: time 4.118e-06/0.3345, allocations: 2.312 kB / 460.5 MB, free: 38.12 MB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0003683/0.3349, allocations: 364.8 kB / 460.9 MB, free: 37.74 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.359e-05/0.3349, allocations: 12.62 kB / 460.9 MB, free: 37.74 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004476/0.3354, allocations: 85.58 kB / 461 MB, free: 37.74 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.594e-05/0.3355, allocations: 165.5 kB / 461.1 MB, free: 37.54 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.406e-05/0.3355, allocations: 8.344 kB / 461.1 MB, free: 37.54 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.309e-05/0.3355, allocations: 11.16 kB / 461.1 MB, free: 37.53 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002352/0.3358, allocations: 85.73 kB / 461.2 MB, free: 37.5 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.878e-06/0.3358, allocations: 4.688 kB / 461.2 MB, free: 37.5 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.565e-05/0.3358, allocations: 1.219 kB / 461.2 MB, free: 37.5 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.931e-06/0.3358, allocations: 0.7188 kB / 461.2 MB, free: 37.5 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000306/0.3361, allocations: 85.72 kB / 461.3 MB, free: 37.5 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001843/0.3363, allocations: 169.5 kB / 461.5 MB, free: 37.31 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004986/0.3368, allocations: 155.9 kB / 461.6 MB, free: 37.29 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001743/0.337, allocations: 67.17 kB / 461.7 MB, free: 37.27 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.234e-05/0.3371, allocations: 0 / 461.7 MB, free: 37.27 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.868e-05/0.3371, allocations: 34.81 kB / 461.7 MB, free: 37.23 MB / 382.1 MB Notification: Performance of pre-optimization done (n=7): time 1.383e-06/0.3371, allocations: 0.8125 kB / 461.7 MB, free: 37.23 MB / 382.1 MB 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.009917/0.347, allocations: 2.741 MB / 464.5 MB, free: 36.45 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.349e-05/0.3471, allocations: 54.47 kB / 464.5 MB, free: 36.39 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.057e-05/0.3471, allocations: 96.23 kB / 464.6 MB, free: 36.29 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.244e-05/0.3472, allocations: 29.83 kB / 464.6 MB, free: 36.25 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 1.867e-05/0.3472, allocations: 80.14 kB / 464.7 MB, free: 36.17 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.681e-05/0.3473, allocations: 46.56 kB / 464.8 MB, free: 36.14 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.651e-05/0.3473, allocations: 19.34 kB / 464.8 MB, free: 36.13 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 5.342e-05/0.3474, allocations: 321.1 kB / 465.1 MB, free: 35.81 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004099/0.3478, allocations: 127.8 kB / 465.2 MB, free: 35.8 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003949/0.3482, allocations: 127.6 kB / 465.3 MB, free: 35.79 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000798/0.349, allocations: 250.6 kB / 465.6 MB, free: 35.77 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.42e-07/0.349, allocations: 0 / 465.6 MB, free: 35.77 MB / 382.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0009065/0.3499, allocations: 309.7 kB / 465.9 MB, free: 35.72 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.945e-05/0.3499, allocations: 3.781 kB / 465.9 MB, free: 35.72 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.326e-06/0.3499, allocations: 3.719 kB / 465.9 MB, free: 35.72 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.18e-05/0.35, allocations: 0 / 465.9 MB, free: 35.72 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003721/0.3504, allocations: 78.81 kB / 466 MB, free: 35.71 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.045e-06/0.3504, allocations: 2.578 kB / 466 MB, free: 35.71 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002538/0.3506, allocations: 44.66 kB / 466 MB, free: 35.71 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.25e-05/0.3507, allocations: 13.61 kB / 466 MB, free: 35.71 MB / 382.1 MB 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 8.931e-05/0.3508, allocations: 120.7 kB / 466.2 MB, free: 35.59 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.509e-05/0.3508, allocations: 6.344 kB / 466.2 MB, free: 35.59 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.532e-05/0.3508, allocations: 20.42 kB / 466.2 MB, free: 35.58 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.006e-06/0.3509, allocations: 2.969 kB / 466.2 MB, free: 35.58 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.21e-06/0.3509, allocations: 0 / 466.2 MB, free: 35.58 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.577e-06/0.3509, allocations: 0 / 466.2 MB, free: 35.58 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001237/0.3521, allocations: 0.5814 MB / 466.8 MB, free: 35.27 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.553e-06/0.3521, allocations: 0 / 466.8 MB, free: 35.27 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003612/0.3525, allocations: 74.97 kB / 466.8 MB, free: 35.27 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.116e-06/0.3525, allocations: 6.875 kB / 466.8 MB, free: 35.26 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.236e-05/0.3525, allocations: 10.72 kB / 466.9 MB, free: 35.26 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.483e-06/0.3525, allocations: 0 / 466.9 MB, free: 35.26 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.273e-06/0.3526, allocations: 0 / 466.9 MB, free: 35.26 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001345/0.3539, allocations: 0.5358 MB / 467.4 MB, free: 35.1 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.608e-05/0.354, allocations: 92.78 kB / 467.5 MB, free: 35 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.947e-05/0.354, allocations: 3.5 kB / 467.5 MB, free: 35 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003051/0.3543, allocations: 47.97 kB / 467.5 MB, free: 35 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.518e-05/0.3544, allocations: 19.41 kB / 467.6 MB, free: 35 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.693e-05/0.3544, allocations: 9.812 kB / 467.6 MB, free: 34.99 MB / 382.1 MB Notification: Performance of sorting global known variables: time 2.317e-05/0.3544, allocations: 81.58 kB / 467.6 MB, free: 34.92 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.022e-06/0.3544, allocations: 3.938 kB / 467.6 MB, free: 34.91 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0003964/0.3548, allocations: 102.5 kB / 467.7 MB, free: 34.89 MB / 382.1 MB 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.0003701/0.3552, allocations: 167.1 kB / 467.9 MB, free: 34.79 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0008709/0.3561, allocations: 272.4 kB / 468.2 MB, free: 34.77 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.817e-06/0.3561, allocations: 0 / 468.2 MB, free: 34.77 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004275/0.3565, allocations: 146.6 kB / 468.3 MB, free: 34.76 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002465/0.3568, allocations: 9.938 kB / 468.3 MB, free: 34.75 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002102/0.3589, allocations: 0.5747 MB / 468.9 MB, free: 34.59 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001083/0.359, allocations: 0.6863 MB / 469.6 MB, free: 33.89 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0002974/0.3593, allocations: 59.91 kB / 469.6 MB, free: 33.86 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.696e-05/0.3594, allocations: 26.3 kB / 469.7 MB, free: 33.86 MB / 382.1 MB Notification: Performance of SimCode: time 2.8e-07/0.3594, allocations: 0 / 469.7 MB, free: 33.86 MB / 382.1 MB Notification: Performance of Templates: time 0.004287/0.3637, allocations: 2.231 MB / 471.9 MB, free: 33.73 MB / 382.1 MB make -j1 -f Annex60_1.0.0_Annex60.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.makefile Environment - environmentSimulation: (rm -f Annex60_1.0.0_Annex60.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.pipe ; mkfifo Annex60_1.0.0_Annex60.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.pipe ; head -c 1048576 < Annex60_1.0.0_Annex60.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.pipe >> ../files/Annex60_1.0.0_Annex60.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.sim & ./Annex60_1.0.0_Annex60.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check -abortSlowSimulation -alarm=480 -lv LOG_STATS > Annex60_1.0.0_Annex60.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.pipe 2>&1) Environment - environmentSimulation: