Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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(IDEAS.Utilities.Math.Functions.Examples.InverseXRegularized,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.InverseXRegularized") translateModel(IDEAS.Utilities.Math.Functions.Examples.InverseXRegularized,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.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.005725/0.005725, allocations: 98.38 kB / 15.73 MB, free: 6.012 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.001257/0.001257, allocations: 193.4 kB / 16.67 MB, free: 5.949 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.395/1.395, allocations: 222.9 MB / 240.4 MB, free: 4.352 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 1.004/1.004, allocations: 135.1 MB / 425.7 MB, free: 11.96 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00117/0.00117, allocations: 63.91 kB / 0.5857 GB, free: 3.344 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4677/0.4689, allocations: 80.91 MB / 0.6647 GB, free: 7.586 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.InverseXRegularized): time 0.001634/0.4705, allocations: 0.6298 MB / 0.6653 GB, free: 7.113 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.001571/0.4721, allocations: 1.458 MB / 0.6667 GB, free: 5.934 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.088e-05/0.4722, allocations: 0 / 0.6667 GB, free: 5.934 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 1.559e-05/0.4722, allocations: 3.938 kB / 0.6667 GB, free: 5.93 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 7.025e-05/0.4723, allocations: 1.188 kB / 0.6667 GB, free: 5.93 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003938/0.4727, allocations: 122 kB / 0.6668 GB, free: 5.848 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 6.05e-05/0.4728, allocations: 28.47 kB / 0.6669 GB, free: 5.832 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 4.943e-05/0.4728, allocations: 6.516 kB / 0.6669 GB, free: 5.828 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 3.529e-05/0.4728, allocations: 17.08 kB / 0.6669 GB, free: 5.816 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 7.331e-05/0.4729, allocations: 18.33 kB / 0.6669 GB, free: 5.805 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.53e-05/0.4729, allocations: 1.375 kB / 0.6669 GB, free: 5.805 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004263/0.4734, allocations: 320.3 kB / 0.6672 GB, free: 5.617 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 1.574e-05/0.4734, allocations: 6.156 kB / 0.6672 GB, free: 5.613 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 2.46e-05/0.4734, allocations: 18.8 kB / 0.6672 GB, free: 5.598 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0002836/0.4737, allocations: 187 kB / 0.6674 GB, free: 5.504 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.298e-06/0.4737, allocations: 1 kB / 0.6674 GB, free: 5.504 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.503e-06/0.4737, allocations: 4 kB / 0.6674 GB, free: 5.5 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 5.21e-06/0.4738, allocations: 0 / 0.6674 GB, free: 5.5 MB / 0.4981 GB 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.0004074/0.4742, allocations: 379.4 kB / 0.6678 GB, free: 5.102 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.556e-05/0.4742, allocations: 9.312 kB / 0.6678 GB, free: 5.102 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003607/0.4746, allocations: 63.95 kB / 0.6679 GB, free: 5.074 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001119/0.4747, allocations: 176.3 kB / 0.668 GB, free: 4.867 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.691e-05/0.4747, allocations: 1.844 kB / 0.668 GB, free: 4.867 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.924e-05/0.4747, allocations: 5.625 kB / 0.668 GB, free: 4.863 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002478/0.475, allocations: 78.3 kB / 0.6681 GB, free: 4.805 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.027e-05/0.475, allocations: 0 / 0.6681 GB, free: 4.805 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.013e-05/0.475, allocations: 0 / 0.6681 GB, free: 4.805 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.55e-06/0.475, allocations: 1.438 kB / 0.6681 GB, free: 4.805 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003412/0.4754, allocations: 76.59 kB / 0.6682 GB, free: 4.77 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001399/0.4755, allocations: 163.7 kB / 0.6683 GB, free: 4.57 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005073/0.476, allocations: 131.6 kB / 0.6685 GB, free: 4.496 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001709/0.4762, allocations: 37.86 kB / 0.6685 GB, free: 4.477 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.614e-05/0.4763, allocations: 5.359 kB / 0.6685 GB, free: 4.473 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.622e-05/0.4763, allocations: 38.5 kB / 0.6685 GB, free: 4.426 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=5): time 2.074e-06/0.4763, allocations: 1.312 kB / 0.6685 GB, free: 4.426 MB / 0.4981 GB 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.003844/0.4801, allocations: 0.7922 MB / 0.6693 GB, free: 4.066 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.621e-05/0.4802, allocations: 52.69 kB / 0.6694 GB, free: 4.004 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.112e-05/0.4803, allocations: 117.3 kB / 0.6695 GB, free: 3.891 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.259e-05/0.4803, allocations: 27.27 kB / 0.6695 GB, free: 3.859 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 2.273e-05/0.4803, allocations: 85.3 kB / 0.6696 GB, free: 3.773 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 3.666e-05/0.4803, allocations: 39.12 kB / 0.6696 GB, free: 3.738 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.669e-05/0.4804, allocations: 26.14 kB / 0.6696 GB, free: 3.715 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 5.632e-05/0.4805, allocations: 316.5 kB / 0.6699 GB, free: 3.398 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004223/0.4809, allocations: 100.3 kB / 0.67 GB, free: 3.355 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004076/0.4813, allocations: 97.14 kB / 0.6701 GB, free: 3.316 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007949/0.4821, allocations: 199.3 kB / 0.6703 GB, free: 3.227 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.212e-06/0.4821, allocations: 0 / 0.6703 GB, free: 3.227 MB / 0.4981 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.000877/0.483, allocations: 242.7 kB / 0.6706 GB, free: 3.105 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 2.221e-05/0.483, allocations: 5.406 kB / 0.6706 GB, free: 3.105 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.382e-06/0.4831, allocations: 7.938 kB / 0.6706 GB, free: 3.098 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.857e-05/0.4831, allocations: 1.438 kB / 0.6706 GB, free: 3.098 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003032/0.4834, allocations: 50.25 kB / 0.6706 GB, free: 3.082 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.211e-06/0.4834, allocations: 0 / 0.6706 GB, free: 3.082 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002118/0.4836, allocations: 42.16 kB / 0.6707 GB, free: 3.062 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.83e-05/0.4836, allocations: 6.547 kB / 0.6707 GB, free: 3.059 MB / 0.4981 GB 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.319e-05/0.4837, allocations: 123.3 kB / 0.6708 GB, free: 2.934 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.966e-05/0.4838, allocations: 6.281 kB / 0.6708 GB, free: 2.93 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.07e-05/0.4838, allocations: 14.62 kB / 0.6708 GB, free: 2.918 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.857e-06/0.4838, allocations: 1.531 kB / 0.6708 GB, free: 2.918 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.64e-06/0.4838, allocations: 0 / 0.6708 GB, free: 2.918 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.317e-06/0.4838, allocations: 0 / 0.6708 GB, free: 2.918 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00167/0.4855, allocations: 0.5949 MB / 0.6714 GB, free: 2.441 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.045e-06/0.4855, allocations: 1.25 kB / 0.6714 GB, free: 2.441 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002747/0.4858, allocations: 53.91 kB / 0.6714 GB, free: 2.422 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.128e-06/0.4858, allocations: 6.312 kB / 0.6714 GB, free: 2.418 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.869e-05/0.4858, allocations: 6.172 kB / 0.6715 GB, free: 2.414 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.226e-06/0.4858, allocations: 1.25 kB / 0.6715 GB, free: 2.414 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.074e-06/0.4858, allocations: 1.375 kB / 0.6715 GB, free: 2.414 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009148/0.4868, allocations: 347.9 kB / 0.6718 GB, free: 2.172 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 2.573e-05/0.4868, allocations: 78.23 kB / 0.6719 GB, free: 2.078 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.393e-05/0.4868, allocations: 2.75 kB / 0.6719 GB, free: 2.078 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002381/0.4871, allocations: 40.77 kB / 0.6719 GB, free: 2.059 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.18e-05/0.4871, allocations: 13.11 kB / 0.6719 GB, free: 2.051 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.363e-05/0.4872, allocations: 3.812 kB / 0.6719 GB, free: 2.051 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 4.356e-05/0.4872, allocations: 91.17 kB / 0.672 GB, free: 1.969 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.2e-07/0.4872, allocations: 3.938 kB / 0.672 GB, free: 1.965 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0003167/0.4875, allocations: 44.2 kB / 0.6721 GB, free: 1.949 MB / 0.4981 GB 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.0002095/0.4877, allocations: 126.5 kB / 0.6722 GB, free: 1.848 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0009145/0.4887, allocations: 207.6 kB / 0.6724 GB, free: 1.766 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 3.046e-06/0.4887, allocations: 3.938 kB / 0.6724 GB, free: 1.762 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.000426/0.4891, allocations: 109.6 kB / 0.6725 GB, free: 1.719 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002379/0.4894, allocations: 10.28 kB / 0.6725 GB, free: 1.711 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001448/0.4908, allocations: 413.8 kB / 0.6729 GB, free: 1.445 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001213/0.491, allocations: 0.6836 MB / 0.6736 GB, free: 0.7461 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0001046/0.4911, allocations: 25.47 kB / 0.6736 GB, free: 0.7305 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.161e-05/0.4911, allocations: 18.7 kB / 0.6736 GB, free: 0.7188 MB / 0.4981 GB Notification: Performance of SimCode: time 2.61e-07/0.4911, allocations: 0 / 0.6736 GB, free: 0.7188 MB / 0.4981 GB Notification: Performance of Templates: time 0.004212/0.4954, allocations: 1.656 MB / 0.6752 GB, free: 15.87 MB / 0.5137 GB make -j1 -f IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.InverseXRegularized.makefile (rm -f IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.InverseXRegularized.pipe ; mkfifo IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.InverseXRegularized.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.InverseXRegularized.pipe >> ../files/IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.InverseXRegularized.sim & ./IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.InverseXRegularized -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.InverseXRegularized.pipe 2>&1)