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.001251/0.001251, allocations: 102.1 kB / 16.27 MB, free: 6.414 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.001247/0.001247, allocations: 188.7 kB / 17.2 MB, free: 5.953 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.349/1.349, allocations: 222.9 MB / 240.9 MB, free: 15.21 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8261/0.8261, allocations: 135.2 MB / 426.2 MB, free: 4.148 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001864/0.001864, allocations: 75.89 kB / 0.5061 GB, free: 8.344 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3492/0.3511, allocations: 80.91 MB / 0.5851 GB, free: 25.3 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.PowerLinearized): time 0.001742/0.3529, allocations: 0.5783 MB / 0.5856 GB, free: 24.87 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002679/0.3532, allocations: 97.5 kB / 0.5857 GB, free: 24.79 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.788e-05/0.3532, allocations: 1.062 kB / 0.5857 GB, free: 24.79 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 1.13e-05/0.3532, allocations: 1.156 kB / 0.5857 GB, free: 24.79 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 4.929e-05/0.3533, allocations: 0.8125 kB / 0.5857 GB, free: 24.79 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002052/0.3535, allocations: 14.39 kB / 0.5857 GB, free: 24.79 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 4.757e-05/0.3535, allocations: 10.12 kB / 0.5858 GB, free: 24.78 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.809e-05/0.3536, allocations: 10.2 kB / 0.5858 GB, free: 24.77 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.915e-05/0.3536, allocations: 2.812 kB / 0.5858 GB, free: 24.77 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.725e-05/0.3537, allocations: 5.562 kB / 0.5858 GB, free: 24.77 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.202e-05/0.3537, allocations: 0 / 0.5858 GB, free: 24.77 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.682e-05/0.3538, allocations: 15.58 kB / 0.5858 GB, free: 24.76 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 1.311e-05/0.3538, allocations: 3.984 kB / 0.5858 GB, free: 24.76 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 2.073e-05/0.3538, allocations: 1.312 kB / 0.5858 GB, free: 24.76 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 8.311e-05/0.3539, allocations: 22.36 kB / 0.5858 GB, free: 24.74 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.198e-06/0.3539, allocations: 0.5 kB / 0.5858 GB, free: 24.74 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.503e-06/0.3539, allocations: 0.625 kB / 0.5858 GB, free: 24.74 MB / 446.1 MB Notification: Performance of Transformations before backend: time 4.718e-06/0.3539, allocations: 0 / 0.5858 GB, free: 24.74 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.0002828/0.3542, allocations: 314.9 kB / 0.5861 GB, free: 24.39 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.759e-05/0.3543, allocations: 10.67 kB / 0.5861 GB, free: 24.39 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001566/0.3544, allocations: 15.45 kB / 0.5861 GB, free: 24.38 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 5.848e-05/0.3545, allocations: 164.4 kB / 0.5863 GB, free: 24.18 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.617e-05/0.3545, allocations: 2.25 kB / 0.5863 GB, free: 24.18 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.145e-05/0.3545, allocations: 1.75 kB / 0.5863 GB, free: 24.18 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001105/0.3546, allocations: 40.78 kB / 0.5863 GB, free: 24.14 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.606e-06/0.3547, allocations: 4.172 kB / 0.5863 GB, free: 24.14 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.217e-06/0.3547, allocations: 4.625 kB / 0.5863 GB, free: 24.14 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.22e-06/0.3547, allocations: 2.219 kB / 0.5864 GB, free: 24.14 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.535e-05/0.3548, allocations: 14.61 kB / 0.5864 GB, free: 24.13 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001097/0.3549, allocations: 152.9 kB / 0.5865 GB, free: 23.93 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001424/0.355, allocations: 39.16 kB / 0.5865 GB, free: 23.9 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.464e-05/0.3551, allocations: 18.66 kB / 0.5866 GB, free: 23.89 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.381e-05/0.3551, allocations: 0 / 0.5866 GB, free: 23.89 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.176e-05/0.3551, allocations: 36.53 kB / 0.5866 GB, free: 23.84 MB / 446.1 MB Notification: Performance of pre-optimization done (n=3): time 9.52e-07/0.3551, allocations: 0.5 kB / 0.5866 GB, free: 23.84 MB / 446.1 MB Notification: Performance of matching and sorting (n=3): time 0.0001939/0.3553, allocations: 62.11 kB / 0.5867 GB, free: 23.79 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.365e-05/0.3554, allocations: 53.72 kB / 0.5867 GB, free: 23.73 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 1.584e-05/0.3554, allocations: 89.86 kB / 0.5868 GB, free: 23.63 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 6.973e-06/0.3554, allocations: 26.27 kB / 0.5868 GB, free: 23.6 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 1.95e-05/0.3554, allocations: 81.83 kB / 0.5869 GB, free: 23.52 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.173e-05/0.3555, allocations: 11.28 kB / 0.5869 GB, free: 23.51 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.465e-05/0.3555, allocations: 13.22 kB / 0.5869 GB, free: 23.5 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 4.473e-05/0.3555, allocations: 317.4 kB / 0.5872 GB, free: 23.18 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.839e-05/0.3556, allocations: 6.781 kB / 0.5872 GB, free: 23.18 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.989e-05/0.3556, allocations: 12.02 kB / 0.5872 GB, free: 23.17 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.229e-05/0.3557, allocations: 23.77 kB / 0.5873 GB, free: 23.15 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.422e-06/0.3557, allocations: 3.938 kB / 0.5873 GB, free: 23.15 MB / 446.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 9.392e-05/0.3558, allocations: 51.8 kB / 0.5873 GB, free: 23.11 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.235e-05/0.3558, allocations: 5.25 kB / 0.5873 GB, free: 23.11 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.689e-06/0.3558, allocations: 3.938 kB / 0.5873 GB, free: 23.1 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.554e-05/0.3559, allocations: 4.594 kB / 0.5873 GB, free: 23.1 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003671/0.3562, allocations: 43.09 kB / 0.5874 GB, free: 23.08 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009213/0.3572, allocations: 1.402 MB / 0.5887 GB, free: 21.61 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.69e-05/0.3572, allocations: 5.422 kB / 0.5887 GB, free: 21.61 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.859e-06/0.3572, allocations: 2.812 kB / 0.5888 GB, free: 21.61 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.527e-05/0.3573, allocations: 115.2 kB / 0.5889 GB, free: 21.49 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.995e-06/0.3573, allocations: 3.281 kB / 0.5889 GB, free: 21.49 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.236e-05/0.3573, allocations: 7.484 kB / 0.5889 GB, free: 21.47 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.52e-07/0.3573, allocations: 0 / 0.5889 GB, free: 21.47 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.32e-07/0.3573, allocations: 1.375 kB / 0.5889 GB, free: 21.47 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.154e-06/0.3573, allocations: 0 / 0.5889 GB, free: 21.47 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.315e-05/0.3574, allocations: 162 kB / 0.589 GB, free: 21.27 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.723e-06/0.3574, allocations: 3.984 kB / 0.589 GB, free: 21.27 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003434/0.3577, allocations: 49.94 kB / 0.5891 GB, free: 21.25 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.463e-06/0.3577, allocations: 3.281 kB / 0.5891 GB, free: 21.25 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.722e-06/0.3577, allocations: 1.594 kB / 0.5891 GB, free: 21.25 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007895/0.3585, allocations: 1.407 MB / 0.5905 GB, free: 19.77 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.572e-06/0.3585, allocations: 1.062 kB / 0.5905 GB, free: 19.77 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001001/0.3586, allocations: 80.45 kB / 0.5905 GB, free: 19.69 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.569e-05/0.3587, allocations: 78.05 kB / 0.5906 GB, free: 19.6 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.414e-06/0.3587, allocations: 5.281 kB / 0.5906 GB, free: 19.59 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.569e-05/0.3587, allocations: 5 kB / 0.5906 GB, free: 19.59 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.088e-05/0.3587, allocations: 7.016 kB / 0.5906 GB, free: 19.59 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.705e-06/0.3587, allocations: 0 / 0.5906 GB, free: 19.59 MB / 446.1 MB Notification: Performance of sorting global known variables: time 1.19e-05/0.3588, allocations: 76.75 kB / 0.5907 GB, free: 19.51 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3588, allocations: 1.375 kB / 0.5907 GB, free: 19.51 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0001806/0.359, allocations: 3.25 kB / 0.5907 GB, free: 19.51 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 0.0001022/0.3591, allocations: 98.59 kB / 0.5908 GB, free: 19.43 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0004428/0.3595, allocations: 66.19 kB / 0.5909 GB, free: 19.39 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.3595, allocations: 1.438 kB / 0.5909 GB, free: 19.39 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003576/0.3599, allocations: 61.89 kB / 0.5909 GB, free: 19.37 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001267/0.36, allocations: 3.062 kB / 0.5909 GB, free: 19.37 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002751/0.3603, allocations: 124.5 kB / 0.591 GB, free: 19.23 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.217e-05/0.3604, allocations: 0.6729 MB / 0.5917 GB, free: 18.54 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.782e-05/0.3604, allocations: 7.438 kB / 0.5917 GB, free: 18.53 MB / 446.1 MB Notification: Performance of SimCode: time 2.2e-07/0.3604, allocations: 1.281 kB / 0.5917 GB, free: 18.53 MB / 446.1 MB Notification: Performance of Templates: time 0.002045/0.3625, allocations: 0.5945 MB / 0.5923 GB, free: 18.25 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 -lv LOG_STATS > IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.PowerLinearized.pipe 2>&1)