Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_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/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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_IDEAS.Utilities.Math.Functions.Examples.InverseXRegularized") translateModel(IDEAS.Utilities.Math.Functions.Examples.InverseXRegularized,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_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.006798/0.006798, allocations: 98.3 kB / 15.73 MB, free: 6.047 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.001234/0.001234, allocations: 198.4 kB / 16.68 MB, free: 5.969 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.394/1.394, allocations: 222.9 MB / 240.4 MB, free: 4.324 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7552/0.7552, allocations: 132.2 MB / 422.7 MB, free: 1.688 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001166/0.001166, allocations: 67.89 kB / 0.5814 GB, free: 7.527 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4191/0.4202, allocations: 80.21 MB / 0.6597 GB, free: 10.32 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.InverseXRegularized): time 0.001589/0.4219, allocations: 0.634 MB / 0.6603 GB, free: 9.922 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.001515/0.4234, allocations: 1.451 MB / 0.6618 GB, free: 8.863 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.93e-05/0.4234, allocations: 0 / 0.6618 GB, free: 8.863 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 1.561e-05/0.4235, allocations: 3.938 kB / 0.6618 GB, free: 8.859 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 6.397e-05/0.4235, allocations: 6.906 kB / 0.6618 GB, free: 8.855 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003625/0.4239, allocations: 121.3 kB / 0.6619 GB, free: 8.801 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 5.583e-05/0.424, allocations: 20.95 kB / 0.6619 GB, free: 8.797 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 4.395e-05/0.424, allocations: 12.23 kB / 0.6619 GB, free: 8.789 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 3.065e-05/0.4241, allocations: 11.86 kB / 0.6619 GB, free: 8.785 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 6.597e-05/0.4241, allocations: 24.48 kB / 0.6619 GB, free: 8.773 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.258e-05/0.4242, allocations: 1.375 kB / 0.662 GB, free: 8.773 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004725/0.4246, allocations: 318.8 kB / 0.6623 GB, free: 8.684 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 1.588e-05/0.4247, allocations: 9.547 kB / 0.6623 GB, free: 8.676 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 2.529e-05/0.4247, allocations: 15.08 kB / 0.6623 GB, free: 8.664 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0002667/0.425, allocations: 190.1 kB / 0.6625 GB, free: 8.566 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.789e-06/0.425, allocations: 1.094 kB / 0.6625 GB, free: 8.566 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.192e-06/0.425, allocations: 0 / 0.6625 GB, free: 8.566 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 6.001e-06/0.425, allocations: 0 / 0.6625 GB, free: 8.566 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.0004923/0.4255, allocations: 379.6 kB / 0.6628 GB, free: 8.168 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.295e-05/0.4255, allocations: 9.25 kB / 0.6628 GB, free: 8.168 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004263/0.426, allocations: 59.92 kB / 0.6629 GB, free: 8.145 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001234/0.4261, allocations: 179.6 kB / 0.6631 GB, free: 7.934 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.089e-05/0.4261, allocations: 6.562 kB / 0.6631 GB, free: 7.93 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.226e-05/0.4262, allocations: 1.781 kB / 0.6631 GB, free: 7.93 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002863/0.4264, allocations: 77.08 kB / 0.6631 GB, free: 7.871 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.281e-05/0.4265, allocations: 1.469 kB / 0.6631 GB, free: 7.871 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.214e-05/0.4265, allocations: 0 / 0.6631 GB, free: 7.871 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.24e-06/0.4265, allocations: 3.938 kB / 0.6631 GB, free: 7.867 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004231/0.4269, allocations: 74.39 kB / 0.6632 GB, free: 7.836 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001512/0.4271, allocations: 162.5 kB / 0.6634 GB, free: 7.637 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006435/0.4277, allocations: 134.5 kB / 0.6635 GB, free: 7.559 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002227/0.428, allocations: 39.2 kB / 0.6635 GB, free: 7.539 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.341e-05/0.428, allocations: 5.141 kB / 0.6635 GB, free: 7.535 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.934e-05/0.428, allocations: 39.66 kB / 0.6636 GB, free: 7.488 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=5): time 1.142e-06/0.428, allocations: 0 / 0.6636 GB, free: 7.488 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.00481/0.4329, allocations: 0.7962 MB / 0.6644 GB, free: 7.125 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.692e-05/0.4329, allocations: 52.47 kB / 0.6644 GB, free: 7.062 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.793e-05/0.433, allocations: 113.5 kB / 0.6645 GB, free: 6.953 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.709e-05/0.433, allocations: 31.11 kB / 0.6645 GB, free: 6.918 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 2.741e-05/0.4331, allocations: 85.33 kB / 0.6646 GB, free: 6.832 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 4.654e-05/0.4331, allocations: 31.42 kB / 0.6647 GB, free: 6.805 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.412e-05/0.4332, allocations: 25.67 kB / 0.6647 GB, free: 6.781 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 4.654e-05/0.4332, allocations: 316.2 kB / 0.665 GB, free: 6.465 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000519/0.4338, allocations: 96.58 kB / 0.6651 GB, free: 6.426 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004991/0.4343, allocations: 102.1 kB / 0.6652 GB, free: 6.383 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009822/0.4353, allocations: 190.7 kB / 0.6654 GB, free: 6.301 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.042e-06/0.4353, allocations: 0 / 0.6654 GB, free: 6.301 MB / 0.4981 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.001153/0.4364, allocations: 255 kB / 0.6656 GB, free: 6.168 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.604e-05/0.4365, allocations: 4.438 kB / 0.6656 GB, free: 6.168 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.773e-06/0.4365, allocations: 2.031 kB / 0.6656 GB, free: 6.168 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.737e-05/0.4365, allocations: 0 / 0.6656 GB, free: 6.168 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003789/0.4369, allocations: 50.06 kB / 0.6657 GB, free: 6.152 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.522e-06/0.4369, allocations: 9.031 kB / 0.6657 GB, free: 6.145 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002654/0.4372, allocations: 33.39 kB / 0.6657 GB, free: 6.133 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.861e-05/0.4372, allocations: 6.531 kB / 0.6657 GB, free: 6.129 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.674e-05/0.4373, allocations: 116.8 kB / 0.6658 GB, free: 6.008 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.805e-05/0.4373, allocations: 7.266 kB / 0.6658 GB, free: 6.004 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.78e-05/0.4374, allocations: 13.47 kB / 0.6658 GB, free: 5.984 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.699e-06/0.4374, allocations: 1.219 kB / 0.6658 GB, free: 5.984 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.625e-06/0.4374, allocations: 0 / 0.6658 GB, free: 5.984 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.567e-06/0.4374, allocations: 1.344 kB / 0.6658 GB, free: 5.984 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00187/0.4393, allocations: 0.5979 MB / 0.6664 GB, free: 5.504 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.244e-06/0.4393, allocations: 1.438 kB / 0.6664 GB, free: 5.504 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003139/0.4396, allocations: 55.19 kB / 0.6665 GB, free: 5.484 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.577e-06/0.4397, allocations: 1.312 kB / 0.6665 GB, free: 5.484 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.992e-05/0.4397, allocations: 6.891 kB / 0.6665 GB, free: 5.48 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.106e-06/0.4397, allocations: 1.438 kB / 0.6665 GB, free: 5.48 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.674e-06/0.4397, allocations: 0 / 0.6665 GB, free: 5.48 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001118/0.4408, allocations: 347.5 kB / 0.6668 GB, free: 5.238 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 2.541e-05/0.4409, allocations: 80.23 kB / 0.6669 GB, free: 5.145 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.778e-05/0.4409, allocations: 12.98 kB / 0.6669 GB, free: 5.133 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002626/0.4412, allocations: 37.42 kB / 0.6669 GB, free: 5.117 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.086e-05/0.4412, allocations: 13.33 kB / 0.6669 GB, free: 5.109 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.161e-05/0.4412, allocations: 3.531 kB / 0.667 GB, free: 5.109 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 3.588e-05/0.4413, allocations: 92 kB / 0.667 GB, free: 5.027 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.1e-07/0.4413, allocations: 0 / 0.667 GB, free: 5.027 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002859/0.4416, allocations: 39.53 kB / 0.6671 GB, free: 5.016 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.0002232/0.4418, allocations: 126.5 kB / 0.6672 GB, free: 4.914 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0008612/0.4427, allocations: 215.5 kB / 0.6674 GB, free: 4.824 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.094e-06/0.4427, allocations: 0 / 0.6674 GB, free: 4.824 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.000412/0.4431, allocations: 109.7 kB / 0.6675 GB, free: 4.781 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002299/0.4433, allocations: 14.53 kB / 0.6675 GB, free: 4.77 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001417/0.4448, allocations: 408.2 kB / 0.6679 GB, free: 4.512 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001147/0.4449, allocations: 0.6837 MB / 0.6686 GB, free: 3.812 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0001004/0.445, allocations: 27.77 kB / 0.6686 GB, free: 3.793 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.499e-05/0.4451, allocations: 19.64 kB / 0.6686 GB, free: 3.781 MB / 0.4981 GB Notification: Performance of SimCode: time 2.2e-07/0.4451, allocations: 0 / 0.6686 GB, free: 3.781 MB / 0.4981 GB Notification: Performance of Templates: time 0.004335/0.4494, allocations: 1.656 MB / 0.6702 GB, free: 2.938 MB / 0.4981 GB make -j1 -f IDEAS_IDEAS.Utilities.Math.Functions.Examples.InverseXRegularized.makefile (rm -f IDEAS_IDEAS.Utilities.Math.Functions.Examples.InverseXRegularized.pipe ; mkfifo IDEAS_IDEAS.Utilities.Math.Functions.Examples.InverseXRegularized.pipe ; head -c 1048576 < IDEAS_IDEAS.Utilities.Math.Functions.Examples.InverseXRegularized.pipe >> ../files/IDEAS_IDEAS.Utilities.Math.Functions.Examples.InverseXRegularized.sim & ./IDEAS_IDEAS.Utilities.Math.Functions.Examples.InverseXRegularized -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Utilities.Math.Functions.Examples.InverseXRegularized.pipe 2>&1)