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.00115/0.00115, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001362/0.001362, allocations: 192.3 kB / 16.13 MB, free: 6.699 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.471/1.471, allocations: 205.1 MB / 222 MB, free: 4.758 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo): time 0.3901/0.3901, allocations: 54.93 MB / 324.3 MB, free: 188 kB / 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.001368/0.001368, allocations: 63.91 kB / 394.7 MB, free: 12.25 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1412/0.1426, allocations: 59.58 MB / 454.3 MB, free: 0.5977 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Annex60.Utilities.Math.Functions.Examples.InverseXRegularized): time 0.2407/0.3833, allocations: 0.657 MB / 454.9 MB, free: 38.96 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001732/0.3851, allocations: 1.5 MB / 456.4 MB, free: 38.66 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.885e-05/0.3851, allocations: 0 / 456.4 MB, free: 38.66 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 1.9e-05/0.3852, allocations: 0 / 456.4 MB, free: 38.66 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 7.394e-05/0.3852, allocations: 2.594 kB / 456.4 MB, free: 38.66 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003226/0.3856, allocations: 100.2 kB / 456.5 MB, free: 38.65 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 5.344e-05/0.3856, allocations: 23.73 kB / 456.5 MB, free: 38.65 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.564e-05/0.3857, allocations: 7.453 kB / 456.5 MB, free: 38.64 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.475e-05/0.3857, allocations: 13.72 kB / 456.6 MB, free: 38.64 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.663e-05/0.3858, allocations: 18.58 kB / 456.6 MB, free: 38.64 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.689e-05/0.3858, allocations: 4.781 kB / 456.6 MB, free: 38.64 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003768/0.3862, allocations: 321.2 kB / 456.9 MB, free: 38.63 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 1.603e-05/0.3862, allocations: 9 kB / 456.9 MB, free: 38.63 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 2.661e-05/0.3863, allocations: 14.23 kB / 456.9 MB, free: 38.62 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002597/0.3865, allocations: 188.5 kB / 457.1 MB, free: 38.61 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.947e-06/0.3865, allocations: 1.781 kB / 457.1 MB, free: 38.61 MB / 382.1 MB Notification: Performance of FrontEnd: time 7.22e-07/0.3866, allocations: 0 / 457.1 MB, free: 38.61 MB / 382.1 MB Notification: Performance of Transformations before backend: time 4.559e-06/0.3866, allocations: 0 / 457.1 MB, free: 38.61 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.0004248/0.387, allocations: 381 kB / 457.5 MB, free: 38.23 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.69e-05/0.387, allocations: 11.62 kB / 457.5 MB, free: 38.23 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003586/0.3874, allocations: 57.44 kB / 457.5 MB, free: 38.23 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001025/0.3875, allocations: 177.9 kB / 457.7 MB, free: 38.02 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.567e-05/0.3875, allocations: 3.188 kB / 457.7 MB, free: 38.02 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.65e-05/0.3876, allocations: 5 kB / 457.7 MB, free: 38.02 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002479/0.3878, allocations: 76.67 kB / 457.8 MB, free: 37.99 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.052e-05/0.3878, allocations: 0 / 457.8 MB, free: 37.99 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.122e-05/0.3879, allocations: 3.344 kB / 457.8 MB, free: 37.99 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.839e-06/0.3879, allocations: 0 / 457.8 MB, free: 37.99 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003201/0.3882, allocations: 70.84 kB / 457.9 MB, free: 37.99 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000145/0.3883, allocations: 169.5 kB / 458 MB, free: 37.8 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004718/0.3888, allocations: 124.6 kB / 458.2 MB, free: 37.78 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001615/0.389, allocations: 45.14 kB / 458.2 MB, free: 37.77 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.15e-05/0.389, allocations: 10.61 kB / 458.2 MB, free: 37.76 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.729e-05/0.389, allocations: 32.91 kB / 458.2 MB, free: 37.72 MB / 382.1 MB Notification: Performance of pre-optimization done (n=5): time 2.224e-06/0.3891, allocations: 1.844 kB / 458.2 MB, free: 37.72 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.003733/0.3928, allocations: 0.7916 MB / 459 MB, free: 37.66 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.782e-05/0.3928, allocations: 55.41 kB / 459.1 MB, free: 37.59 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.977e-05/0.3929, allocations: 112.4 kB / 459.2 MB, free: 37.49 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.72e-05/0.3929, allocations: 28.55 kB / 459.2 MB, free: 37.46 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.869e-05/0.393, allocations: 83.95 kB / 459.3 MB, free: 37.38 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.003e-05/0.393, allocations: 25.7 kB / 459.3 MB, free: 37.36 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.426e-05/0.3931, allocations: 29.7 kB / 459.4 MB, free: 37.35 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 8.316e-05/0.3932, allocations: 317.2 kB / 459.7 MB, free: 37.04 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004145/0.3936, allocations: 102.9 kB / 459.8 MB, free: 37.03 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000382/0.394, allocations: 94.83 kB / 459.9 MB, free: 37.02 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007225/0.3947, allocations: 196.6 kB / 460.1 MB, free: 37 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.583e-06/0.3947, allocations: 0 / 460.1 MB, free: 37 MB / 382.1 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0007862/0.3955, allocations: 243.7 kB / 460.3 MB, free: 36.96 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.635e-05/0.3955, allocations: 10.97 kB / 460.3 MB, free: 36.96 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.869e-06/0.3956, allocations: 3.188 kB / 460.3 MB, free: 36.96 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.438e-05/0.3956, allocations: 2.938 kB / 460.3 MB, free: 36.96 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002902/0.3959, allocations: 52.3 kB / 460.4 MB, free: 36.95 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.142e-06/0.3959, allocations: 2.25 kB / 460.4 MB, free: 36.95 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002095/0.3961, allocations: 37.84 kB / 460.4 MB, free: 36.95 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.329e-05/0.3961, allocations: 2.938 kB / 460.4 MB, free: 36.95 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 6.325e-05/0.3962, allocations: 123.7 kB / 460.5 MB, free: 36.83 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.063e-05/0.3962, allocations: 6.844 kB / 460.5 MB, free: 36.82 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.37e-05/0.3963, allocations: 14.81 kB / 460.6 MB, free: 36.82 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.337e-06/0.3963, allocations: 0.8125 kB / 460.6 MB, free: 36.82 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.851e-06/0.3963, allocations: 0 / 460.6 MB, free: 36.82 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.167e-06/0.3963, allocations: 1.688 kB / 460.6 MB, free: 36.82 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001487/0.3978, allocations: 0.5995 MB / 461.2 MB, free: 36.48 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.654e-06/0.3978, allocations: 0 / 461.2 MB, free: 36.48 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002431/0.3981, allocations: 60.58 kB / 461.2 MB, free: 36.48 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.296e-06/0.3981, allocations: 2.969 kB / 461.2 MB, free: 36.48 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.473e-05/0.3981, allocations: 2.938 kB / 461.2 MB, free: 36.48 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.593e-06/0.3981, allocations: 0 / 461.2 MB, free: 36.48 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.555e-06/0.3981, allocations: 7.266 kB / 461.2 MB, free: 36.48 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007926/0.3989, allocations: 337.3 kB / 461.6 MB, free: 36.32 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.627e-05/0.3989, allocations: 86.05 kB / 461.6 MB, free: 36.22 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.386e-05/0.399, allocations: 4.375 kB / 461.6 MB, free: 36.22 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002249/0.3992, allocations: 38.77 kB / 461.7 MB, free: 36.22 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.928e-05/0.3992, allocations: 12.95 kB / 461.7 MB, free: 36.21 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.067e-05/0.3993, allocations: 6.188 kB / 461.7 MB, free: 36.21 MB / 382.1 MB Notification: Performance of sorting global known variables: time 3.052e-05/0.3993, allocations: 91.94 kB / 461.8 MB, free: 36.14 MB / 382.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3993, allocations: 0 / 461.8 MB, free: 36.14 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002686/0.3996, allocations: 41.98 kB / 461.8 MB, free: 36.13 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 (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.0001706/0.3998, allocations: 129 kB / 462 MB, free: 36.04 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0007947/0.4006, allocations: 212 kB / 462.2 MB, free: 36.02 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.144e-06/0.4006, allocations: 4 kB / 462.2 MB, free: 36.02 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003903/0.401, allocations: 105 kB / 462.3 MB, free: 36.02 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002393/0.4012, allocations: 13.69 kB / 462.3 MB, free: 36.02 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001327/0.4026, allocations: 411.2 kB / 462.7 MB, free: 35.86 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001266/0.4027, allocations: 0.6871 MB / 463.4 MB, free: 35.16 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0001094/0.4028, allocations: 16.8 kB / 463.4 MB, free: 35.16 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.741e-05/0.4029, allocations: 18.98 kB / 463.4 MB, free: 35.15 MB / 382.1 MB Notification: Performance of SimCode: time 3.01e-07/0.4029, allocations: 6.344 kB / 463.4 MB, free: 35.15 MB / 382.1 MB Notification: Performance of Templates: time 0.003535/0.4064, allocations: 1.568 MB / 465 MB, free: 35.06 MB / 382.1 MB make -j1 -f Annex60_1.0.0_Annex60.Utilities.Math.Functions.Examples.InverseXRegularized.makefile (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)