Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.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.InverseXDerivative_2_Check,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check") translateModel(IDEAS.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001105/0.001105, allocations: 107.6 kB / 16.37 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.001036/0.001036, allocations: 193.8 kB / 17.31 MB, free: 5.824 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.377/1.377, allocations: 222.9 MB / 241 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8001/0.8001, allocations: 132.2 MB / 423.4 MB, free: 6.633 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001239/0.001239, allocations: 63.91 kB / 0.5032 GB, free: 10.96 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3502/0.3514, allocations: 80.19 MB / 0.5815 GB, free: 27.6 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check): time 0.001997/0.3535, allocations: 0.7688 MB / 0.5823 GB, free: 27.04 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.001706/0.3552, allocations: 1.486 MB / 0.5837 GB, free: 25.84 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.632e-05/0.3552, allocations: 0 / 0.5837 GB, free: 25.84 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 3.253e-05/0.3553, allocations: 3.938 kB / 0.5837 GB, free: 25.84 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 5.392e-05/0.3553, allocations: 6.312 kB / 0.5837 GB, free: 25.83 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005013/0.3558, allocations: 143 kB / 0.5839 GB, free: 25.73 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 9.104e-05/0.3559, allocations: 44.75 kB / 0.5839 GB, free: 25.71 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.416e-05/0.356, allocations: 3.625 kB / 0.5839 GB, free: 25.71 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.209e-05/0.3561, allocations: 23.67 kB / 0.5839 GB, free: 25.7 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.731e-05/0.3562, allocations: 41.62 kB / 0.584 GB, free: 25.67 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.915e-05/0.3562, allocations: 5.25 kB / 0.584 GB, free: 25.67 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004167/0.3566, allocations: 323 kB / 0.5843 GB, free: 25.48 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 2.182e-05/0.3566, allocations: 6.406 kB / 0.5843 GB, free: 25.48 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 3.548e-05/0.3567, allocations: 30.98 kB / 0.5843 GB, free: 25.46 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002691/0.357, allocations: 216.7 kB / 0.5845 GB, free: 25.34 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.328e-06/0.357, allocations: 1.375 kB / 0.5845 GB, free: 25.34 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.563e-06/0.357, allocations: 0 / 0.5845 GB, free: 25.34 MB / 446.1 MB Notification: Performance of Transformations before backend: time 4.699e-06/0.357, allocations: 0 / 0.5845 GB, free: 25.34 MB / 446.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 13 * Number of variables: 13 Notification: Performance of Generate backend data structure: time 0.0005258/0.3575, allocations: 404.5 kB / 0.5849 GB, free: 24.93 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.13e-05/0.3576, allocations: 10.09 kB / 0.5849 GB, free: 24.93 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004372/0.358, allocations: 67.91 kB / 0.585 GB, free: 24.91 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.142e-05/0.3581, allocations: 173.3 kB / 0.5852 GB, free: 24.7 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.793e-05/0.3581, allocations: 10.94 kB / 0.5852 GB, free: 24.7 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.616e-05/0.3582, allocations: 5.281 kB / 0.5852 GB, free: 24.7 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003365/0.3585, allocations: 121.8 kB / 0.5853 GB, free: 24.61 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.287e-05/0.3585, allocations: 0 / 0.5853 GB, free: 24.61 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.51e-05/0.3585, allocations: 5.281 kB / 0.5853 GB, free: 24.61 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.3e-06/0.3586, allocations: 1.031 kB / 0.5853 GB, free: 24.61 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00044/0.359, allocations: 102.8 kB / 0.5854 GB, free: 24.57 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000491/0.3595, allocations: 325.1 kB / 0.5857 GB, free: 24.25 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005994/0.3601, allocations: 165.1 kB / 0.5859 GB, free: 24.16 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002154/0.3603, allocations: 52.78 kB / 0.5859 GB, free: 24.14 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.755e-05/0.3604, allocations: 1.438 kB / 0.5859 GB, free: 24.14 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.072e-05/0.3604, allocations: 36.84 kB / 0.5859 GB, free: 24.1 MB / 446.1 MB Notification: Performance of pre-optimization done (n=7): time 1.323e-06/0.3604, allocations: 0 / 0.5859 GB, free: 24.1 MB / 446.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=11): time 0.01738/0.3778, allocations: 2.828 MB / 0.5887 GB, free: 22.49 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.597e-05/0.3779, allocations: 68.75 kB / 0.5888 GB, free: 22.41 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.091e-05/0.3779, allocations: 106.5 kB / 0.5889 GB, free: 22.3 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 4.139e-05/0.378, allocations: 27.2 kB / 0.5889 GB, free: 22.27 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.072e-05/0.378, allocations: 90.52 kB / 0.589 GB, free: 22.18 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.835e-05/0.3781, allocations: 39.52 kB / 0.589 GB, free: 22.15 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001657/0.3783, allocations: 69.14 kB / 0.5891 GB, free: 22.09 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 5.33e-05/0.3783, allocations: 316.2 kB / 0.5894 GB, free: 21.77 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006167/0.379, allocations: 192.7 kB / 0.5896 GB, free: 21.68 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006211/0.3796, allocations: 197.3 kB / 0.5898 GB, free: 21.56 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001186/0.3808, allocations: 392.5 kB / 0.5901 GB, free: 21.18 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.354e-06/0.3808, allocations: 4 kB / 0.5901 GB, free: 21.17 MB / 446.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.001398/0.3822, allocations: 481.2 kB / 0.5906 GB, free: 20.7 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.687e-05/0.3822, allocations: 6.031 kB / 0.5906 GB, free: 20.69 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.945e-06/0.3823, allocations: 96 / 0.5906 GB, free: 20.69 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.488e-05/0.3823, allocations: 3.938 kB / 0.5906 GB, free: 20.69 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007885/0.3831, allocations: 107.8 kB / 0.5907 GB, free: 20.58 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.528e-06/0.3831, allocations: 3.938 kB / 0.5907 GB, free: 20.58 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005655/0.3837, allocations: 47.94 kB / 0.5908 GB, free: 20.53 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.551e-05/0.3837, allocations: 27.92 kB / 0.5908 GB, free: 20.5 MB / 446.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 (13): * Single equations (assignments): 13 * 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 0.0001625/0.3839, allocations: 113.8 kB / 0.5909 GB, free: 20.38 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.622e-05/0.384, allocations: 0 / 0.5909 GB, free: 20.38 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.577e-05/0.3841, allocations: 15.97 kB / 0.5909 GB, free: 20.36 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.596e-06/0.3841, allocations: 0 / 0.5909 GB, free: 20.36 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.568e-06/0.3841, allocations: 3.938 kB / 0.5909 GB, free: 20.36 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.16e-06/0.3841, allocations: 11.92 kB / 0.5909 GB, free: 20.35 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001845/0.3859, allocations: 1.047 MB / 0.592 GB, free: 19.19 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.956e-06/0.386, allocations: 0 / 0.592 GB, free: 19.19 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007506/0.3867, allocations: 103.8 kB / 0.5921 GB, free: 19.09 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.448e-06/0.3867, allocations: 3.938 kB / 0.5921 GB, free: 19.08 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.991e-05/0.3868, allocations: 27.92 kB / 0.5921 GB, free: 19.05 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.104e-06/0.3868, allocations: 3.938 kB / 0.5921 GB, free: 19.05 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.904e-06/0.3868, allocations: 0 / 0.5921 GB, free: 19.05 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002014/0.3888, allocations: 0.7894 MB / 0.5929 GB, free: 18.25 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000137/0.389, allocations: 124.9 kB / 0.593 GB, free: 18.11 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.138e-05/0.389, allocations: 0 / 0.593 GB, free: 18.11 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006262/0.3897, allocations: 52 kB / 0.593 GB, free: 18.05 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.175e-05/0.3898, allocations: 27.92 kB / 0.5931 GB, free: 18.03 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.287e-05/0.3898, allocations: 23.94 kB / 0.5931 GB, free: 18 MB / 446.1 MB Notification: Performance of sorting global known variables: time 3.05e-05/0.3899, allocations: 83.28 kB / 0.5932 GB, free: 17.92 MB / 446.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3899, allocations: 4 kB / 0.5932 GB, free: 17.92 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0003758/0.3903, allocations: 55.98 kB / 0.5932 GB, free: 17.86 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (y_comp,der_y_comp) * 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 (11): * Single equations (assignments): 11 * 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.000192/0.3905, allocations: 111.2 kB / 0.5933 GB, free: 17.75 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.00126/0.3917, allocations: 415.5 kB / 0.5937 GB, free: 17.34 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 4.248e-06/0.3917, allocations: 0 / 0.5937 GB, free: 17.34 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006154/0.3924, allocations: 235.6 kB / 0.5939 GB, free: 17.11 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000372/0.3927, allocations: 14.06 kB / 0.594 GB, free: 17.1 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00379/0.3965, allocations: 0.7581 MB / 0.5947 GB, free: 16.32 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001316/0.3967, allocations: 0.6963 MB / 0.5954 GB, free: 15.59 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0004501/0.3971, allocations: 84.67 kB / 0.5955 GB, free: 15.51 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000238/0.3974, allocations: 55.3 kB / 0.5955 GB, free: 15.46 MB / 446.1 MB Notification: Performance of SimCode: time 4.71e-07/0.3974, allocations: 4 kB / 0.5955 GB, free: 15.45 MB / 446.1 MB Notification: Performance of Templates: time 0.005052/0.4025, allocations: 3.458 MB / 0.5989 GB, free: 12 MB / 446.1 MB make -j1 -f IDEAS_IDEAS.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.makefile (rm -f IDEAS_IDEAS.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.pipe ; mkfifo IDEAS_IDEAS.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.pipe ; head -c 1048576 < IDEAS_IDEAS.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.pipe >> ../files/IDEAS_IDEAS.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.sim & ./IDEAS_IDEAS.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check -abortSlowSimulation -alarm=480 -s gbode -lv LOG_STATS > IDEAS_IDEAS.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.pipe 2>&1)