Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_IDEAS.Utilities.Math.Functions.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.Functions.Examples.RegNonZeroPower,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.RegNonZeroPower") translateModel(IDEAS.Utilities.Math.Functions.Examples.RegNonZeroPower,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.RegNonZeroPower") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009926/0.0009926, allocations: 91.61 kB / 15.06 MB, free: 1.098 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.001242/0.001242, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.543/1.543, allocations: 223.3 MB / 240 MB, free: 5.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.9446/0.9446, allocations: 135.3 MB / 426.4 MB, free: 14.23 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003801/0.0003803, allocations: 12.69 kB / 0.507 GB, free: 5.082 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2054/0.2058, allocations: 82.31 MB / 0.5874 GB, free: 2.945 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.RegNonZeroPower): time 0.0009022/0.2067, allocations: 295.1 kB / 0.5877 GB, free: 2.652 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.000685/0.2074, allocations: 304.9 kB / 0.588 GB, free: 2.355 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.62e-05/0.2075, allocations: 4 kB / 0.588 GB, free: 2.352 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 1.364e-05/0.2075, allocations: 4 kB / 0.588 GB, free: 2.348 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 8.486e-06/0.2075, allocations: 0 / 0.588 GB, free: 2.348 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004427/0.208, allocations: 71.8 kB / 0.588 GB, free: 2.277 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 4.113e-05/0.208, allocations: 0 / 0.588 GB, free: 2.277 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.144e-05/0.2081, allocations: 0 / 0.588 GB, free: 2.277 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.71e-05/0.2081, allocations: 0 / 0.588 GB, free: 2.277 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.573e-05/0.2081, allocations: 3.984 kB / 0.588 GB, free: 2.273 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.153e-05/0.2081, allocations: 0 / 0.588 GB, free: 2.273 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004547/0.2086, allocations: 267.7 kB / 0.5883 GB, free: 2.012 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 8.186e-06/0.2086, allocations: 4 kB / 0.5883 GB, free: 2.008 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 2.996e-05/0.2087, allocations: 25.7 kB / 0.5883 GB, free: 1.977 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001541/0.2088, allocations: 55.91 kB / 0.5884 GB, free: 1.922 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.641e-06/0.2088, allocations: 0 / 0.5884 GB, free: 1.922 MB / 494.1 MB Notification: Performance of FrontEnd: time 2.264e-06/0.2088, allocations: 0 / 0.5884 GB, free: 1.922 MB / 494.1 MB Notification: Performance of Transformations before backend: time 9.718e-06/0.2089, allocations: 0 / 0.5884 GB, free: 1.922 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: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0003719/0.2092, allocations: 327.4 kB / 0.5887 GB, free: 1.555 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.877e-05/0.2093, allocations: 8.031 kB / 0.5887 GB, free: 1.547 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.769e-05/0.2094, allocations: 4 kB / 0.5887 GB, free: 1.543 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001093/0.2095, allocations: 171 kB / 0.5889 GB, free: 1.336 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.732e-05/0.2095, allocations: 0 / 0.5889 GB, free: 1.336 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.864e-05/0.2096, allocations: 7.984 kB / 0.5889 GB, free: 1.328 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001343/0.2097, allocations: 29.69 kB / 0.5889 GB, free: 1.293 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.696e-06/0.2097, allocations: 0 / 0.5889 GB, free: 1.293 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.228e-05/0.2097, allocations: 4 kB / 0.5889 GB, free: 1.289 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.661e-06/0.2097, allocations: 0 / 0.5889 GB, free: 1.289 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.631e-05/0.2098, allocations: 4 kB / 0.5889 GB, free: 1.285 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001934/0.21, allocations: 145.6 kB / 0.589 GB, free: 1.094 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 5.448e-05/0.21, allocations: 26.61 kB / 0.5891 GB, free: 1.059 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.826e-05/0.2101, allocations: 8.859 kB / 0.5891 GB, free: 1.047 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006121/0.2107, allocations: 433.4 kB / 0.5895 GB, free: 0.5312 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.043e-05/0.2107, allocations: 30.56 kB / 0.5895 GB, free: 0.4922 MB / 494.1 MB Notification: Performance of pre-optimization done (n=1): time 1.242e-06/0.2107, allocations: 4 kB / 0.5895 GB, free: 500 kB / 494.1 MB Notification: Performance of matching and sorting (n=1): time 0.0002113/0.2109, allocations: 33.69 kB / 0.5896 GB, free: 460 kB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.229e-05/0.211, allocations: 51.41 kB / 0.5896 GB, free: 396 kB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.784e-05/0.2111, allocations: 89.86 kB / 0.5897 GB, free: 296 kB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.36e-05/0.2111, allocations: 29.7 kB / 0.5897 GB, free: 260 kB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.26e-05/0.2111, allocations: 80.14 kB / 0.5898 GB, free: 176 kB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.77e-05/0.2112, allocations: 11.78 kB / 0.5898 GB, free: 164 kB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.914e-06/0.2112, allocations: 0 / 0.5898 GB, free: 164 kB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001819/0.2114, allocations: 319 kB / 0.5901 GB, free: 15.84 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.021e-05/0.2114, allocations: 0 / 0.5901 GB, free: 15.84 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.295e-06/0.2114, allocations: 4 kB / 0.5901 GB, free: 15.84 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.981e-05/0.2114, allocations: 0 / 0.5901 GB, free: 15.84 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.547e-06/0.2114, allocations: 3.953 kB / 0.5901 GB, free: 15.83 MB / 0.4981 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001056/0.2115, allocations: 33.69 kB / 0.5901 GB, free: 15.79 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.906e-05/0.2116, allocations: 8 kB / 0.5902 GB, free: 15.79 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.25e-06/0.2116, allocations: 0 / 0.5902 GB, free: 15.79 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.309e-05/0.2116, allocations: 0 / 0.5902 GB, free: 15.79 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.124e-05/0.2116, allocations: 4.094 kB / 0.5902 GB, free: 15.78 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.35e-06/0.2117, allocations: 0 / 0.5902 GB, free: 15.78 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.427e-05/0.2117, allocations: 4 kB / 0.5902 GB, free: 15.78 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.601e-06/0.2117, allocations: 0 / 0.5902 GB, free: 15.78 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 (1): * Single equations (assignments): 1 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.306e-05/0.2118, allocations: 105.8 kB / 0.5903 GB, free: 15.66 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.852e-05/0.2118, allocations: 7.891 kB / 0.5903 GB, free: 15.66 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001206/0.2119, allocations: 44.81 kB / 0.5903 GB, free: 15.61 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.114e-06/0.2119, allocations: 4.031 kB / 0.5903 GB, free: 15.6 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.759e-06/0.212, allocations: 0 / 0.5903 GB, free: 15.6 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.666e-06/0.212, allocations: 0 / 0.5903 GB, free: 15.6 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000105/0.2121, allocations: 145.7 kB / 0.5905 GB, free: 15.41 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.793e-06/0.2121, allocations: 0 / 0.5905 GB, free: 15.41 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.116e-05/0.2121, allocations: 7.953 kB / 0.5905 GB, free: 15.4 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.607e-06/0.2121, allocations: 0 / 0.5905 GB, free: 15.4 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.082e-06/0.2121, allocations: 0 / 0.5905 GB, free: 15.4 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.419e-06/0.2121, allocations: 3.984 kB / 0.5905 GB, free: 15.4 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.665e-06/0.2121, allocations: 0 / 0.5905 GB, free: 15.4 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001132/0.2123, allocations: 73 kB / 0.5905 GB, free: 15.31 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 3.721e-05/0.2123, allocations: 77.11 kB / 0.5906 GB, free: 15.21 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.28e-05/0.2123, allocations: 3.953 kB / 0.5906 GB, free: 15.21 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.404e-06/0.2123, allocations: 0 / 0.5906 GB, free: 15.21 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.882e-05/0.2124, allocations: 0 / 0.5906 GB, free: 15.21 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.074e-06/0.2124, allocations: 8 kB / 0.5906 GB, free: 15.2 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 4.345e-05/0.2124, allocations: 75.28 kB / 0.5907 GB, free: 15.13 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1e-07/0.2124, allocations: 0 / 0.5907 GB, free: 15.13 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.00023/0.2127, allocations: 16.03 kB / 0.5907 GB, free: 15.11 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 (1): * Single equations (assignments): 1 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002306/0.2129, allocations: 111.2 kB / 0.5908 GB, free: 14.99 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 7.573e-05/0.213, allocations: 4 kB / 0.5908 GB, free: 14.99 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.144e-06/0.213, allocations: 0 / 0.5908 GB, free: 14.99 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 9.628e-06/0.213, allocations: 7.938 kB / 0.5908 GB, free: 14.98 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000142/0.2132, allocations: 5.969 kB / 0.5908 GB, free: 14.98 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001971/0.2134, allocations: 78.88 kB / 0.5909 GB, free: 14.88 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000285/0.2137, allocations: 0.6731 MB / 0.5916 GB, free: 14.18 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 2.023e-05/0.2137, allocations: 0 / 0.5916 GB, free: 14.18 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.378e-05/0.2137, allocations: 7.438 kB / 0.5916 GB, free: 14.17 MB / 0.4981 GB Notification: Performance of SimCode: time 3.91e-07/0.2137, allocations: 0 / 0.5916 GB, free: 14.17 MB / 0.4981 GB Notification: Performance of Templates: time 0.002686/0.2164, allocations: 435.5 kB / 0.592 GB, free: 13.75 MB / 0.4981 GB make -j1 -f IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.RegNonZeroPower.makefile (rm -f IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.RegNonZeroPower.pipe ; mkfifo IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.RegNonZeroPower.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.RegNonZeroPower.pipe >> ../files/IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.RegNonZeroPower.sim & ./IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.RegNonZeroPower -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.RegNonZeroPower.pipe 2>&1)