Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Utilities.Math.Examples.RegNonZeroPower.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.Examples.RegNonZeroPower,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Utilities.Math.Examples.RegNonZeroPower") translateModel(IDEAS.Utilities.Math.Examples.RegNonZeroPower,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Utilities.Math.Examples.RegNonZeroPower") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001027/0.001031, allocations: 91.84 kB / 15.36 MB, free: 0.7383 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.007446/0.007446, allocations: 170.7 kB / 16.26 MB, free: 6.676 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.396/1.396, allocations: 223.3 MB / 240.3 MB, free: 5.34 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9977/0.9977, allocations: 135.3 MB / 426.7 MB, free: 14.26 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000323/0.0003231, allocations: 8 kB / 0.5076 GB, free: 4.766 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.182/0.1823, allocations: 82.31 MB / 0.588 GB, free: 2.629 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.RegNonZeroPower): time 0.001937/0.1843, allocations: 1.157 MB / 0.5891 GB, free: 1.457 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008573/0.1852, allocations: 395.8 kB / 0.5895 GB, free: 1.066 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.698e-05/0.1852, allocations: 7.938 kB / 0.5895 GB, free: 1.059 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 2.213e-05/0.1853, allocations: 7.922 kB / 0.5895 GB, free: 1.051 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 6.076e-05/0.1853, allocations: 4 kB / 0.5895 GB, free: 1.047 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004999/0.1858, allocations: 79.34 kB / 0.5896 GB, free: 0.9727 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 8.131e-05/0.1859, allocations: 19.94 kB / 0.5896 GB, free: 0.9531 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001142/0.186, allocations: 7.984 kB / 0.5896 GB, free: 0.9453 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.397e-05/0.1861, allocations: 4 kB / 0.5896 GB, free: 0.9414 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.798e-05/0.1862, allocations: 19.92 kB / 0.5896 GB, free: 0.9219 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.542e-05/0.1862, allocations: 0 / 0.5896 GB, free: 0.9219 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005277/0.1867, allocations: 275.7 kB / 0.5899 GB, free: 0.6523 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 2.555e-05/0.1868, allocations: 7.922 kB / 0.5899 GB, free: 0.6445 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 5.576e-05/0.1868, allocations: 33.62 kB / 0.5899 GB, free: 0.6055 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003/0.1871, allocations: 99.83 kB / 0.59 GB, free: 0.5078 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.208e-06/0.1872, allocations: 0 / 0.59 GB, free: 0.5078 MB / 494.1 MB Notification: Performance of FrontEnd: time 2.775e-06/0.1872, allocations: 3.938 kB / 0.59 GB, free: 0.5039 MB / 494.1 MB Notification: Performance of Transformations before backend: time 9.748e-06/0.1872, allocations: 0 / 0.59 GB, free: 0.5039 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0006986/0.1879, allocations: 375.7 kB / 0.5904 GB, free: 88 kB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.07e-05/0.188, allocations: 8.031 kB / 0.5904 GB, free: 80 kB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001201/0.1881, allocations: 4.938 kB / 0.5904 GB, free: 76 kB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002146/0.1883, allocations: 164.3 kB / 0.5905 GB, free: 15.88 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.181e-05/0.1883, allocations: 384 / 0.5905 GB, free: 15.88 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.083e-05/0.1884, allocations: 12.36 kB / 0.5906 GB, free: 15.86 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002559/0.1886, allocations: 54.25 kB / 0.5906 GB, free: 15.8 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.397e-05/0.1887, allocations: 4.172 kB / 0.5906 GB, free: 15.8 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.83e-05/0.1887, allocations: 3.938 kB / 0.5906 GB, free: 15.8 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.384e-06/0.1887, allocations: 0 / 0.5906 GB, free: 15.8 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000205/0.1889, allocations: 43.95 kB / 0.5907 GB, free: 15.75 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005824/0.1895, allocations: 260.9 kB / 0.5909 GB, free: 15.45 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001574/0.1897, allocations: 42.5 kB / 0.5909 GB, free: 15.4 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001065/0.1898, allocations: 32.84 kB / 0.591 GB, free: 15.36 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008347/0.1906, allocations: 461.5 kB / 0.5914 GB, free: 14.82 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.056e-05/0.1907, allocations: 38.56 kB / 0.5915 GB, free: 14.77 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=2): time 1.473e-06/0.1907, allocations: 0 / 0.5915 GB, free: 14.77 MB / 0.4981 GB Notification: Performance of matching and sorting (n=2): time 0.0005189/0.1912, allocations: 101.7 kB / 0.5916 GB, free: 14.67 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.922e-05/0.1913, allocations: 55.41 kB / 0.5916 GB, free: 14.6 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001429/0.1914, allocations: 105.8 kB / 0.5917 GB, free: 14.49 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 2.015e-05/0.1915, allocations: 25.7 kB / 0.5917 GB, free: 14.46 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 8.088e-05/0.1916, allocations: 88.12 kB / 0.5918 GB, free: 14.37 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 3.301e-05/0.1916, allocations: 7.844 kB / 0.5918 GB, free: 14.36 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.326e-05/0.1917, allocations: 9.719 kB / 0.5918 GB, free: 14.34 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0002064/0.1919, allocations: 314.8 kB / 0.5921 GB, free: 14.03 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.77e-05/0.192, allocations: 28 kB / 0.5922 GB, free: 14 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.33e-05/0.1921, allocations: 19.98 kB / 0.5922 GB, free: 13.98 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001859/0.1923, allocations: 52.89 kB / 0.5922 GB, free: 13.93 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.138e-06/0.1923, allocations: 0 / 0.5922 GB, free: 13.93 MB / 0.4981 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002978/0.1926, allocations: 93.41 kB / 0.5923 GB, free: 13.83 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.969e-05/0.1926, allocations: 8 kB / 0.5923 GB, free: 13.82 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.211e-06/0.1926, allocations: 0 / 0.5923 GB, free: 13.82 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.422e-05/0.1926, allocations: 0 / 0.5923 GB, free: 13.82 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.047e-05/0.1927, allocations: 11.98 kB / 0.5923 GB, free: 13.81 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.901e-06/0.1928, allocations: 0 / 0.5923 GB, free: 13.81 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.972e-05/0.1928, allocations: 11.98 kB / 0.5923 GB, free: 13.8 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.142e-06/0.1928, allocations: 0 / 0.5923 GB, free: 13.8 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 (2): * Single equations (assignments): 2 * 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 9.628e-05/0.1929, allocations: 121.8 kB / 0.5925 GB, free: 13.67 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.974e-05/0.193, allocations: 0 / 0.5925 GB, free: 13.67 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002774/0.1933, allocations: 85.12 kB / 0.5925 GB, free: 13.57 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.156e-06/0.1933, allocations: 0 / 0.5925 GB, free: 13.57 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.679e-06/0.1933, allocations: 8.031 kB / 0.5926 GB, free: 13.57 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.957e-06/0.1933, allocations: 0 / 0.5926 GB, free: 13.57 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001873/0.1935, allocations: 161.6 kB / 0.5927 GB, free: 13.36 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.234e-06/0.1935, allocations: 0 / 0.5927 GB, free: 13.36 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.14e-05/0.1936, allocations: 11.98 kB / 0.5927 GB, free: 13.35 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.735e-06/0.1936, allocations: 0 / 0.5927 GB, free: 13.35 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.428e-06/0.1936, allocations: 4 kB / 0.5927 GB, free: 13.34 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.293e-06/0.1936, allocations: 0 / 0.5927 GB, free: 13.34 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.643e-06/0.1936, allocations: 256 / 0.5927 GB, free: 13.34 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002747/0.1939, allocations: 175.5 kB / 0.5929 GB, free: 13.16 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 4.474e-05/0.1939, allocations: 85.02 kB / 0.593 GB, free: 13.05 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.558e-05/0.194, allocations: 4 kB / 0.593 GB, free: 13.05 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.298e-05/0.194, allocations: 12.02 kB / 0.593 GB, free: 13.04 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.068e-05/0.1941, allocations: 7.938 kB / 0.593 GB, free: 13.03 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.266e-06/0.1941, allocations: 3.938 kB / 0.593 GB, free: 13.03 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 4.295e-05/0.1941, allocations: 83.28 kB / 0.5931 GB, free: 12.95 MB / 0.4981 GB Notification: Performance of sort global known variables: time 3.5e-07/0.1942, allocations: 0 / 0.5931 GB, free: 12.95 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002238/0.1944, allocations: 15.98 kB / 0.5931 GB, free: 12.93 MB / 0.4981 GB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (2): * Single equations (assignments): 2 * 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.0001877/0.1946, allocations: 103.2 kB / 0.5932 GB, free: 12.82 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0002206/0.1948, allocations: 51.95 kB / 0.5932 GB, free: 12.77 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.374e-06/0.1948, allocations: 0 / 0.5932 GB, free: 12.77 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 9.557e-05/0.1949, allocations: 28.05 kB / 0.5933 GB, free: 12.74 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000298/0.1952, allocations: 7.938 kB / 0.5933 GB, free: 12.73 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003655/0.1956, allocations: 120.6 kB / 0.5934 GB, free: 12.59 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003626/0.196, allocations: 0.677 MB / 0.5941 GB, free: 11.89 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 2.621e-05/0.196, allocations: 4 kB / 0.5941 GB, free: 11.88 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.009e-05/0.196, allocations: 7.438 kB / 0.5941 GB, free: 11.88 MB / 0.4981 GB Notification: Performance of SimCode: time 5.1e-07/0.196, allocations: 4.062 kB / 0.5941 GB, free: 11.87 MB / 0.4981 GB Notification: Performance of Templates: time 0.003745/0.1998, allocations: 0.6329 MB / 0.5947 GB, free: 11.24 MB / 0.4981 GB make -j1 -f IDEAS_dev_IDEAS.Utilities.Math.Examples.RegNonZeroPower.makefile (rm -f IDEAS_dev_IDEAS.Utilities.Math.Examples.RegNonZeroPower.pipe ; mkfifo IDEAS_dev_IDEAS.Utilities.Math.Examples.RegNonZeroPower.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Utilities.Math.Examples.RegNonZeroPower.pipe >> ../files/IDEAS_dev_IDEAS.Utilities.Math.Examples.RegNonZeroPower.sim & ./IDEAS_dev_IDEAS.Utilities.Math.Examples.RegNonZeroPower -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Utilities.Math.Examples.RegNonZeroPower.pipe 2>&1)