Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_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/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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_IDEAS.Utilities.Math.Examples.PowerLinearized") translateModel(IDEAS.Utilities.Math.Examples.PowerLinearized,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_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.0008611/0.0008611, allocations: 91.84 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.0008856/0.0008856, 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.153/1.153, allocations: 223.3 MB / 240 MB, free: 5.355 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.6608/0.6608, allocations: 132.4 MB / 423.4 MB, free: 2.062 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002835/0.0002835, allocations: 10.16 kB / 0.5034 GB, free: 4.262 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3279/0.3282, allocations: 81.58 MB / 0.5831 GB, free: 3.984 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.PowerLinearized): time 0.001201/0.3294, allocations: 1.147 MB / 0.5842 GB, free: 3.145 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.000212/0.3296, allocations: 90.8 kB / 0.5843 GB, free: 3.082 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.565e-05/0.3297, allocations: 0 / 0.5843 GB, free: 3.082 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 1.153e-05/0.3297, allocations: 0.6094 kB / 0.5843 GB, free: 3.082 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 3.995e-05/0.3297, allocations: 7.844 kB / 0.5843 GB, free: 3.078 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001356/0.3299, allocations: 15.19 kB / 0.5843 GB, free: 3.07 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 4.79e-05/0.3299, allocations: 18.2 kB / 0.5843 GB, free: 3.062 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.548e-05/0.33, allocations: 4.25 kB / 0.5843 GB, free: 3.062 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.236e-05/0.3301, allocations: 13.39 kB / 0.5843 GB, free: 3.055 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.083e-05/0.3301, allocations: 14.78 kB / 0.5844 GB, free: 3.047 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 1.046e-05/0.3301, allocations: 1.125 kB / 0.5844 GB, free: 3.047 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.958e-05/0.3302, allocations: 18.56 kB / 0.5844 GB, free: 3.039 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 1.004e-05/0.3302, allocations: 2.25 kB / 0.5844 GB, free: 3.039 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 2.053e-05/0.3302, allocations: 38.7 kB / 0.5844 GB, free: 2.996 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 6.632e-05/0.3303, allocations: 15.34 kB / 0.5844 GB, free: 2.996 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.379e-06/0.3303, allocations: 0.6094 kB / 0.5844 GB, free: 2.996 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.242e-06/0.3303, allocations: 1.312 kB / 0.5844 GB, free: 2.996 MB / 430.1 MB Notification: Performance of Transformations before backend: time 2.755e-06/0.3303, allocations: 0 / 0.5844 GB, free: 2.996 MB / 430.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.0003092/0.3306, allocations: 347.5 kB / 0.5848 GB, free: 2.637 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.876e-05/0.3306, allocations: 8.875 kB / 0.5848 GB, free: 2.637 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001414/0.3308, allocations: 14.25 kB / 0.5848 GB, free: 2.637 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.602e-05/0.3309, allocations: 173.6 kB / 0.5849 GB, free: 2.43 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.088e-05/0.3309, allocations: 1.5 kB / 0.5849 GB, free: 2.43 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.667e-06/0.3309, allocations: 0.875 kB / 0.585 GB, free: 2.43 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001604/0.3311, allocations: 70.58 kB / 0.585 GB, free: 2.387 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.454e-06/0.3311, allocations: 0 / 0.585 GB, free: 2.387 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.067e-06/0.3311, allocations: 1.281 kB / 0.585 GB, free: 2.387 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.858e-06/0.3311, allocations: 3.938 kB / 0.585 GB, free: 2.383 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001895/0.3313, allocations: 61.95 kB / 0.5851 GB, free: 2.375 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002794/0.3316, allocations: 266.8 kB / 0.5853 GB, free: 2.094 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001502/0.3317, allocations: 61.12 kB / 0.5854 GB, free: 2.062 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.463e-05/0.3318, allocations: 35.2 kB / 0.5854 GB, free: 2.051 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.549e-05/0.3319, allocations: 4.781 kB / 0.5854 GB, free: 2.047 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.474e-05/0.3319, allocations: 39.98 kB / 0.5855 GB, free: 2 MB / 430.1 MB Notification: Performance of pre-optimization done (n=2): time 1.092e-06/0.3319, allocations: 0 / 0.5855 GB, free: 2 MB / 430.1 MB Notification: Performance of matching and sorting (n=2): time 0.0003596/0.3323, allocations: 125.5 kB / 0.5856 GB, free: 1.953 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.102e-05/0.3323, allocations: 51.41 kB / 0.5856 GB, free: 1.891 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.688e-05/0.3323, allocations: 112.5 kB / 0.5857 GB, free: 1.781 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 6.342e-06/0.3324, allocations: 25.7 kB / 0.5858 GB, free: 1.75 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.246e-05/0.3324, allocations: 86.11 kB / 0.5859 GB, free: 1.664 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.236e-05/0.3324, allocations: 11.17 kB / 0.5859 GB, free: 1.656 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.627e-06/0.3324, allocations: 0 / 0.5859 GB, free: 1.656 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 3.366e-05/0.3324, allocations: 316.7 kB / 0.5862 GB, free: 1.34 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.122e-05/0.3325, allocations: 26.09 kB / 0.5862 GB, free: 1.34 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.292e-05/0.3326, allocations: 34.09 kB / 0.5862 GB, free: 1.332 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.764e-05/0.3327, allocations: 33.8 kB / 0.5863 GB, free: 1.324 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.773e-06/0.3327, allocations: 1.891 kB / 0.5863 GB, free: 1.324 MB / 430.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002052/0.3329, allocations: 95.48 kB / 0.5863 GB, free: 1.281 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.191e-05/0.333, allocations: 6.688 kB / 0.5864 GB, free: 1.281 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.728e-06/0.333, allocations: 1.578 kB / 0.5864 GB, free: 1.281 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.066e-05/0.333, allocations: 0 / 0.5864 GB, free: 1.281 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.364e-05/0.3331, allocations: 18.45 kB / 0.5864 GB, free: 1.277 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.629e-06/0.3331, allocations: 0.9688 kB / 0.5864 GB, free: 1.277 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.736e-05/0.3332, allocations: 15.61 kB / 0.5864 GB, free: 1.273 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.663e-06/0.3332, allocations: 4.766 kB / 0.5864 GB, free: 1.27 MB / 430.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 4.21e-05/0.3332, allocations: 115.9 kB / 0.5865 GB, free: 1.148 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.175e-05/0.3332, allocations: 2.062 kB / 0.5865 GB, free: 1.148 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.066e-05/0.3333, allocations: 4.969 kB / 0.5865 GB, free: 1.145 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.896e-06/0.3333, allocations: 5.641 kB / 0.5865 GB, free: 1.141 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.416e-06/0.3333, allocations: 0 / 0.5865 GB, free: 1.141 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.854e-06/0.3333, allocations: 0.9375 kB / 0.5865 GB, free: 1.141 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001091/0.3334, allocations: 172.5 kB / 0.5867 GB, free: 0.9375 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.81e-07/0.3334, allocations: 0 / 0.5867 GB, free: 0.9375 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.371e-05/0.3335, allocations: 18.59 kB / 0.5867 GB, free: 0.9336 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.104e-06/0.3335, allocations: 0.7812 kB / 0.5867 GB, free: 0.9336 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.213e-06/0.3335, allocations: 4.641 kB / 0.5867 GB, free: 0.9297 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.222e-06/0.3335, allocations: 0.8438 kB / 0.5867 GB, free: 0.9297 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.104e-06/0.3335, allocations: 5.359 kB / 0.5867 GB, free: 0.9258 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002216/0.3337, allocations: 194.6 kB / 0.5869 GB, free: 0.7773 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.414e-05/0.3338, allocations: 82.92 kB / 0.587 GB, free: 0.6797 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.231e-05/0.3338, allocations: 0.8906 kB / 0.587 GB, free: 0.6797 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.131e-05/0.3339, allocations: 11.39 kB / 0.587 GB, free: 0.6797 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.639e-05/0.3339, allocations: 2.562 kB / 0.587 GB, free: 0.6797 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.346e-06/0.3339, allocations: 0.75 kB / 0.587 GB, free: 0.6797 MB / 430.1 MB Notification: Performance of sorting global known variables: time 2.139e-05/0.3339, allocations: 86.05 kB / 0.5871 GB, free: 0.6016 MB / 430.1 MB Notification: Performance of sort global known variables: time 2.01e-07/0.3339, allocations: 5.062 kB / 0.5871 GB, free: 0.5977 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.000199/0.3341, allocations: 4.125 kB / 0.5871 GB, free: 0.5977 MB / 430.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 (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 7.225e-05/0.3342, allocations: 94.84 kB / 0.5872 GB, free: 0.5078 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0002267/0.3345, allocations: 70.92 kB / 0.5872 GB, free: 0.4922 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 1.433e-06/0.3345, allocations: 0.9375 kB / 0.5872 GB, free: 0.4922 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 9.515e-05/0.3346, allocations: 32.78 kB / 0.5873 GB, free: 500 kB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002317/0.3348, allocations: 6.844 kB / 0.5873 GB, free: 496 kB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002449/0.3351, allocations: 136.8 kB / 0.5874 GB, free: 376 kB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00015/0.3352, allocations: 0.6776 MB / 0.5881 GB, free: 15.67 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 3.004e-05/0.3353, allocations: 5.188 kB / 0.5881 GB, free: 15.67 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.465e-05/0.3353, allocations: 8.75 kB / 0.5881 GB, free: 15.66 MB / 446.1 MB Notification: Performance of SimCode: time 2.1e-07/0.3353, allocations: 0.5938 kB / 0.5881 GB, free: 15.66 MB / 446.1 MB Notification: Performance of Templates: time 0.002168/0.3375, allocations: 0.4885 MB / 0.5886 GB, free: 15.6 MB / 446.1 MB make -j1 -f IDEAS_IDEAS.Utilities.Math.Examples.PowerLinearized.makefile (rm -f IDEAS_IDEAS.Utilities.Math.Examples.PowerLinearized.pipe ; mkfifo IDEAS_IDEAS.Utilities.Math.Examples.PowerLinearized.pipe ; head -c 1048576 < IDEAS_IDEAS.Utilities.Math.Examples.PowerLinearized.pipe >> ../files/IDEAS_IDEAS.Utilities.Math.Examples.PowerLinearized.sim & ./IDEAS_IDEAS.Utilities.Math.Examples.PowerLinearized -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Utilities.Math.Examples.PowerLinearized.pipe 2>&1)