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.006387/0.006387, allocations: 102.9 kB / 15.73 MB, free: 6.477 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.001388/0.001388, allocations: 194.4 kB / 16.67 MB, free: 6.379 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.385/1.385, allocations: 205.1 MB / 222.6 MB, free: 4.531 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo): time 0.4384/0.4384, allocations: 54.95 MB / 324.9 MB, free: 15.88 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.001452/0.001452, allocations: 66.14 kB / 456.2 MB, free: 38.12 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1495/0.151, allocations: 59.59 MB / 0.5037 GB, free: 9.59 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Annex60.Utilities.Math.Functions.Examples.InverseXRegularized): time 0.001713/0.1528, allocations: 0.5842 MB / 0.5043 GB, free: 9.156 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001772/0.1546, allocations: 1.48 MB / 0.5058 GB, free: 7.957 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.664e-05/0.1546, allocations: 0 / 0.5058 GB, free: 7.957 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 2.463e-05/0.1547, allocations: 3.938 kB / 0.5058 GB, free: 7.953 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 7.939e-05/0.1547, allocations: 9.219 kB / 0.5058 GB, free: 7.945 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004185/0.1552, allocations: 126.5 kB / 0.5059 GB, free: 7.859 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 7.011e-05/0.1552, allocations: 28.05 kB / 0.5059 GB, free: 7.844 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.583e-05/0.1553, allocations: 2.25 kB / 0.5059 GB, free: 7.844 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.546e-05/0.1554, allocations: 14.55 kB / 0.5059 GB, free: 7.836 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.875e-05/0.1554, allocations: 21.48 kB / 0.506 GB, free: 7.82 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.721e-05/0.1555, allocations: 6.344 kB / 0.506 GB, free: 7.816 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004687/0.1559, allocations: 324.1 kB / 0.5063 GB, free: 7.625 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 1.456e-05/0.156, allocations: 0.9062 kB / 0.5063 GB, free: 7.625 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 3.028e-05/0.156, allocations: 19.8 kB / 0.5063 GB, free: 7.609 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002927/0.1563, allocations: 181.9 kB / 0.5065 GB, free: 7.516 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.011e-06/0.1563, allocations: 1.312 kB / 0.5065 GB, free: 7.516 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.813e-06/0.1563, allocations: 0 / 0.5065 GB, free: 7.516 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.242e-06/0.1563, allocations: 0 / 0.5065 GB, free: 7.516 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.0005179/0.1568, allocations: 383.8 kB / 0.5068 GB, free: 7.113 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.349e-05/0.1569, allocations: 9.594 kB / 0.5068 GB, free: 7.113 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003732/0.1573, allocations: 62.7 kB / 0.5069 GB, free: 7.086 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001495/0.1574, allocations: 168.6 kB / 0.5071 GB, free: 6.887 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.741e-05/0.1575, allocations: 5.656 kB / 0.5071 GB, free: 6.883 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.49e-05/0.1575, allocations: 10.69 kB / 0.5071 GB, free: 6.875 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002558/0.1577, allocations: 72.77 kB / 0.5071 GB, free: 6.82 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.289e-05/0.1578, allocations: 4 kB / 0.5071 GB, free: 6.816 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.078e-05/0.1578, allocations: 0 / 0.5071 GB, free: 6.816 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.428e-06/0.1578, allocations: 1.375 kB / 0.5071 GB, free: 6.816 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003393/0.1581, allocations: 73.16 kB / 0.5072 GB, free: 6.785 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001792/0.1583, allocations: 175.2 kB / 0.5074 GB, free: 6.574 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005177/0.1589, allocations: 131 kB / 0.5075 GB, free: 6.5 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001903/0.1591, allocations: 46.94 kB / 0.5076 GB, free: 6.473 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.976e-05/0.1591, allocations: 0 / 0.5076 GB, free: 6.473 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.444e-05/0.1591, allocations: 31.94 kB / 0.5076 GB, free: 6.434 MB / 382.1 MB Notification: Performance of pre-optimization done (n=5): time 4.489e-06/0.1591, allocations: 7.922 kB / 0.5076 GB, free: 6.426 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.004029/0.1632, allocations: 0.7912 MB / 0.5084 GB, free: 6.07 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.806e-05/0.1632, allocations: 56.56 kB / 0.5084 GB, free: 6.004 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.769e-05/0.1633, allocations: 114.2 kB / 0.5085 GB, free: 5.895 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.68e-05/0.1633, allocations: 25.7 kB / 0.5086 GB, free: 5.863 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.6e-05/0.1634, allocations: 89.41 kB / 0.5086 GB, free: 5.773 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.601e-05/0.1634, allocations: 27.62 kB / 0.5087 GB, free: 5.746 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.622e-05/0.1634, allocations: 25.7 kB / 0.5087 GB, free: 5.715 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 5.432e-05/0.1635, allocations: 326.8 kB / 0.509 GB, free: 5.387 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003896/0.1639, allocations: 95.91 kB / 0.5091 GB, free: 5.293 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003769/0.1643, allocations: 95.89 kB / 0.5092 GB, free: 5.199 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007489/0.165, allocations: 196.6 kB / 0.5094 GB, free: 5.004 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.61e-07/0.1651, allocations: 4 kB / 0.5094 GB, free: 5 MB / 382.1 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0008341/0.1659, allocations: 233.4 kB / 0.5096 GB, free: 4.766 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.105e-05/0.1659, allocations: 4.375 kB / 0.5096 GB, free: 4.762 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.476e-06/0.1659, allocations: 7.984 kB / 0.5096 GB, free: 4.754 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.112e-05/0.166, allocations: 0 / 0.5096 GB, free: 4.754 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003138/0.1663, allocations: 55.88 kB / 0.5097 GB, free: 4.699 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.031e-06/0.1663, allocations: 7.938 kB / 0.5097 GB, free: 4.691 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002031/0.1665, allocations: 31.97 kB / 0.5097 GB, free: 4.66 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.475e-05/0.1666, allocations: 11.98 kB / 0.5097 GB, free: 4.648 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 7.186e-05/0.1666, allocations: 109.8 kB / 0.5098 GB, free: 4.531 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.923e-05/0.1667, allocations: 4 kB / 0.5098 GB, free: 4.527 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.065e-05/0.1667, allocations: 12.38 kB / 0.5098 GB, free: 4.516 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.657e-06/0.1667, allocations: 4 kB / 0.5098 GB, free: 4.512 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.34e-06/0.1667, allocations: 0 / 0.5098 GB, free: 4.512 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.598e-06/0.1667, allocations: 3.984 kB / 0.5098 GB, free: 4.508 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001514/0.1682, allocations: 0.6015 MB / 0.5104 GB, free: 3.844 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.316e-06/0.1683, allocations: 4.75 kB / 0.5104 GB, free: 3.84 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002364/0.1685, allocations: 52 kB / 0.5105 GB, free: 3.789 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.867e-06/0.1685, allocations: 4 kB / 0.5105 GB, free: 3.785 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.292e-05/0.1685, allocations: 0 / 0.5105 GB, free: 3.785 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.398e-06/0.1685, allocations: 11.94 kB / 0.5105 GB, free: 3.773 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.375e-06/0.1686, allocations: 0 / 0.5105 GB, free: 3.773 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008154/0.1694, allocations: 344.8 kB / 0.5108 GB, free: 3.414 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.263e-05/0.1694, allocations: 81.11 kB / 0.5109 GB, free: 3.316 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.542e-05/0.1694, allocations: 7.984 kB / 0.5109 GB, free: 3.309 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000231/0.1697, allocations: 39.91 kB / 0.5109 GB, free: 3.27 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.754e-05/0.1697, allocations: 7.984 kB / 0.511 GB, free: 3.262 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.088e-05/0.1697, allocations: 11.92 kB / 0.511 GB, free: 3.25 MB / 382.1 MB Notification: Performance of sorting global known variables: time 3.056e-05/0.1698, allocations: 91.28 kB / 0.5111 GB, free: 3.16 MB / 382.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1698, allocations: 0 / 0.5111 GB, free: 3.16 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002995/0.1701, allocations: 39.98 kB / 0.5111 GB, free: 3.121 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.0002082/0.1703, allocations: 127.2 kB / 0.5112 GB, free: 2.988 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0008321/0.1711, allocations: 211.7 kB / 0.5114 GB, free: 2.781 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.114e-06/0.1712, allocations: 4 kB / 0.5114 GB, free: 2.777 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003916/0.1716, allocations: 111.9 kB / 0.5115 GB, free: 2.668 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000236/0.1718, allocations: 7.438 kB / 0.5115 GB, free: 2.664 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001407/0.1732, allocations: 402.5 kB / 0.5119 GB, free: 2.238 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001762/0.1734, allocations: 0.6924 MB / 0.5126 GB, free: 1.52 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0001046/0.1735, allocations: 20.61 kB / 0.5126 GB, free: 1.496 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.554e-05/0.1736, allocations: 19.42 kB / 0.5126 GB, free: 1.477 MB / 382.1 MB Notification: Performance of SimCode: time 2.2e-07/0.1736, allocations: 0 / 0.5126 GB, free: 1.477 MB / 382.1 MB Notification: Performance of Templates: time 0.004822/0.1784, allocations: 1.668 MB / 0.5143 GB, free: 15.81 MB / 398.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)