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.0008005/0.0008004, allocations: 87.11 kB / 15.06 MB, free: 1.09 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.0008813/0.0008814, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.39/1.39, allocations: 205.4 MB / 222.1 MB, free: 5.359 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo): time 0.4075/0.4075, allocations: 55.02 MB / 325.4 MB, free: 0.8438 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.0009873/0.0009875, allocations: 20 kB / 396.7 MB, free: 11.67 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4213/0.4223, allocations: 60.72 MB / 457.4 MB, free: 38.8 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Annex60.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check): time 0.0006581/0.423, allocations: 308.8 kB / 457.7 MB, free: 38.79 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001459/0.4245, allocations: 1.412 MB / 459.1 MB, free: 38.7 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.133e-05/0.4246, allocations: 0 / 459.1 MB, free: 38.7 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 1.39e-05/0.4246, allocations: 3.938 kB / 459.1 MB, free: 38.7 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 3.179e-05/0.4246, allocations: 0 / 459.1 MB, free: 38.7 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004032/0.425, allocations: 95.09 kB / 459.2 MB, free: 38.68 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 5.591e-05/0.4251, allocations: 28.72 kB / 459.2 MB, free: 38.68 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.32e-05/0.4251, allocations: 5.188 kB / 459.2 MB, free: 38.68 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.853e-05/0.4252, allocations: 10.16 kB / 459.2 MB, free: 38.68 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.555e-05/0.4253, allocations: 26 kB / 459.3 MB, free: 38.68 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.504e-05/0.4253, allocations: 2.688 kB / 459.3 MB, free: 38.68 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003582/0.4257, allocations: 304.7 kB / 459.6 MB, free: 38.66 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 1.918e-05/0.4257, allocations: 13.22 kB / 459.6 MB, free: 38.66 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 2.194e-05/0.4257, allocations: 32.64 kB / 459.6 MB, free: 38.62 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001858/0.4259, allocations: 133.2 kB / 459.7 MB, free: 38.62 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.951e-06/0.4259, allocations: 0 / 459.7 MB, free: 38.62 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.092e-06/0.4259, allocations: 2.344 kB / 459.7 MB, free: 38.62 MB / 382.1 MB Notification: Performance of Transformations before backend: time 3.897e-06/0.4259, allocations: 0 / 459.7 MB, free: 38.62 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.0003908/0.4263, allocations: 364 kB / 460.1 MB, free: 38.25 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.021e-05/0.4264, allocations: 9.719 kB / 460.1 MB, free: 38.25 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004285/0.4268, allocations: 81.83 kB / 460.2 MB, free: 38.25 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.7e-05/0.4269, allocations: 162.3 kB / 460.3 MB, free: 38.05 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.695e-05/0.4269, allocations: 7.688 kB / 460.3 MB, free: 38.05 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.225e-05/0.427, allocations: 7.391 kB / 460.4 MB, free: 38.05 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002414/0.4272, allocations: 88.19 kB / 460.4 MB, free: 38.02 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.788e-05/0.4273, allocations: 6.703 kB / 460.4 MB, free: 38.01 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.562e-05/0.4273, allocations: 0 / 460.4 MB, free: 38.01 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.51e-06/0.4273, allocations: 2.938 kB / 460.5 MB, free: 38.01 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002709/0.4276, allocations: 88.23 kB / 460.5 MB, free: 38.01 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001635/0.4277, allocations: 168.7 kB / 460.7 MB, free: 37.82 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004485/0.4282, allocations: 158.3 kB / 460.9 MB, free: 37.8 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000144/0.4283, allocations: 59.86 kB / 460.9 MB, free: 37.79 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.492e-05/0.4284, allocations: 8.188 kB / 460.9 MB, free: 37.79 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.163e-05/0.4284, allocations: 31.56 kB / 461 MB, free: 37.75 MB / 382.1 MB Notification: Performance of pre-optimization done (n=7): time 1.112e-06/0.4284, allocations: 0 / 461 MB, free: 37.75 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.008703/0.4371, allocations: 2.745 MB / 463.7 MB, free: 36.96 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.704e-05/0.4372, allocations: 51.41 kB / 463.7 MB, free: 36.9 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.747e-05/0.4372, allocations: 104.2 kB / 463.9 MB, free: 36.79 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.046e-05/0.4373, allocations: 28.48 kB / 463.9 MB, free: 36.76 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 1.614e-05/0.4373, allocations: 80.14 kB / 464 MB, free: 36.68 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.431e-05/0.4373, allocations: 39.47 kB / 464 MB, free: 36.66 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.451e-05/0.4373, allocations: 0.6562 kB / 464 MB, free: 36.66 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 5.194e-05/0.4374, allocations: 321.1 kB / 464.3 MB, free: 36.34 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003458/0.4378, allocations: 124.8 kB / 464.4 MB, free: 36.34 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003403/0.4381, allocations: 122.6 kB / 464.6 MB, free: 36.33 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003524/0.4385, allocations: 120.2 kB / 464.7 MB, free: 36.32 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.62e-07/0.4385, allocations: 4 kB / 464.7 MB, free: 36.32 MB / 382.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0008002/0.4393, allocations: 308.6 kB / 465 MB, free: 36.27 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.335e-05/0.4393, allocations: 5.938 kB / 465 MB, free: 36.27 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.656e-06/0.4393, allocations: 7.891 kB / 465 MB, free: 36.26 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.646e-05/0.4394, allocations: 1.406 kB / 465 MB, free: 36.26 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003442/0.4397, allocations: 80.03 kB / 465.1 MB, free: 36.25 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.354e-06/0.4397, allocations: 0 / 465.1 MB, free: 36.25 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002174/0.4399, allocations: 50.58 kB / 465.1 MB, free: 36.25 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.97e-05/0.44, allocations: 4.938 kB / 465.1 MB, free: 36.25 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.791e-05/0.4401, allocations: 120.2 kB / 465.2 MB, free: 36.13 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.457e-05/0.4401, allocations: 8.438 kB / 465.2 MB, free: 36.13 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.902e-05/0.4402, allocations: 11.66 kB / 465.3 MB, free: 36.13 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.997e-06/0.4402, allocations: 6.828 kB / 465.3 MB, free: 36.12 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.33e-06/0.4402, allocations: 0 / 465.3 MB, free: 36.12 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.737e-06/0.4402, allocations: 0 / 465.3 MB, free: 36.12 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001159/0.4414, allocations: 0.5863 MB / 465.9 MB, free: 35.81 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.723e-06/0.4414, allocations: 3.938 kB / 465.9 MB, free: 35.8 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003319/0.4417, allocations: 79.78 kB / 465.9 MB, free: 35.8 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.667e-06/0.4417, allocations: 0 / 465.9 MB, free: 35.8 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.317e-05/0.4418, allocations: 7.656 kB / 465.9 MB, free: 35.8 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.372e-06/0.4418, allocations: 0 / 465.9 MB, free: 35.8 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.675e-06/0.4418, allocations: 3.656 kB / 465.9 MB, free: 35.8 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001221/0.443, allocations: 0.5321 MB / 466.5 MB, free: 35.64 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.556e-05/0.4431, allocations: 98.42 kB / 466.6 MB, free: 35.54 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.308e-05/0.4431, allocations: 6.375 kB / 466.6 MB, free: 35.54 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002712/0.4434, allocations: 50.05 kB / 466.6 MB, free: 35.54 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.316e-05/0.4434, allocations: 9.438 kB / 466.6 MB, free: 35.54 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.119e-05/0.4435, allocations: 9.156 kB / 466.6 MB, free: 35.54 MB / 382.1 MB Notification: Performance of sorting global known variables: time 2.282e-05/0.4435, allocations: 82.38 kB / 466.7 MB, free: 35.46 MB / 382.1 MB Notification: Performance of sort global known variables: time 1e-07/0.4435, allocations: 0 / 466.7 MB, free: 35.46 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0004004/0.4439, allocations: 98.05 kB / 466.8 MB, free: 35.45 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 (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.00036/0.4443, allocations: 176.1 kB / 467 MB, free: 35.33 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.000811/0.4451, allocations: 270.7 kB / 467.3 MB, free: 35.32 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.266e-06/0.4451, allocations: 1.688 kB / 467.3 MB, free: 35.32 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003778/0.4455, allocations: 144.1 kB / 467.4 MB, free: 35.3 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002365/0.4457, allocations: 5.75 kB / 467.4 MB, free: 35.3 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001938/0.4477, allocations: 0.5732 MB / 468 MB, free: 35.14 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001396/0.4478, allocations: 0.6902 MB / 468.7 MB, free: 34.45 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0003158/0.4481, allocations: 55.97 kB / 468.7 MB, free: 34.42 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.947e-05/0.4482, allocations: 24.94 kB / 468.7 MB, free: 34.41 MB / 382.1 MB Notification: Performance of SimCode: time 2.41e-07/0.4482, allocations: 0 / 468.7 MB, free: 34.41 MB / 382.1 MB Notification: Performance of Templates: time 0.004176/0.4524, allocations: 2.197 MB / 470.9 MB, free: 34.29 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: