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.001323/0.001323, allocations: 99.31 kB / 15.05 MB, free: 1.105 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.001698/0.001698, allocations: 177.3 kB / 15.95 MB, free: 216 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.438/1.438, allocations: 205.4 MB / 222.1 MB, free: 5.66 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo): time 0.4057/0.4057, allocations: 54.98 MB / 325.4 MB, free: 0.7227 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.0005241/0.0005242, allocations: 16 kB / 396.6 MB, free: 11.75 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3062/0.3067, allocations: 60.72 MB / 457.3 MB, free: 38.15 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Annex60.Utilities.Math.Functions.Examples.InverseXDerivativeCheck): time 0.0006377/0.3074, allocations: 286.9 kB / 457.6 MB, free: 38.14 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001704/0.3091, allocations: 1.418 MB / 459 MB, free: 38.05 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.277e-05/0.3091, allocations: 0 / 459 MB, free: 38.05 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 1.297e-05/0.3092, allocations: 6.844 kB / 459 MB, free: 38.05 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 3.934e-05/0.3092, allocations: 1.719 kB / 459 MB, free: 38.05 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003847/0.3096, allocations: 107.5 kB / 459.1 MB, free: 38.04 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 5.698e-05/0.3097, allocations: 22.02 kB / 459.2 MB, free: 38.04 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.99e-05/0.3097, allocations: 1.031 kB / 459.2 MB, free: 38.04 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.447e-05/0.3098, allocations: 17.58 kB / 459.2 MB, free: 38.04 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.199e-05/0.3098, allocations: 32.16 kB / 459.2 MB, free: 38.04 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.334e-05/0.3098, allocations: 1.969 kB / 459.2 MB, free: 38.04 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003651/0.3102, allocations: 310.1 kB / 459.5 MB, free: 38.03 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 1.554e-05/0.3102, allocations: 11.78 kB / 459.5 MB, free: 38.02 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 1.932e-05/0.3103, allocations: 28.36 kB / 459.6 MB, free: 37.99 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001842/0.3105, allocations: 135.7 kB / 459.7 MB, free: 37.99 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.174e-06/0.3105, allocations: 0 / 459.7 MB, free: 37.99 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.162e-06/0.3105, allocations: 0 / 459.7 MB, free: 37.99 MB / 382.1 MB Notification: Performance of Transformations before backend: time 3.636e-06/0.3105, allocations: 0 / 459.7 MB, free: 37.99 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.000365/0.3109, allocations: 361.1 kB / 460 MB, free: 37.63 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.34e-05/0.3109, allocations: 12.31 kB / 460 MB, free: 37.63 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004418/0.3113, allocations: 77.72 kB / 460.1 MB, free: 37.63 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.043e-05/0.3114, allocations: 167.5 kB / 460.3 MB, free: 37.43 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.976e-05/0.3115, allocations: 3.062 kB / 460.3 MB, free: 37.43 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.066e-05/0.3115, allocations: 7.125 kB / 460.3 MB, free: 37.43 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002345/0.3117, allocations: 81.06 kB / 460.4 MB, free: 37.4 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.047e-06/0.3117, allocations: 1.281 kB / 460.4 MB, free: 37.4 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.393e-05/0.3118, allocations: 0 / 460.4 MB, free: 37.4 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.614e-06/0.3118, allocations: 0 / 460.4 MB, free: 37.4 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002958/0.3121, allocations: 84.16 kB / 460.5 MB, free: 37.39 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001731/0.3123, allocations: 166.5 kB / 460.6 MB, free: 37.2 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005764/0.3128, allocations: 145.1 kB / 460.8 MB, free: 37.18 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004514/0.3133, allocations: 175 kB / 460.9 MB, free: 37.09 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.229e-05/0.3133, allocations: 34.56 kB / 461 MB, free: 37.04 MB / 382.1 MB Notification: Performance of pre-optimization done (n=4): time 1.182e-06/0.3133, allocations: 0 / 461 MB, free: 37.04 MB / 382.1 MB Notification: Performance of matching and sorting (n=5): time 0.001131/0.3145, allocations: 445.4 kB / 461.4 MB, free: 36.78 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.108e-05/0.3145, allocations: 55.34 kB / 461.5 MB, free: 36.71 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.444e-05/0.3146, allocations: 92.83 kB / 461.6 MB, free: 36.61 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.506e-05/0.3146, allocations: 25.7 kB / 461.6 MB, free: 36.58 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.116e-05/0.3146, allocations: 86.23 kB / 461.7 MB, free: 36.5 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.03e-05/0.3147, allocations: 21.78 kB / 461.7 MB, free: 36.48 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.654e-06/0.3147, allocations: 6.5 kB / 461.7 MB, free: 36.48 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 5.783e-05/0.3148, allocations: 314.8 kB / 462 MB, free: 36.17 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000152/0.3149, allocations: 41.27 kB / 462 MB, free: 36.17 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001401/0.3151, allocations: 42.11 kB / 462.1 MB, free: 36.16 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001507/0.3152, allocations: 45.5 kB / 462.1 MB, free: 36.16 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.72e-07/0.3152, allocations: 0 / 462.1 MB, free: 36.16 MB / 382.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0003609/0.3156, allocations: 124.3 kB / 462.2 MB, free: 36.12 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.771e-05/0.3156, allocations: 6.594 kB / 462.2 MB, free: 36.12 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.134e-06/0.3156, allocations: 0.9844 kB / 462.2 MB, free: 36.12 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.39e-05/0.3157, allocations: 0 / 462.2 MB, free: 36.12 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001565/0.3158, allocations: 34.27 kB / 462.3 MB, free: 36.12 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.785e-06/0.3158, allocations: 3.953 kB / 462.3 MB, free: 36.11 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.973e-05/0.3159, allocations: 14.89 kB / 462.3 MB, free: 36.11 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.227e-05/0.316, allocations: 2.875 kB / 462.3 MB, free: 36.11 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.574e-05/0.3161, allocations: 112.4 kB / 462.4 MB, free: 36 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.492e-05/0.3161, allocations: 6.969 kB / 462.4 MB, free: 36 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004654/0.3166, allocations: 143.3 kB / 462.6 MB, free: 35.96 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.645e-06/0.3166, allocations: 4 kB / 462.6 MB, free: 35.95 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.855e-06/0.3166, allocations: 0 / 462.6 MB, free: 35.95 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.344e-06/0.3166, allocations: 3.953 kB / 462.6 MB, free: 35.95 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001252/0.3167, allocations: 170.8 kB / 462.7 MB, free: 35.76 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.573e-06/0.3167, allocations: 0 / 462.7 MB, free: 35.76 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001548/0.3169, allocations: 26.31 kB / 462.8 MB, free: 35.76 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.645e-06/0.3169, allocations: 3.938 kB / 462.8 MB, free: 35.75 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.345e-05/0.3169, allocations: 7.969 kB / 462.8 MB, free: 35.75 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.422e-06/0.3169, allocations: 1.031 kB / 462.8 MB, free: 35.75 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.234e-06/0.3169, allocations: 3.938 kB / 462.8 MB, free: 35.75 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005509/0.3175, allocations: 210.8 kB / 463 MB, free: 35.67 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.501e-05/0.3176, allocations: 83.67 kB / 463.1 MB, free: 35.58 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.982e-05/0.3176, allocations: 0 / 463.1 MB, free: 35.58 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000116/0.3177, allocations: 17.92 kB / 463.1 MB, free: 35.58 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.432e-05/0.3178, allocations: 5.922 kB / 463.1 MB, free: 35.58 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.957e-06/0.3178, allocations: 6.625 kB / 463.1 MB, free: 35.57 MB / 382.1 MB Notification: Performance of sorting global known variables: time 2.454e-05/0.3178, allocations: 81.88 kB / 463.2 MB, free: 35.5 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3178, allocations: 0 / 463.2 MB, free: 35.5 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002448/0.3181, allocations: 35.36 kB / 463.2 MB, free: 35.49 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 (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.0001795/0.3183, allocations: 124.9 kB / 463.3 MB, free: 35.39 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0004062/0.3187, allocations: 95.48 kB / 463.4 MB, free: 35.39 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.496e-06/0.3187, allocations: 4 kB / 463.4 MB, free: 35.39 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001664/0.3189, allocations: 54.72 kB / 463.5 MB, free: 35.38 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00013/0.319, allocations: 5.516 kB / 463.5 MB, free: 35.38 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006468/0.3197, allocations: 204.8 kB / 463.7 MB, free: 35.26 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001476/0.3198, allocations: 0.6839 MB / 464.4 MB, free: 34.57 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.000112/0.3199, allocations: 15.86 kB / 464.4 MB, free: 34.56 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.298e-05/0.32, allocations: 14.5 kB / 464.4 MB, free: 34.55 MB / 382.1 MB Notification: Performance of SimCode: time 2.5e-07/0.32, allocations: 2.406 kB / 464.4 MB, free: 34.55 MB / 382.1 MB Notification: Performance of Templates: time 0.003053/0.3231, allocations: 1.1 MB / 465.5 MB, free: 34.47 MB / 382.1 MB make -j1 -f Annex60_1.0.0_Annex60.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: