Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_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-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.PowerLinearized,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.PowerLinearized") translateModel(IDEAS.Utilities.Math.Functions.Examples.PowerLinearized,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_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.001517/0.001518, allocations: 105.3 kB / 16.35 MB, free: 5.824 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.001633/0.001633, allocations: 190.5 kB / 17.29 MB, free: 5.48 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.348/1.348, allocations: 222.9 MB / 241 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.837/0.837, allocations: 135.1 MB / 426.3 MB, free: 4.137 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001256/0.001256, allocations: 64.14 kB / 0.5068 GB, free: 7.664 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3374/0.3387, allocations: 80.91 MB / 0.5858 GB, free: 25.39 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.PowerLinearized): time 0.001784/0.3405, allocations: 0.5883 MB / 0.5863 GB, free: 24.96 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002532/0.3408, allocations: 93.81 kB / 0.5864 GB, free: 24.89 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.63e-05/0.3408, allocations: 0 / 0.5864 GB, free: 24.89 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 1.047e-05/0.3409, allocations: 0 / 0.5864 GB, free: 24.89 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 4.306e-05/0.3409, allocations: 1.969 kB / 0.5864 GB, free: 24.89 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002149/0.3412, allocations: 17.58 kB / 0.5864 GB, free: 24.88 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 4.826e-05/0.3412, allocations: 3.906 kB / 0.5864 GB, free: 24.88 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.014e-05/0.3413, allocations: 3.219 kB / 0.5865 GB, free: 24.88 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.275e-05/0.3413, allocations: 14.61 kB / 0.5865 GB, free: 24.86 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.27e-05/0.3414, allocations: 6.484 kB / 0.5865 GB, free: 24.86 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.104e-05/0.3414, allocations: 0 / 0.5865 GB, free: 24.86 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.396e-05/0.3415, allocations: 16.83 kB / 0.5865 GB, free: 24.85 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 1.275e-05/0.3415, allocations: 0 / 0.5865 GB, free: 24.85 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 2.294e-05/0.3415, allocations: 0.9062 kB / 0.5865 GB, free: 24.85 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 8.896e-05/0.3416, allocations: 18.5 kB / 0.5865 GB, free: 24.84 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.32e-06/0.3416, allocations: 1.25 kB / 0.5865 GB, free: 24.84 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.232e-06/0.3416, allocations: 0 / 0.5865 GB, free: 24.84 MB / 446.1 MB Notification: Performance of Transformations before backend: time 5.079e-06/0.3416, allocations: 1.719 kB / 0.5865 GB, free: 24.84 MB / 446.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.0003057/0.3419, allocations: 325.4 kB / 0.5868 GB, free: 24.48 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.593e-05/0.342, allocations: 10.64 kB / 0.5868 GB, free: 24.48 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001833/0.3422, allocations: 8.953 kB / 0.5868 GB, free: 24.48 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 5.556e-05/0.3422, allocations: 161.6 kB / 0.587 GB, free: 24.28 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.094e-05/0.3423, allocations: 1.344 kB / 0.587 GB, free: 24.28 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.928e-06/0.3423, allocations: 2.094 kB / 0.587 GB, free: 24.28 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001208/0.3424, allocations: 45.22 kB / 0.587 GB, free: 24.24 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.436e-06/0.3424, allocations: 192 / 0.587 GB, free: 24.24 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.06e-05/0.3424, allocations: 7.922 kB / 0.587 GB, free: 24.23 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.691e-06/0.3425, allocations: 2.75 kB / 0.5871 GB, free: 24.23 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.179e-05/0.3425, allocations: 14.42 kB / 0.5871 GB, free: 24.22 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001113/0.3427, allocations: 152.3 kB / 0.5872 GB, free: 24.03 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001435/0.3428, allocations: 43.44 kB / 0.5873 GB, free: 23.99 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.861e-05/0.3429, allocations: 13.73 kB / 0.5873 GB, free: 23.98 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.623e-05/0.3429, allocations: 2.812 kB / 0.5873 GB, free: 23.98 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.33e-05/0.3429, allocations: 35.72 kB / 0.5873 GB, free: 23.94 MB / 446.1 MB Notification: Performance of pre-optimization done (n=3): time 1.162e-06/0.3429, allocations: 0 / 0.5873 GB, free: 23.94 MB / 446.1 MB Notification: Performance of matching and sorting (n=3): time 0.0001763/0.3431, allocations: 67.08 kB / 0.5874 GB, free: 23.88 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2e-05/0.3431, allocations: 52.75 kB / 0.5874 GB, free: 23.82 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 1.265e-05/0.3431, allocations: 89.86 kB / 0.5875 GB, free: 23.72 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 5.4e-06/0.3431, allocations: 25.7 kB / 0.5875 GB, free: 23.69 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.935e-06/0.3431, allocations: 80.14 kB / 0.5876 GB, free: 23.61 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.75e-05/0.3432, allocations: 12.25 kB / 0.5876 GB, free: 23.6 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.723e-05/0.3432, allocations: 17.56 kB / 0.5876 GB, free: 23.58 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 3.318e-05/0.3433, allocations: 311.5 kB / 0.5879 GB, free: 23.27 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.624e-05/0.3433, allocations: 10.2 kB / 0.5879 GB, free: 23.27 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.883e-05/0.3433, allocations: 8.344 kB / 0.5879 GB, free: 23.26 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.658e-05/0.3434, allocations: 29.44 kB / 0.588 GB, free: 23.24 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.462e-06/0.3434, allocations: 1.625 kB / 0.588 GB, free: 23.24 MB / 446.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 9.281e-05/0.3435, allocations: 46.03 kB / 0.588 GB, free: 23.2 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.347e-05/0.3435, allocations: 7.781 kB / 0.588 GB, free: 23.2 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.477e-06/0.3435, allocations: 0 / 0.588 GB, free: 23.2 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.283e-05/0.3436, allocations: 5.938 kB / 0.588 GB, free: 23.2 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003691/0.3439, allocations: 48.55 kB / 0.5881 GB, free: 23.17 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008895/0.3448, allocations: 1.405 MB / 0.5894 GB, free: 21.7 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.837e-05/0.3449, allocations: 1.312 kB / 0.5895 GB, free: 21.7 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.37e-06/0.3449, allocations: 1.531 kB / 0.5895 GB, free: 21.7 MB / 446.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 (not torn): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 4.96e-05/0.3449, allocations: 111 kB / 0.5896 GB, free: 21.59 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.987e-06/0.345, allocations: 4.484 kB / 0.5896 GB, free: 21.58 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.382e-05/0.345, allocations: 9.188 kB / 0.5896 GB, free: 21.57 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.593e-06/0.345, allocations: 0 / 0.5896 GB, free: 21.57 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.022e-06/0.345, allocations: 1.594 kB / 0.5896 GB, free: 21.57 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.545e-06/0.345, allocations: 2.531 kB / 0.5896 GB, free: 21.57 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.594e-05/0.3451, allocations: 156.5 kB / 0.5897 GB, free: 21.37 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.132e-06/0.3451, allocations: 1.312 kB / 0.5897 GB, free: 21.37 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003369/0.3454, allocations: 49.86 kB / 0.5898 GB, free: 21.35 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.134e-06/0.3454, allocations: 3.938 kB / 0.5898 GB, free: 21.34 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.392e-06/0.3454, allocations: 1.781 kB / 0.5898 GB, free: 21.34 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007882/0.3462, allocations: 1.403 MB / 0.5911 GB, free: 19.88 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.663e-06/0.3462, allocations: 2.188 kB / 0.5912 GB, free: 19.88 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.975e-05/0.3463, allocations: 75.69 kB / 0.5912 GB, free: 19.8 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.141e-05/0.3464, allocations: 80.91 kB / 0.5913 GB, free: 19.7 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.065e-06/0.3464, allocations: 11.2 kB / 0.5913 GB, free: 19.7 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.688e-05/0.3464, allocations: 9.406 kB / 0.5913 GB, free: 19.69 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.45e-05/0.3464, allocations: 1.344 kB / 0.5913 GB, free: 19.69 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.216e-06/0.3464, allocations: 4.844 kB / 0.5913 GB, free: 19.68 MB / 446.1 MB Notification: Performance of sorting global known variables: time 1.009e-05/0.3464, allocations: 76.06 kB / 0.5914 GB, free: 19.61 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3465, allocations: 1 kB / 0.5914 GB, free: 19.61 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0001938/0.3467, allocations: 3.062 kB / 0.5914 GB, free: 19.61 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 (not torn): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 8.405e-05/0.3467, allocations: 100.8 kB / 0.5915 GB, free: 19.52 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0004181/0.3472, allocations: 65.34 kB / 0.5916 GB, free: 19.49 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.976e-06/0.3472, allocations: 0 / 0.5916 GB, free: 19.49 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000223/0.3474, allocations: 41.55 kB / 0.5916 GB, free: 19.48 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001435/0.3476, allocations: 7.375 kB / 0.5916 GB, free: 19.47 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002572/0.3478, allocations: 98.91 kB / 0.5917 GB, free: 19.36 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.755e-05/0.3479, allocations: 0.6769 MB / 0.5924 GB, free: 18.66 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 2.946e-05/0.348, allocations: 3.234 kB / 0.5924 GB, free: 18.66 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.223e-05/0.348, allocations: 8.875 kB / 0.5924 GB, free: 18.66 MB / 446.1 MB Notification: Performance of SimCode: time 2.31e-07/0.348, allocations: 1.344 kB / 0.5924 GB, free: 18.66 MB / 446.1 MB Notification: Performance of Templates: time 0.002077/0.3501, allocations: 418.5 kB / 0.5928 GB, free: 18.45 MB / 446.1 MB make -j1 -f IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.PowerLinearized.makefile (rm -f IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.PowerLinearized.pipe ; mkfifo IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.PowerLinearized.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.PowerLinearized.pipe >> ../files/IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.PowerLinearized.sim & ./IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.PowerLinearized -abortSlowSimulation -alarm=480 -s gbode -lv LOG_STATS > IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.PowerLinearized.pipe 2>&1)