Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_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-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.RegNonZeroPowerDerivative_2_Check,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check") translateModel(IDEAS.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00144/0.00144, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001749/0.001749, allocations: 192.9 kB / 16.53 MB, free: 6.664 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.387/1.387, allocations: 222.9 MB / 240.2 MB, free: 4.387 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9553/0.9553, allocations: 135.1 MB / 425.5 MB, free: 12.02 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001222/0.001223, allocations: 67.59 kB / 0.5054 GB, free: 5.293 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1831/0.1843, allocations: 80.93 MB / 0.5844 GB, free: 4.523 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check): time 0.002062/0.1864, allocations: 0.6118 MB / 0.585 GB, free: 3.906 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007378/0.1872, allocations: 350.7 kB / 0.5853 GB, free: 3.562 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.636e-05/0.1872, allocations: 0 / 0.5853 GB, free: 3.562 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 2.025e-05/0.1872, allocations: 0 / 0.5853 GB, free: 3.562 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 2.676e-05/0.1873, allocations: 0 / 0.5853 GB, free: 3.562 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000546/0.1878, allocations: 119.6 kB / 0.5854 GB, free: 3.445 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 7.271e-05/0.1879, allocations: 19.97 kB / 0.5854 GB, free: 3.426 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.254e-05/0.188, allocations: 4 kB / 0.5855 GB, free: 3.422 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.699e-05/0.188, allocations: 15.94 kB / 0.5855 GB, free: 3.406 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.918e-05/0.1881, allocations: 7.984 kB / 0.5855 GB, free: 3.398 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 2.767e-05/0.1881, allocations: 4 kB / 0.5855 GB, free: 3.395 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003875/0.1885, allocations: 275.6 kB / 0.5857 GB, free: 3.125 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 2.063e-05/0.1885, allocations: 11.98 kB / 0.5858 GB, free: 3.113 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 3.083e-05/0.1886, allocations: 7.938 kB / 0.5858 GB, free: 3.105 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002176/0.1888, allocations: 103.8 kB / 0.5859 GB, free: 3.004 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.391e-06/0.1888, allocations: 4 kB / 0.5859 GB, free: 3 MB / 494.1 MB Notification: Performance of FrontEnd: time 2.244e-06/0.1888, allocations: 0 / 0.5859 GB, free: 3 MB / 494.1 MB Notification: Performance of Transformations before backend: time 7.945e-06/0.1888, allocations: 3.984 kB / 0.5859 GB, free: 2.996 MB / 494.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0006542/0.1895, allocations: 359.6 kB / 0.5862 GB, free: 2.594 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.957e-05/0.1895, allocations: 12.03 kB / 0.5862 GB, free: 2.582 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.734e-05/0.1896, allocations: 0.9375 kB / 0.5862 GB, free: 2.582 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000126/0.1898, allocations: 168.4 kB / 0.5864 GB, free: 2.379 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.312e-05/0.1898, allocations: 4.375 kB / 0.5864 GB, free: 2.375 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.795e-05/0.1898, allocations: 8.281 kB / 0.5864 GB, free: 2.367 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001253/0.1899, allocations: 50.25 kB / 0.5864 GB, free: 2.312 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.204e-05/0.19, allocations: 192 / 0.5864 GB, free: 2.312 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.454e-05/0.19, allocations: 3.938 kB / 0.5864 GB, free: 2.309 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.388e-06/0.19, allocations: 4 kB / 0.5865 GB, free: 2.305 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.7e-05/0.1901, allocations: 19.98 kB / 0.5865 GB, free: 2.285 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002052/0.1903, allocations: 169.6 kB / 0.5866 GB, free: 2.07 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001076/0.1904, allocations: 54.56 kB / 0.5867 GB, free: 2.008 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001994/0.1906, allocations: 28.83 kB / 0.5867 GB, free: 1.977 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0007054/0.1913, allocations: 465.4 kB / 0.5872 GB, free: 1.43 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.72e-05/0.1913, allocations: 34.5 kB / 0.5872 GB, free: 1.387 MB / 494.1 MB Notification: Performance of pre-optimization done (n=7): time 1.052e-06/0.1913, allocations: 0 / 0.5872 GB, free: 1.387 MB / 494.1 MB Notification: Performance of matching and sorting (n=11): time 0.001306/0.1927, allocations: 0.5934 MB / 0.5878 GB, free: 0.7031 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.769e-05/0.1927, allocations: 55.41 kB / 0.5878 GB, free: 0.6367 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.776e-05/0.1928, allocations: 101.8 kB / 0.5879 GB, free: 0.5273 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.852e-05/0.1928, allocations: 33.64 kB / 0.5879 GB, free: 500 kB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.093e-05/0.1928, allocations: 80.14 kB / 0.588 GB, free: 416 kB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.267e-05/0.1929, allocations: 47.34 kB / 0.5881 GB, free: 368 kB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.224e-05/0.193, allocations: 25.72 kB / 0.5881 GB, free: 336 kB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001137/0.1931, allocations: 322.8 kB / 0.5884 GB, free: 4 kB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.774e-05/0.1931, allocations: 16.05 kB / 0.5884 GB, free: 15.98 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.59e-05/0.1932, allocations: 19.94 kB / 0.5884 GB, free: 15.97 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.203e-05/0.1933, allocations: 59.72 kB / 0.5885 GB, free: 15.91 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.72e-07/0.1933, allocations: 0 / 0.5885 GB, free: 15.91 MB / 0.4981 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001685/0.1935, allocations: 101.6 kB / 0.5886 GB, free: 15.8 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.693e-05/0.1935, allocations: 10.81 kB / 0.5886 GB, free: 15.8 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.733e-06/0.1935, allocations: 0 / 0.5886 GB, free: 15.8 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.336e-05/0.1935, allocations: 3.938 kB / 0.5886 GB, free: 15.79 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001076/0.1936, allocations: 23.98 kB / 0.5886 GB, free: 15.77 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.4e-06/0.1936, allocations: 0.7812 kB / 0.5886 GB, free: 15.77 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.166e-05/0.1937, allocations: 0 / 0.5886 GB, free: 15.77 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.163e-05/0.1937, allocations: 8 kB / 0.5886 GB, free: 15.76 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 (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 7.662e-05/0.1938, allocations: 109.8 kB / 0.5887 GB, free: 15.64 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.02e-05/0.1938, allocations: 11.84 kB / 0.5888 GB, free: 15.63 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001926/0.1941, allocations: 113.5 kB / 0.5889 GB, free: 15.51 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.904e-06/0.1941, allocations: 0 / 0.5889 GB, free: 15.51 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.841e-06/0.1941, allocations: 4 kB / 0.5889 GB, free: 15.51 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.307e-06/0.1941, allocations: 96 / 0.5889 GB, free: 15.51 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000429/0.1945, allocations: 354.5 kB / 0.5892 GB, free: 15.11 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.242e-06/0.1945, allocations: 3.938 kB / 0.5892 GB, free: 15.1 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001024/0.1946, allocations: 19.98 kB / 0.5892 GB, free: 15.08 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.963e-06/0.1947, allocations: 0 / 0.5892 GB, free: 15.08 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.466e-06/0.1947, allocations: 4 kB / 0.5892 GB, free: 15.08 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.473e-06/0.1947, allocations: 4 kB / 0.5892 GB, free: 15.07 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.465e-06/0.1947, allocations: 0 / 0.5892 GB, free: 15.07 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002555/0.1949, allocations: 225 kB / 0.5894 GB, free: 14.84 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 5.169e-05/0.195, allocations: 89.12 kB / 0.5895 GB, free: 14.73 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.409e-05/0.195, allocations: 0 / 0.5895 GB, free: 14.73 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.164e-05/0.1951, allocations: 3.984 kB / 0.5895 GB, free: 14.73 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.91e-05/0.1951, allocations: 11.94 kB / 0.5895 GB, free: 14.72 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.614e-06/0.1951, allocations: 4 kB / 0.5896 GB, free: 14.71 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 4.334e-05/0.1952, allocations: 87.33 kB / 0.5896 GB, free: 14.63 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.1e-07/0.1952, allocations: 0 / 0.5896 GB, free: 14.63 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002681/0.1955, allocations: 40 kB / 0.5897 GB, free: 14.59 MB / 0.4981 GB 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.0003502/0.1958, allocations: 148.5 kB / 0.5898 GB, free: 14.44 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0001539/0.196, allocations: 67.84 kB / 0.5899 GB, free: 14.37 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.204e-06/0.196, allocations: 0 / 0.5899 GB, free: 14.37 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 4.77e-05/0.1961, allocations: 35.92 kB / 0.5899 GB, free: 14.34 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002203/0.1963, allocations: 12 kB / 0.5899 GB, free: 14.32 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003594/0.1966, allocations: 181.3 kB / 0.5901 GB, free: 14.12 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002448/0.1969, allocations: 0.6888 MB / 0.5908 GB, free: 13.41 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 5.033e-05/0.197, allocations: 15.98 kB / 0.5908 GB, free: 13.39 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.264e-05/0.197, allocations: 11.44 kB / 0.5908 GB, free: 13.38 MB / 0.4981 GB Notification: Performance of SimCode: time 3.71e-07/0.197, allocations: 0 / 0.5908 GB, free: 13.38 MB / 0.4981 GB Notification: Performance of Templates: time 0.004083/0.2011, allocations: 1.403 MB / 0.5922 GB, free: 12 MB / 0.4981 GB make -j1 -f IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.makefile (rm -f IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.pipe ; mkfifo IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.pipe >> ../files/IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.sim & ./IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.pipe 2>&1)