Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Utilities.Math.Examples.PowerLinearized.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.PowerLinearized,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Utilities.Math.Examples.PowerLinearized") translateModel(IDEAS.Utilities.Math.Examples.PowerLinearized,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Utilities.Math.Examples.PowerLinearized") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001294/0.001294, allocations: 107.4 kB / 15.34 MB, free: 0.5 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.001254/0.001254, allocations: 194.9 kB / 16.26 MB, free: 6.637 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.36/1.36, allocations: 222.9 MB / 239.9 MB, free: 4.531 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9516/0.9516, allocations: 135.1 MB / 425.2 MB, free: 11.92 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001265/0.001265, allocations: 67.8 kB / 0.5049 GB, free: 5.684 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1883/0.1896, allocations: 80.93 MB / 0.5839 GB, free: 4.926 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.PowerLinearized): time 0.002708/0.1923, allocations: 1.492 MB / 0.5853 GB, free: 3.414 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002625/0.1926, allocations: 88.66 kB / 0.5854 GB, free: 3.324 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.253e-05/0.1927, allocations: 0 / 0.5854 GB, free: 3.324 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 3.904e-05/0.1927, allocations: 3.938 kB / 0.5854 GB, free: 3.32 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 4.734e-05/0.1928, allocations: 3.984 kB / 0.5854 GB, free: 3.316 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002035/0.193, allocations: 15.98 kB / 0.5855 GB, free: 3.301 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 8.904e-05/0.1931, allocations: 35.86 kB / 0.5855 GB, free: 3.266 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.319e-05/0.1932, allocations: 4 kB / 0.5855 GB, free: 3.262 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.978e-05/0.1932, allocations: 11.98 kB / 0.5855 GB, free: 3.25 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.829e-05/0.1933, allocations: 15.92 kB / 0.5855 GB, free: 3.234 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.25e-05/0.1933, allocations: 0 / 0.5855 GB, free: 3.234 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.43e-05/0.1933, allocations: 15.98 kB / 0.5855 GB, free: 3.219 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 1.383e-05/0.1934, allocations: 4 kB / 0.5855 GB, free: 3.215 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 2.727e-05/0.1934, allocations: 11.92 kB / 0.5855 GB, free: 3.203 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001014/0.1935, allocations: 31.89 kB / 0.5856 GB, free: 3.172 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.903e-06/0.1935, allocations: 0 / 0.5856 GB, free: 3.172 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.333e-06/0.1935, allocations: 7.875 kB / 0.5856 GB, free: 3.164 MB / 494.1 MB Notification: Performance of Transformations before backend: time 5.27e-06/0.1935, allocations: 8 kB / 0.5856 GB, free: 3.156 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.0004494/0.194, allocations: 339.7 kB / 0.5859 GB, free: 2.773 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.095e-05/0.194, allocations: 12.03 kB / 0.5859 GB, free: 2.762 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001598/0.1942, allocations: 8.922 kB / 0.5859 GB, free: 2.754 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001214/0.1943, allocations: 168.3 kB / 0.5861 GB, free: 2.551 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.815e-05/0.1944, allocations: 4.312 kB / 0.5861 GB, free: 2.547 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.209e-05/0.1944, allocations: 384 / 0.5861 GB, free: 2.547 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000187/0.1946, allocations: 66.22 kB / 0.5862 GB, free: 2.477 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.973e-06/0.1946, allocations: 192 / 0.5862 GB, free: 2.477 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.273e-05/0.1946, allocations: 7.938 kB / 0.5862 GB, free: 2.469 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.098e-06/0.1946, allocations: 0 / 0.5862 GB, free: 2.469 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000195/0.1948, allocations: 43.95 kB / 0.5862 GB, free: 2.426 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003802/0.1952, allocations: 268.9 kB / 0.5865 GB, free: 2.113 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000167/0.1954, allocations: 50.48 kB / 0.5865 GB, free: 2.055 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001034/0.1955, allocations: 28.89 kB / 0.5865 GB, free: 2.023 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.36e-05/0.1955, allocations: 0 / 0.5865 GB, free: 2.023 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.271e-05/0.1955, allocations: 42.56 kB / 0.5866 GB, free: 1.973 MB / 494.1 MB Notification: Performance of pre-optimization done (n=2): time 8.62e-07/0.1955, allocations: 0 / 0.5866 GB, free: 1.973 MB / 494.1 MB Notification: Performance of matching and sorting (n=2): time 0.0003921/0.1959, allocations: 97.56 kB / 0.5867 GB, free: 1.871 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.29e-05/0.196, allocations: 55.41 kB / 0.5867 GB, free: 1.805 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.32e-05/0.1961, allocations: 101.8 kB / 0.5868 GB, free: 1.695 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.307e-05/0.1961, allocations: 29.7 kB / 0.5869 GB, free: 1.66 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.937e-05/0.1961, allocations: 92.17 kB / 0.5869 GB, free: 1.566 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.764e-05/0.1962, allocations: 3.938 kB / 0.587 GB, free: 1.562 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.677e-05/0.1962, allocations: 21.7 kB / 0.587 GB, free: 1.535 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001066/0.1963, allocations: 310.8 kB / 0.5873 GB, free: 1.223 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000104/0.1964, allocations: 23.97 kB / 0.5873 GB, free: 1.199 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.223e-05/0.1965, allocations: 23.98 kB / 0.5873 GB, free: 1.176 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001866/0.1967, allocations: 48.88 kB / 0.5874 GB, free: 1.125 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.552e-06/0.1967, allocations: 256 / 0.5874 GB, free: 1.125 MB / 494.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002309/0.197, allocations: 93.42 kB / 0.5875 GB, free: 1.027 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.431e-05/0.197, allocations: 4 kB / 0.5875 GB, free: 1.023 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.742e-06/0.197, allocations: 8.031 kB / 0.5875 GB, free: 1.016 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.083e-05/0.197, allocations: 0 / 0.5875 GB, free: 1.016 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001125/0.1971, allocations: 15.97 kB / 0.5875 GB, free: 1 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.95e-06/0.1972, allocations: 0 / 0.5875 GB, free: 1 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.505e-05/0.1972, allocations: 11.98 kB / 0.5875 GB, free: 0.9883 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.211e-06/0.1972, allocations: 0 / 0.5875 GB, free: 0.9883 MB / 494.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 (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.82e-05/0.1973, allocations: 113.8 kB / 0.5876 GB, free: 0.8672 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.423e-05/0.1973, allocations: 4 kB / 0.5876 GB, free: 0.8633 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.89e-05/0.1974, allocations: 7.531 kB / 0.5876 GB, free: 0.8516 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.624e-06/0.1974, allocations: 7.875 kB / 0.5876 GB, free: 0.8438 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.457e-06/0.1974, allocations: 0 / 0.5876 GB, free: 0.8438 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.104e-06/0.1974, allocations: 0 / 0.5876 GB, free: 0.8438 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001565/0.1976, allocations: 173.6 kB / 0.5878 GB, free: 0.625 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.987e-06/0.1976, allocations: 3.984 kB / 0.5878 GB, free: 0.6211 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.59e-05/0.1977, allocations: 8 kB / 0.5878 GB, free: 0.6133 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.236e-06/0.1977, allocations: 3.984 kB / 0.5878 GB, free: 0.6094 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.394e-06/0.1977, allocations: 0 / 0.5878 GB, free: 0.6094 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.725e-06/0.1977, allocations: 3.938 kB / 0.5878 GB, free: 0.6055 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.92e-07/0.1977, allocations: 4 kB / 0.5878 GB, free: 0.6016 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002661/0.198, allocations: 175.4 kB / 0.588 GB, free: 424 kB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.443e-05/0.198, allocations: 81.09 kB / 0.588 GB, free: 324 kB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.532e-05/0.198, allocations: 8 kB / 0.5881 GB, free: 316 kB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.848e-05/0.1981, allocations: 4 kB / 0.5881 GB, free: 312 kB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.42e-05/0.1982, allocations: 8.016 kB / 0.5881 GB, free: 304 kB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.977e-06/0.1982, allocations: 0 / 0.5881 GB, free: 304 kB / 494.1 MB Notification: Performance of sorting global known variables: time 3.676e-05/0.1982, allocations: 83.28 kB / 0.5881 GB, free: 220 kB / 494.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.1982, allocations: 0 / 0.5881 GB, free: 220 kB / 494.1 MB Notification: Performance of remove unused functions: time 0.0002132/0.1984, allocations: 8 kB / 0.5882 GB, free: 212 kB / 494.1 MB 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.0001093/0.1986, allocations: 99.23 kB / 0.5882 GB, free: 104 kB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0002498/0.1988, allocations: 55.89 kB / 0.5883 GB, free: 48 kB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.532e-06/0.1988, allocations: 0 / 0.5883 GB, free: 48 kB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001059/0.1989, allocations: 27.97 kB / 0.5883 GB, free: 20 kB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002697/0.1992, allocations: 3.938 kB / 0.5883 GB, free: 16 kB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003682/0.1996, allocations: 137.7 kB / 0.5885 GB, free: 15.85 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002612/0.1999, allocations: 0.6768 MB / 0.5891 GB, free: 15.15 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 3.079e-05/0.1999, allocations: 0 / 0.5891 GB, free: 15.15 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.085e-05/0.1999, allocations: 7.438 kB / 0.5891 GB, free: 15.14 MB / 0.4981 GB Notification: Performance of SimCode: time 2.5e-07/0.1999, allocations: 0 / 0.5891 GB, free: 15.14 MB / 0.4981 GB Notification: Performance of Templates: time 0.002482/0.2024, allocations: 0.5259 MB / 0.5896 GB, free: 14.62 MB / 0.4981 GB make -j1 -f IDEAS_dev_IDEAS.Utilities.Math.Examples.PowerLinearized.makefile (rm -f IDEAS_dev_IDEAS.Utilities.Math.Examples.PowerLinearized.pipe ; mkfifo IDEAS_dev_IDEAS.Utilities.Math.Examples.PowerLinearized.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Utilities.Math.Examples.PowerLinearized.pipe >> ../files/IDEAS_dev_IDEAS.Utilities.Math.Examples.PowerLinearized.sim & ./IDEAS_dev_IDEAS.Utilities.Math.Examples.PowerLinearized -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Utilities.Math.Examples.PowerLinearized.pipe 2>&1)