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.00108/0.00108, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001195/0.001195, allocations: 193 kB / 16.14 MB, free: 6.711 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.535/1.535, allocations: 222.9 MB / 239.8 MB, free: 4.594 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.991/0.991, allocations: 135.1 MB / 425.1 MB, free: 11.92 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002013/0.002013, allocations: 68.33 kB / 0.5047 GB, free: 5.816 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2048/0.2068, allocations: 80.92 MB / 0.5837 GB, free: 5.062 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.RegNonZeroPower): time 0.002967/0.2098, allocations: 1.494 MB / 0.5852 GB, free: 3.551 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.000822/0.2107, allocations: 411.6 kB / 0.5856 GB, free: 3.145 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.422e-05/0.2107, allocations: 0 / 0.5856 GB, free: 3.145 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 3.063e-05/0.2108, allocations: 0 / 0.5856 GB, free: 3.145 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 5.005e-05/0.2108, allocations: 11.92 kB / 0.5856 GB, free: 3.133 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003868/0.2112, allocations: 71.86 kB / 0.5856 GB, free: 3.062 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 6.28e-05/0.2113, allocations: 23.92 kB / 0.5857 GB, free: 3.039 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.947e-05/0.2114, allocations: 7.984 kB / 0.5857 GB, free: 3.031 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.41e-05/0.2115, allocations: 15.92 kB / 0.5857 GB, free: 3.016 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.769e-05/0.2115, allocations: 4 kB / 0.5857 GB, free: 3.012 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.302e-05/0.2115, allocations: 0 / 0.5857 GB, free: 3.012 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003734/0.2119, allocations: 287.6 kB / 0.586 GB, free: 2.73 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 1.686e-05/0.2119, allocations: 4 kB / 0.586 GB, free: 2.727 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 2.494e-05/0.2119, allocations: 3.938 kB / 0.586 GB, free: 2.723 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002012/0.2122, allocations: 107.8 kB / 0.5861 GB, free: 2.617 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.31e-06/0.2122, allocations: 0 / 0.5861 GB, free: 2.617 MB / 494.1 MB Notification: Performance of FrontEnd: time 8.62e-07/0.2122, allocations: 0 / 0.5861 GB, free: 2.617 MB / 494.1 MB Notification: Performance of Transformations before backend: time 4.949e-06/0.2122, allocations: 0 / 0.5861 GB, free: 2.617 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.0004868/0.2127, allocations: 367.7 kB / 0.5864 GB, free: 2.207 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.695e-05/0.2127, allocations: 12.03 kB / 0.5864 GB, free: 2.195 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.657e-05/0.2128, allocations: 4.938 kB / 0.5864 GB, free: 2.191 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001258/0.2129, allocations: 172.3 kB / 0.5866 GB, free: 1.984 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.294e-05/0.2129, allocations: 4.375 kB / 0.5866 GB, free: 1.98 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.22e-05/0.213, allocations: 384 / 0.5866 GB, free: 1.98 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001834/0.2131, allocations: 50.23 kB / 0.5866 GB, free: 1.926 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.127e-06/0.2132, allocations: 4.125 kB / 0.5867 GB, free: 1.922 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.114e-05/0.2132, allocations: 3.938 kB / 0.5867 GB, free: 1.918 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.442e-06/0.2132, allocations: 0 / 0.5867 GB, free: 1.918 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00017/0.2134, allocations: 43.94 kB / 0.5867 GB, free: 1.875 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003275/0.2137, allocations: 248.9 kB / 0.5869 GB, free: 1.582 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001299/0.2138, allocations: 42.48 kB / 0.587 GB, free: 1.531 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.655e-05/0.2139, allocations: 20.91 kB / 0.587 GB, free: 1.508 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006745/0.2146, allocations: 457.5 kB / 0.5874 GB, free: 0.9688 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.91e-05/0.2147, allocations: 42.48 kB / 0.5875 GB, free: 0.918 MB / 494.1 MB Notification: Performance of pre-optimization done (n=2): time 1.042e-06/0.2147, allocations: 4 kB / 0.5875 GB, free: 0.9141 MB / 494.1 MB Notification: Performance of matching and sorting (n=2): time 0.0003711/0.2151, allocations: 73.66 kB / 0.5875 GB, free: 0.8359 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.288e-05/0.2151, allocations: 59.41 kB / 0.5876 GB, free: 0.7656 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.638e-05/0.2152, allocations: 101.8 kB / 0.5877 GB, free: 0.6562 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.261e-05/0.2152, allocations: 25.7 kB / 0.5877 GB, free: 0.625 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.912e-05/0.2153, allocations: 91.98 kB / 0.5878 GB, free: 0.5312 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.832e-05/0.2153, allocations: 12.05 kB / 0.5878 GB, free: 0.5195 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.378e-05/0.2153, allocations: 17.72 kB / 0.5878 GB, free: 0.4961 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001099/0.2154, allocations: 310.8 kB / 0.5881 GB, free: 188 kB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.294e-05/0.2155, allocations: 15.98 kB / 0.5882 GB, free: 172 kB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.44e-05/0.2156, allocations: 23.91 kB / 0.5882 GB, free: 148 kB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001434/0.2158, allocations: 44.89 kB / 0.5882 GB, free: 100 kB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.613e-06/0.2158, allocations: 0 / 0.5882 GB, free: 100 kB / 494.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002083/0.216, allocations: 73.5 kB / 0.5883 GB, free: 20 kB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.363e-05/0.216, allocations: 4 kB / 0.5883 GB, free: 16 kB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.127e-06/0.216, allocations: 0 / 0.5883 GB, free: 16 kB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.037e-05/0.216, allocations: 0 / 0.5883 GB, free: 16 kB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.204e-05/0.2161, allocations: 11.98 kB / 0.5883 GB, free: 4 kB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.679e-06/0.2161, allocations: 0 / 0.5883 GB, free: 4 kB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.068e-05/0.2162, allocations: 8.078 kB / 0.5883 GB, free: 15.99 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.11e-06/0.2162, allocations: 0 / 0.5883 GB, free: 15.99 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 7.389e-05/0.2163, allocations: 109.8 kB / 0.5884 GB, free: 15.88 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.227e-05/0.2163, allocations: 11.94 kB / 0.5884 GB, free: 15.86 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002225/0.2165, allocations: 73.12 kB / 0.5885 GB, free: 15.79 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.914e-06/0.2166, allocations: 0 / 0.5885 GB, free: 15.79 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.567e-06/0.2166, allocations: 4.031 kB / 0.5885 GB, free: 15.78 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.385e-06/0.2166, allocations: 0 / 0.5885 GB, free: 15.78 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001552/0.2167, allocations: 165.6 kB / 0.5887 GB, free: 15.57 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.243e-06/0.2167, allocations: 256 / 0.5887 GB, free: 15.57 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.879e-05/0.2168, allocations: 12 kB / 0.5887 GB, free: 15.56 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.565e-06/0.2168, allocations: 0 / 0.5887 GB, free: 15.56 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.011e-06/0.2168, allocations: 0 / 0.5887 GB, free: 15.56 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.553e-06/0.2168, allocations: 0 / 0.5887 GB, free: 15.56 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.975e-06/0.2168, allocations: 3.984 kB / 0.5887 GB, free: 15.55 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002539/0.2171, allocations: 175.3 kB / 0.5888 GB, free: 15.37 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 3.099e-05/0.2171, allocations: 81.09 kB / 0.5889 GB, free: 15.27 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.203e-05/0.2172, allocations: 0 / 0.5889 GB, free: 15.27 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.186e-05/0.2172, allocations: 7.938 kB / 0.5889 GB, free: 15.26 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.869e-05/0.2173, allocations: 3.984 kB / 0.5889 GB, free: 15.26 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.941e-06/0.2173, allocations: 4 kB / 0.5889 GB, free: 15.25 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 4.304e-05/0.2174, allocations: 87.31 kB / 0.589 GB, free: 15.17 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.4e-07/0.2174, allocations: 3.938 kB / 0.589 GB, free: 15.16 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002297/0.2176, allocations: 12 kB / 0.589 GB, free: 15.15 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.0001592/0.2178, allocations: 111.2 kB / 0.5891 GB, free: 15.04 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0002233/0.218, allocations: 31.97 kB / 0.5892 GB, free: 15 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.314e-06/0.218, allocations: 0 / 0.5892 GB, free: 15 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 9.12e-05/0.2181, allocations: 31.97 kB / 0.5892 GB, free: 14.97 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002873/0.2184, allocations: 9.812 kB / 0.5892 GB, free: 14.96 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002552/0.2187, allocations: 114.1 kB / 0.5893 GB, free: 14.83 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002316/0.2189, allocations: 0.677 MB / 0.59 GB, free: 14.13 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 2.377e-05/0.2189, allocations: 4 kB / 0.59 GB, free: 14.12 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.819e-05/0.219, allocations: 11.5 kB / 0.59 GB, free: 14.11 MB / 0.4981 GB Notification: Performance of SimCode: time 4.1e-07/0.219, allocations: 0 / 0.59 GB, free: 14.11 MB / 0.4981 GB Notification: Performance of Templates: time 0.002501/0.2215, allocations: 0.6422 MB / 0.5906 GB, free: 13.48 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)