Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Annex60_1.0.0_Annex60.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 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.InverseXDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.Utilities.Math.Functions.Examples.InverseXDerivativeCheck") translateModel(Annex60.Utilities.Math.Functions.Examples.InverseXDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.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.001366/0.001366, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001507/0.001507, allocations: 196.6 kB / 16.53 MB, free: 6.664 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.454/1.454, allocations: 205.1 MB / 222.4 MB, free: 4.594 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo): time 0.4185/0.4185, allocations: 54.95 MB / 324.7 MB, free: 15.91 MB / 270.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.001512/0.001512, allocations: 67.91 kB / 395.3 MB, free: 11.8 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1495/0.151, allocations: 59.6 MB / 454.9 MB, free: 140 kB / 382.1 MB Notification: Performance of NFInst.instantiate(Annex60.Utilities.Math.Functions.Examples.InverseXDerivativeCheck): time 0.2786/0.4297, allocations: 0.5466 MB / 455.5 MB, free: 39.36 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001839/0.4316, allocations: 1.479 MB / 457 MB, free: 38.91 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.646e-05/0.4316, allocations: 2.781 kB / 457 MB, free: 38.91 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 1.835e-05/0.4316, allocations: 1.688 kB / 457 MB, free: 38.91 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 2.746e-05/0.4317, allocations: 1.594 kB / 457 MB, free: 38.91 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005153/0.4322, allocations: 139.7 kB / 457.1 MB, free: 38.89 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 5.767e-05/0.4323, allocations: 24.05 kB / 457.1 MB, free: 38.89 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.591e-05/0.4323, allocations: 3.984 kB / 457.1 MB, free: 38.89 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.894e-05/0.4323, allocations: 22.11 kB / 457.2 MB, free: 38.89 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.013e-05/0.4324, allocations: 30.33 kB / 457.2 MB, free: 38.89 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.869e-05/0.4325, allocations: 2.688 kB / 457.2 MB, free: 38.89 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003902/0.4329, allocations: 319.6 kB / 457.5 MB, free: 38.89 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 1.64e-05/0.4329, allocations: 6.031 kB / 457.5 MB, free: 38.89 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 2.894e-05/0.4329, allocations: 15.08 kB / 457.5 MB, free: 38.88 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002634/0.4332, allocations: 182.5 kB / 457.7 MB, free: 38.87 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.069e-06/0.4332, allocations: 0 / 457.7 MB, free: 38.87 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.442e-06/0.4332, allocations: 1 kB / 457.7 MB, free: 38.87 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.561e-06/0.4332, allocations: 0 / 457.7 MB, free: 38.87 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0004851/0.4337, allocations: 367.5 kB / 458.1 MB, free: 38.5 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.896e-05/0.4338, allocations: 15.34 kB / 458.1 MB, free: 38.5 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004739/0.4342, allocations: 64.89 kB / 458.1 MB, free: 38.5 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.732e-05/0.4343, allocations: 171 kB / 458.3 MB, free: 38.3 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.363e-05/0.4344, allocations: 4 kB / 458.3 MB, free: 38.3 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.234e-05/0.4344, allocations: 4.625 kB / 458.3 MB, free: 38.29 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002493/0.4347, allocations: 80.17 kB / 458.4 MB, free: 38.26 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.265e-06/0.4347, allocations: 0 / 458.4 MB, free: 38.26 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.506e-05/0.4347, allocations: 0.9375 kB / 458.4 MB, free: 38.26 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.258e-06/0.4347, allocations: 0.875 kB / 458.4 MB, free: 38.26 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002794/0.435, allocations: 66.67 kB / 458.5 MB, free: 38.26 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001556/0.4352, allocations: 166.8 kB / 458.6 MB, free: 38.07 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005806/0.4357, allocations: 124.6 kB / 458.7 MB, free: 38.05 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001597/0.4359, allocations: 48.72 kB / 458.8 MB, free: 38.04 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004343/0.4364, allocations: 149.7 kB / 458.9 MB, free: 37.94 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.491e-05/0.4364, allocations: 36.19 kB / 459 MB, free: 37.9 MB / 382.1 MB Notification: Performance of pre-optimization done (n=4): time 2.655e-06/0.4364, allocations: 0.9062 kB / 459 MB, free: 37.9 MB / 382.1 MB Notification: Performance of matching and sorting (n=5): time 0.001118/0.4375, allocations: 403.5 kB / 459.4 MB, free: 37.66 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.411e-05/0.4376, allocations: 56.06 kB / 459.4 MB, free: 37.6 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.625e-05/0.4376, allocations: 92.64 kB / 459.5 MB, free: 37.5 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.181e-05/0.4376, allocations: 25.7 kB / 459.5 MB, free: 37.47 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 1.826e-05/0.4377, allocations: 86.42 kB / 459.6 MB, free: 37.39 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.909e-05/0.4377, allocations: 24.27 kB / 459.6 MB, free: 37.37 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.973e-05/0.4377, allocations: 19.38 kB / 459.7 MB, free: 37.36 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 5.69e-05/0.4378, allocations: 314.3 kB / 460 MB, free: 37.04 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001527/0.438, allocations: 40.2 kB / 460 MB, free: 37.04 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001395/0.4381, allocations: 33.64 kB / 460 MB, free: 37.04 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00029/0.4384, allocations: 78.39 kB / 460.1 MB, free: 37.03 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.12e-07/0.4384, allocations: 0 / 460.1 MB, free: 37.03 MB / 382.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0003254/0.4387, allocations: 121.4 kB / 460.2 MB, free: 36.99 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.582e-05/0.4388, allocations: 4.906 kB / 460.2 MB, free: 36.99 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.12e-06/0.4388, allocations: 0 / 460.2 MB, free: 36.99 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.526e-05/0.4388, allocations: 6.625 kB / 460.3 MB, free: 36.99 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001389/0.4389, allocations: 27.92 kB / 460.3 MB, free: 36.98 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.931e-06/0.439, allocations: 0 / 460.3 MB, free: 36.98 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.272e-05/0.4391, allocations: 13.64 kB / 460.3 MB, free: 36.98 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.578e-06/0.4391, allocations: 2.531 kB / 460.3 MB, free: 36.98 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 (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.729e-05/0.4391, allocations: 116.7 kB / 460.4 MB, free: 36.87 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.429e-05/0.4392, allocations: 4 kB / 460.4 MB, free: 36.86 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004276/0.4396, allocations: 132 kB / 460.5 MB, free: 36.82 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.445e-06/0.4396, allocations: 0 / 460.5 MB, free: 36.82 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.539e-06/0.4396, allocations: 0 / 460.5 MB, free: 36.82 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.907e-06/0.4396, allocations: 3.469 kB / 460.5 MB, free: 36.82 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001022/0.4397, allocations: 169.3 kB / 460.7 MB, free: 36.63 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.926e-06/0.4397, allocations: 7.188 kB / 460.7 MB, free: 36.63 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001489/0.4399, allocations: 22.31 kB / 460.7 MB, free: 36.63 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.464e-06/0.4399, allocations: 0 / 460.7 MB, free: 36.63 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.13e-05/0.4399, allocations: 5.281 kB / 460.7 MB, free: 36.63 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.575e-06/0.4399, allocations: 1.312 kB / 460.7 MB, free: 36.63 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.51e-07/0.4399, allocations: 0 / 460.7 MB, free: 36.63 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000549/0.4405, allocations: 194.4 kB / 460.9 MB, free: 36.55 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.711e-05/0.4405, allocations: 83.12 kB / 461 MB, free: 36.46 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.088e-05/0.4406, allocations: 2.781 kB / 461 MB, free: 36.46 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001169/0.4407, allocations: 18.52 kB / 461 MB, free: 36.46 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.68e-05/0.4407, allocations: 5.234 kB / 461 MB, free: 36.46 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.926e-06/0.4407, allocations: 4.281 kB / 461 MB, free: 36.46 MB / 382.1 MB Notification: Performance of sorting global known variables: time 2.322e-05/0.4408, allocations: 83.72 kB / 461.1 MB, free: 36.38 MB / 382.1 MB Notification: Performance of sort global known variables: time 1e-07/0.4408, allocations: 0 / 461.1 MB, free: 36.38 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002386/0.441, allocations: 33.97 kB / 461.2 MB, free: 36.37 MB / 382.1 MB 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.0001786/0.4412, allocations: 129.4 kB / 461.3 MB, free: 36.27 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0003799/0.4416, allocations: 85.42 kB / 461.4 MB, free: 36.27 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.765e-06/0.4416, allocations: 0 / 461.4 MB, free: 36.27 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001603/0.4418, allocations: 45.03 kB / 461.4 MB, free: 36.27 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001652/0.442, allocations: 17.94 kB / 461.4 MB, free: 36.26 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006236/0.4426, allocations: 175.8 kB / 461.6 MB, free: 36.15 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001291/0.4427, allocations: 0.683 MB / 462.3 MB, free: 35.46 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.000106/0.4428, allocations: 15.33 kB / 462.3 MB, free: 35.45 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.219e-05/0.4429, allocations: 13.28 kB / 462.3 MB, free: 35.45 MB / 382.1 MB Notification: Performance of SimCode: time 2.2e-07/0.4429, allocations: 0 / 462.3 MB, free: 35.45 MB / 382.1 MB Notification: Performance of Templates: time 0.00357/0.4465, allocations: 1.163 MB / 463.5 MB, free: 35.36 MB / 382.1 MB make -j1 -f Annex60_1.0.0_Annex60.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.makefile (rm -f Annex60_1.0.0_Annex60.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.pipe ; mkfifo Annex60_1.0.0_Annex60.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.pipe ; head -c 1048576 < Annex60_1.0.0_Annex60.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.pipe >> ../files/Annex60_1.0.0_Annex60.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.sim & ./Annex60_1.0.0_Annex60.Utilities.Math.Functions.Examples.InverseXDerivativeCheck -abortSlowSimulation -alarm=480 -lv LOG_STATS > Annex60_1.0.0_Annex60.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.pipe 2>&1)