Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Annex60_1.0.0_Annex60.Utilities.Math.Functions.Examples.InverseXRegularized.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.InverseXRegularized,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.Utilities.Math.Functions.Examples.InverseXRegularized") translateModel(Annex60.Utilities.Math.Functions.Examples.InverseXRegularized,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.Utilities.Math.Functions.Examples.InverseXRegularized") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008279/0.0008281, allocations: 87.03 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.0009971/0.000997, 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.484/1.484, allocations: 205.4 MB / 222.1 MB, free: 5.637 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo): time 0.461/0.461, allocations: 55.01 MB / 325.4 MB, free: 0.6133 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.0005388/0.0005388, allocations: 20 kB / 396.7 MB, free: 11.69 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3756/0.3762, allocations: 60.72 MB / 457.4 MB, free: 38.14 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Annex60.Utilities.Math.Functions.Examples.InverseXRegularized): time 0.0009491/0.3772, allocations: 319 kB / 457.7 MB, free: 38.13 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.00201/0.3792, allocations: 1.411 MB / 459.1 MB, free: 38.04 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.115e-05/0.3793, allocations: 2.812 kB / 459.1 MB, free: 38.04 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 1.686e-05/0.3793, allocations: 1.375 kB / 459.1 MB, free: 38.04 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001138/0.3794, allocations: 0.9375 kB / 459.1 MB, free: 38.04 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000431/0.3798, allocations: 102.3 kB / 459.2 MB, free: 38.02 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 8.241e-05/0.3799, allocations: 23.42 kB / 459.2 MB, free: 38.02 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.129e-05/0.38, allocations: 0 / 459.2 MB, free: 38.02 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.497e-05/0.3801, allocations: 12.81 kB / 459.2 MB, free: 38.02 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.925e-05/0.3802, allocations: 18.39 kB / 459.3 MB, free: 38.01 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.138e-05/0.3802, allocations: 4.312 kB / 459.3 MB, free: 38.01 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004418/0.3807, allocations: 308 kB / 459.6 MB, free: 38 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 1.867e-05/0.3807, allocations: 13.39 kB / 459.6 MB, free: 37.99 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 2.524e-05/0.3807, allocations: 29.02 kB / 459.6 MB, free: 37.96 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002213/0.3809, allocations: 139.3 kB / 459.7 MB, free: 37.95 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.472e-06/0.381, allocations: 0 / 459.7 MB, free: 37.95 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.685e-06/0.381, allocations: 0 / 459.7 MB, free: 37.95 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.381e-06/0.381, allocations: 0 / 459.7 MB, free: 37.95 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0004609/0.3814, allocations: 363.3 kB / 460.1 MB, free: 37.58 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.335e-05/0.3815, allocations: 12.69 kB / 460.1 MB, free: 37.58 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003476/0.3819, allocations: 70.03 kB / 460.2 MB, free: 37.58 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001286/0.382, allocations: 179.2 kB / 460.4 MB, free: 37.38 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.76e-05/0.382, allocations: 4.125 kB / 460.4 MB, free: 37.38 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.519e-05/0.382, allocations: 3.031 kB / 460.4 MB, free: 37.38 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000237/0.3823, allocations: 76.59 kB / 460.4 MB, free: 37.34 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.561e-05/0.3823, allocations: 3.906 kB / 460.4 MB, free: 37.34 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.18e-05/0.3823, allocations: 4.312 kB / 460.4 MB, free: 37.34 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.094e-06/0.3823, allocations: 3 kB / 460.4 MB, free: 37.34 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003084/0.3827, allocations: 89.12 kB / 460.5 MB, free: 37.34 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001925/0.3829, allocations: 165 kB / 460.7 MB, free: 37.15 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004582/0.3833, allocations: 152.4 kB / 460.8 MB, free: 37.12 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001665/0.3835, allocations: 51.97 kB / 460.9 MB, free: 37.11 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.023e-05/0.3835, allocations: 5.094 kB / 460.9 MB, free: 37.11 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.063e-05/0.3836, allocations: 34.5 kB / 460.9 MB, free: 37.07 MB / 382.1 MB Notification: Performance of pre-optimization done (n=5): time 3.086e-06/0.3836, allocations: 2.406 kB / 460.9 MB, free: 37.07 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=9): time 0.003566/0.3871, allocations: 0.9607 MB / 461.9 MB, free: 36.96 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.569e-05/0.3872, allocations: 55.41 kB / 462 MB, free: 36.89 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001007/0.3873, allocations: 112.3 kB / 462.1 MB, free: 36.8 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.712e-05/0.3873, allocations: 28.58 kB / 462.1 MB, free: 36.77 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.819e-05/0.3874, allocations: 85.67 kB / 462.2 MB, free: 36.68 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.584e-05/0.3874, allocations: 28.62 kB / 462.2 MB, free: 36.66 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.07e-05/0.3875, allocations: 2.344 kB / 462.2 MB, free: 36.66 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 9.513e-05/0.3876, allocations: 317.6 kB / 462.5 MB, free: 36.35 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003791/0.388, allocations: 117.3 kB / 462.6 MB, free: 36.34 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003647/0.3883, allocations: 120.5 kB / 462.7 MB, free: 36.34 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003461/0.3887, allocations: 118.9 kB / 462.9 MB, free: 36.32 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.51e-07/0.3887, allocations: 0 / 462.9 MB, free: 36.32 MB / 382.1 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0007647/0.3895, allocations: 280.9 kB / 463.1 MB, free: 36.28 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.563e-05/0.3895, allocations: 4.188 kB / 463.1 MB, free: 36.28 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.104e-06/0.3895, allocations: 10.92 kB / 463.2 MB, free: 36.27 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.504e-05/0.3895, allocations: 0 / 463.2 MB, free: 36.27 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002818/0.3898, allocations: 67.53 kB / 463.2 MB, free: 36.26 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.193e-06/0.3898, allocations: 3.219 kB / 463.2 MB, free: 36.26 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001959/0.39, allocations: 48.75 kB / 463.3 MB, free: 36.26 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.444e-05/0.3901, allocations: 3.062 kB / 463.3 MB, free: 36.26 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 (9): * Single equations (assignments): 9 * 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 7.986e-05/0.3901, allocations: 112 kB / 463.4 MB, free: 36.14 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.618e-05/0.3902, allocations: 6.078 kB / 463.4 MB, free: 36.14 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.331e-05/0.3902, allocations: 10.22 kB / 463.4 MB, free: 36.14 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.68e-06/0.3902, allocations: 3.953 kB / 463.4 MB, free: 36.14 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.909e-06/0.3903, allocations: 1.312 kB / 463.4 MB, free: 36.14 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.881e-06/0.3903, allocations: 8.5 kB / 463.4 MB, free: 36.13 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001505/0.3918, allocations: 0.6628 MB / 464.1 MB, free: 35.79 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.936e-06/0.3918, allocations: 0.75 kB / 464.1 MB, free: 35.79 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002227/0.392, allocations: 67.78 kB / 464.1 MB, free: 35.78 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.767e-06/0.392, allocations: 2.75 kB / 464.1 MB, free: 35.78 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.625e-05/0.3921, allocations: 9.422 kB / 464.2 MB, free: 35.78 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.783e-06/0.3921, allocations: 0 / 464.2 MB, free: 35.78 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.854e-06/0.3921, allocations: 6.844 kB / 464.2 MB, free: 35.77 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007552/0.3928, allocations: 386 kB / 464.5 MB, free: 35.6 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.736e-05/0.3929, allocations: 79.89 kB / 464.6 MB, free: 35.51 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.49e-05/0.3929, allocations: 9.359 kB / 464.6 MB, free: 35.51 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002113/0.3931, allocations: 44.34 kB / 464.7 MB, free: 35.5 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.634e-05/0.3932, allocations: 6.219 kB / 464.7 MB, free: 35.5 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.359e-05/0.3932, allocations: 13.55 kB / 464.7 MB, free: 35.5 MB / 382.1 MB Notification: Performance of sorting global known variables: time 3.687e-05/0.3932, allocations: 88.09 kB / 464.8 MB, free: 35.43 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.052e-06/0.3932, allocations: 0 / 464.8 MB, free: 35.43 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002862/0.3935, allocations: 40.28 kB / 464.8 MB, free: 35.42 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 simulation (9): * Single equations (assignments): 9 * 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.0002024/0.3937, allocations: 130.5 kB / 464.9 MB, free: 35.33 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0007588/0.3945, allocations: 247.4 kB / 465.2 MB, free: 35.31 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.525e-06/0.3945, allocations: 0 / 465.2 MB, free: 35.31 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003631/0.3949, allocations: 126.8 kB / 465.3 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.0002466/0.3951, allocations: 17.72 kB / 465.3 MB, free: 35.3 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001307/0.3965, allocations: 479.5 kB / 465.8 MB, free: 35.13 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001418/0.3966, allocations: 0.688 MB / 466.5 MB, free: 34.43 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0001154/0.3967, allocations: 21.16 kB / 466.5 MB, free: 34.43 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.318e-05/0.3968, allocations: 27.69 kB / 466.5 MB, free: 34.41 MB / 382.1 MB Notification: Performance of SimCode: time 4.71e-07/0.3968, allocations: 0 / 466.5 MB, free: 34.41 MB / 382.1 MB Notification: Performance of Templates: time 0.003756/0.4006, allocations: 1.552 MB / 468.1 MB, free: 34.32 MB / 382.1 MB make -j1 -f Annex60_1.0.0_Annex60.Utilities.Math.Functions.Examples.InverseXRegularized.makefile Environment - environmentSimulation: (rm -f Annex60_1.0.0_Annex60.Utilities.Math.Functions.Examples.InverseXRegularized.pipe ; mkfifo Annex60_1.0.0_Annex60.Utilities.Math.Functions.Examples.InverseXRegularized.pipe ; head -c 1048576 < Annex60_1.0.0_Annex60.Utilities.Math.Functions.Examples.InverseXRegularized.pipe >> ../files/Annex60_1.0.0_Annex60.Utilities.Math.Functions.Examples.InverseXRegularized.sim & ./Annex60_1.0.0_Annex60.Utilities.Math.Functions.Examples.InverseXRegularized -abortSlowSimulation -alarm=480 -lv LOG_STATS > Annex60_1.0.0_Annex60.Utilities.Math.Functions.Examples.InverseXRegularized.pipe 2>&1) Environment - environmentSimulation: