Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.Utilities.Math.Functions.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.Functions.Examples.PowerLinearized,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Utilities.Math.Functions.Examples.PowerLinearized") translateModel(IDEAS.Utilities.Math.Functions.Examples.PowerLinearized,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Utilities.Math.Functions.Examples.PowerLinearized") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000681/0.000681, allocations: 90.91 kB / 15.06 MB, free: 1.094 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.0007443/0.0007444, allocations: 172.7 kB / 15.95 MB, free: 204 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.152/1.152, allocations: 223.3 MB / 240 MB, free: 5.434 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.6493/0.6493, allocations: 132.4 MB / 423.4 MB, free: 2.07 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002626/0.0002626, allocations: 8.562 kB / 0.5034 GB, free: 4.242 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3299/0.3302, allocations: 81.58 MB / 0.5831 GB, free: 3.977 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.PowerLinearized): time 0.0006198/0.3308, allocations: 320.3 kB / 0.5834 GB, free: 3.762 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002207/0.3311, allocations: 80.64 kB / 0.5835 GB, free: 3.711 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.332e-05/0.3311, allocations: 3.344 kB / 0.5835 GB, free: 3.711 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 8.175e-06/0.3311, allocations: 0 / 0.5835 GB, free: 3.711 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 3.875e-05/0.3312, allocations: 0 / 0.5835 GB, free: 3.711 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001474/0.3313, allocations: 19.58 kB / 0.5835 GB, free: 3.699 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 3.776e-05/0.3314, allocations: 7.812 kB / 0.5835 GB, free: 3.695 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.576e-05/0.3314, allocations: 1.781 kB / 0.5835 GB, free: 3.695 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.663e-05/0.3314, allocations: 4.781 kB / 0.5835 GB, free: 3.695 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.393e-05/0.3315, allocations: 7.656 kB / 0.5835 GB, free: 3.691 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 1.046e-05/0.3315, allocations: 0.875 kB / 0.5835 GB, free: 3.691 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.955e-05/0.3316, allocations: 13.69 kB / 0.5835 GB, free: 3.688 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 6.622e-06/0.3316, allocations: 5.328 kB / 0.5835 GB, free: 3.684 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 1.888e-05/0.3316, allocations: 26.86 kB / 0.5836 GB, free: 3.652 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 5.346e-05/0.3317, allocations: 15.45 kB / 0.5836 GB, free: 3.645 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.238e-06/0.3317, allocations: 0 / 0.5836 GB, free: 3.645 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.192e-06/0.3317, allocations: 0 / 0.5836 GB, free: 3.645 MB / 430.1 MB Notification: Performance of Transformations before backend: time 3.106e-06/0.3317, allocations: 1.125 kB / 0.5836 GB, free: 3.645 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.0002175/0.3319, allocations: 318 kB / 0.5839 GB, free: 3.293 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.209e-05/0.3319, allocations: 9.062 kB / 0.5839 GB, free: 3.293 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001307/0.3321, allocations: 9.047 kB / 0.5839 GB, free: 3.293 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 4.962e-05/0.3321, allocations: 168.2 kB / 0.5841 GB, free: 3.09 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.718e-05/0.3321, allocations: 5.188 kB / 0.5841 GB, free: 3.086 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.883e-06/0.3322, allocations: 1.094 kB / 0.5841 GB, free: 3.086 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.578e-05/0.3323, allocations: 39.08 kB / 0.5841 GB, free: 3.051 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.293e-06/0.3323, allocations: 0.6875 kB / 0.5841 GB, free: 3.051 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.205e-06/0.3323, allocations: 0.6562 kB / 0.5841 GB, free: 3.051 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.178e-06/0.3323, allocations: 1.469 kB / 0.5841 GB, free: 3.051 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.295e-05/0.3324, allocations: 10.97 kB / 0.5841 GB, free: 3.051 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 9.375e-05/0.3325, allocations: 158.7 kB / 0.5843 GB, free: 2.852 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001319/0.3326, allocations: 51.2 kB / 0.5843 GB, free: 2.812 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.732e-05/0.3327, allocations: 14.91 kB / 0.5843 GB, free: 2.801 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.437e-05/0.3327, allocations: 0.8438 kB / 0.5843 GB, free: 2.801 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.349e-05/0.3327, allocations: 32.09 kB / 0.5844 GB, free: 2.762 MB / 430.1 MB Notification: Performance of pre-optimization done (n=3): time 9.62e-07/0.3327, allocations: 0 / 0.5844 GB, free: 2.762 MB / 430.1 MB Notification: Performance of matching and sorting (n=3): time 0.0001848/0.3329, allocations: 60.53 kB / 0.5844 GB, free: 2.719 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.582e-05/0.3329, allocations: 56.94 kB / 0.5845 GB, free: 2.652 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 1.516e-05/0.3329, allocations: 89.86 kB / 0.5846 GB, free: 2.555 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 6.212e-06/0.333, allocations: 25.7 kB / 0.5846 GB, free: 2.523 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.578e-06/0.333, allocations: 81.05 kB / 0.5847 GB, free: 2.441 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.462e-05/0.333, allocations: 7.688 kB / 0.5847 GB, free: 2.438 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.327e-06/0.333, allocations: 0.9688 kB / 0.5847 GB, free: 2.438 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 4.188e-05/0.3331, allocations: 320.2 kB / 0.585 GB, free: 2.117 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.285e-05/0.3331, allocations: 13.78 kB / 0.585 GB, free: 2.109 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.499e-05/0.3331, allocations: 5.766 kB / 0.585 GB, free: 2.109 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.771e-05/0.3332, allocations: 10.31 kB / 0.585 GB, free: 2.105 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.543e-06/0.3332, allocations: 0 / 0.585 GB, free: 2.105 MB / 430.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 8.878e-05/0.3333, allocations: 48.47 kB / 0.585 GB, free: 2.07 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.113e-05/0.3333, allocations: 4.625 kB / 0.585 GB, free: 2.07 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.516e-06/0.3333, allocations: 0 / 0.585 GB, free: 2.07 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.168e-05/0.3333, allocations: 1 kB / 0.5851 GB, free: 2.07 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000317/0.3336, allocations: 48.44 kB / 0.5851 GB, free: 2.062 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008166/0.3345, allocations: 1.302 MB / 0.5864 GB, free: 0.7227 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.323e-05/0.3345, allocations: 2.078 kB / 0.5864 GB, free: 0.7227 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.128e-06/0.3345, allocations: 8.094 kB / 0.5864 GB, free: 0.7148 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 (3): * 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): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 4.44e-05/0.3346, allocations: 114.3 kB / 0.5865 GB, free: 0.5977 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.472e-06/0.3346, allocations: 0.8438 kB / 0.5865 GB, free: 0.5977 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.25e-05/0.3346, allocations: 9.234 kB / 0.5865 GB, free: 0.5859 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.092e-06/0.3346, allocations: 3.938 kB / 0.5865 GB, free: 0.582 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.402e-06/0.3346, allocations: 0.6094 kB / 0.5865 GB, free: 0.582 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.954e-06/0.3346, allocations: 1.391 kB / 0.5865 GB, free: 0.582 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 4.999e-05/0.3346, allocations: 164.2 kB / 0.5867 GB, free: 388 kB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.21e-07/0.3347, allocations: 0 / 0.5867 GB, free: 388 kB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002881/0.3349, allocations: 48.55 kB / 0.5867 GB, free: 384 kB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.186e-06/0.335, allocations: 4.672 kB / 0.5867 GB, free: 380 kB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.052e-06/0.335, allocations: 1.266 kB / 0.5867 GB, free: 380 kB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008767/0.3359, allocations: 1.309 MB / 0.588 GB, free: 15.02 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.102e-06/0.3359, allocations: 0 / 0.588 GB, free: 15.02 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000114/0.336, allocations: 73.33 kB / 0.5881 GB, free: 14.95 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.648e-05/0.336, allocations: 77.81 kB / 0.5881 GB, free: 14.86 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.035e-06/0.336, allocations: 5.453 kB / 0.5881 GB, free: 14.86 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.433e-05/0.3361, allocations: 1.812 kB / 0.5881 GB, free: 14.86 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.66e-05/0.3361, allocations: 7.766 kB / 0.5881 GB, free: 14.85 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.785e-06/0.3361, allocations: 0 / 0.5881 GB, free: 14.85 MB / 446.1 MB Notification: Performance of sorting global known variables: time 2.143e-05/0.3361, allocations: 76.28 kB / 0.5882 GB, free: 14.78 MB / 446.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3361, allocations: 0 / 0.5882 GB, free: 14.78 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0001726/0.3363, allocations: 3.188 kB / 0.5882 GB, free: 14.78 MB / 446.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 (3): * 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): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001182/0.3364, allocations: 98.86 kB / 0.5883 GB, free: 14.69 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0003717/0.3368, allocations: 70.36 kB / 0.5884 GB, free: 14.68 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.194e-06/0.3368, allocations: 0 / 0.5884 GB, free: 14.68 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001991/0.337, allocations: 41.58 kB / 0.5884 GB, free: 14.67 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001198/0.3371, allocations: 6.297 kB / 0.5884 GB, free: 14.66 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002357/0.3374, allocations: 93.75 kB / 0.5885 GB, free: 14.56 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001901/0.3376, allocations: 0.6749 MB / 0.5892 GB, free: 13.87 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 3.105e-05/0.3376, allocations: 1.594 kB / 0.5892 GB, free: 13.87 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.165e-05/0.3377, allocations: 14.44 kB / 0.5892 GB, free: 13.86 MB / 446.1 MB Notification: Performance of SimCode: time 1.91e-07/0.3377, allocations: 0 / 0.5892 GB, free: 13.86 MB / 446.1 MB Notification: Performance of Templates: time 0.001996/0.3397, allocations: 394.3 kB / 0.5896 GB, free: 13.79 MB / 446.1 MB make -j1 -f IDEAS_IDEAS.Utilities.Math.Functions.Examples.PowerLinearized.makefile (rm -f IDEAS_IDEAS.Utilities.Math.Functions.Examples.PowerLinearized.pipe ; mkfifo IDEAS_IDEAS.Utilities.Math.Functions.Examples.PowerLinearized.pipe ; head -c 1048576 < IDEAS_IDEAS.Utilities.Math.Functions.Examples.PowerLinearized.pipe >> ../files/IDEAS_IDEAS.Utilities.Math.Functions.Examples.PowerLinearized.sim & ./IDEAS_IDEAS.Utilities.Math.Functions.Examples.PowerLinearized -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Utilities.Math.Functions.Examples.PowerLinearized.pipe 2>&1)