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.001225/0.001225, allocations: 116.9 kB / 16.37 MB, free: 6.012 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.001253/0.001253, allocations: 191.6 kB / 17.31 MB, free: 5.613 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.31/1.31, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7827/0.7827, allocations: 135.1 MB / 426.3 MB, free: 4.125 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00123/0.00123, allocations: 59.91 kB / 0.5068 GB, free: 7.656 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4056/0.4069, allocations: 80.91 MB / 0.5858 GB, free: 25.55 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.PowerLinearized): time 0.001531/0.4084, allocations: 0.5865 MB / 0.5863 GB, free: 25.12 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002272/0.4087, allocations: 102.1 kB / 0.5864 GB, free: 25.04 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.45e-05/0.4087, allocations: 1.125 kB / 0.5864 GB, free: 25.04 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 1.011e-05/0.4087, allocations: 0 / 0.5864 GB, free: 25.04 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 3.871e-05/0.4088, allocations: 1.188 kB / 0.5864 GB, free: 25.04 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000179/0.409, allocations: 15.8 kB / 0.5865 GB, free: 25.03 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 4.229e-05/0.409, allocations: 11.56 kB / 0.5865 GB, free: 25.02 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.772e-05/0.4091, allocations: 1.625 kB / 0.5865 GB, free: 25.02 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.61e-05/0.4091, allocations: 3.281 kB / 0.5865 GB, free: 25.02 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.931e-05/0.4092, allocations: 6.578 kB / 0.5865 GB, free: 25.02 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.037e-05/0.4092, allocations: 0 / 0.5865 GB, free: 25.02 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.204e-05/0.4092, allocations: 15.36 kB / 0.5865 GB, free: 25.01 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 1.222e-05/0.4092, allocations: 5.172 kB / 0.5865 GB, free: 25.01 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 1.781e-05/0.4093, allocations: 6.812 kB / 0.5865 GB, free: 25 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 7.246e-05/0.4093, allocations: 13.7 kB / 0.5865 GB, free: 25 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.586e-06/0.4094, allocations: 0 / 0.5865 GB, free: 25 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.543e-06/0.4094, allocations: 0 / 0.5865 GB, free: 25 MB / 446.1 MB Notification: Performance of Transformations before backend: time 4.198e-06/0.4094, allocations: 0.625 kB / 0.5865 GB, free: 25 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.000227/0.4096, allocations: 320.1 kB / 0.5868 GB, free: 24.64 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.968e-05/0.4096, allocations: 10.58 kB / 0.5868 GB, free: 24.64 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000133/0.4098, allocations: 13.67 kB / 0.5869 GB, free: 24.63 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 4.408e-05/0.4098, allocations: 161.6 kB / 0.587 GB, free: 24.44 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.622e-05/0.4099, allocations: 384 / 0.587 GB, free: 24.44 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.984e-06/0.4099, allocations: 2.469 kB / 0.587 GB, free: 24.44 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.757e-05/0.41, allocations: 39.81 kB / 0.587 GB, free: 24.4 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.583e-06/0.41, allocations: 1.375 kB / 0.587 GB, free: 24.4 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.967e-06/0.41, allocations: 9.562 kB / 0.5871 GB, free: 24.39 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.466e-06/0.41, allocations: 0 / 0.5871 GB, free: 24.39 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.237e-05/0.4101, allocations: 12.61 kB / 0.5871 GB, free: 24.39 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 9.553e-05/0.4102, allocations: 153.3 kB / 0.5872 GB, free: 24.19 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001364/0.4103, allocations: 42 kB / 0.5873 GB, free: 24.16 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.897e-05/0.4104, allocations: 18.33 kB / 0.5873 GB, free: 24.14 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.446e-05/0.4104, allocations: 5.219 kB / 0.5873 GB, free: 24.14 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.303e-05/0.4104, allocations: 31.12 kB / 0.5873 GB, free: 24.1 MB / 446.1 MB Notification: Performance of pre-optimization done (n=3): time 1.092e-06/0.4104, allocations: 1.562 kB / 0.5873 GB, free: 24.1 MB / 446.1 MB Notification: Performance of matching and sorting (n=3): time 0.0001764/0.4106, allocations: 63.17 kB / 0.5874 GB, free: 24.05 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.967e-05/0.4106, allocations: 51.41 kB / 0.5874 GB, free: 23.98 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 1.296e-05/0.4106, allocations: 93.8 kB / 0.5875 GB, free: 23.88 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 5.991e-06/0.4107, allocations: 27.58 kB / 0.5875 GB, free: 23.85 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.746e-06/0.4107, allocations: 81.05 kB / 0.5876 GB, free: 23.77 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.713e-05/0.4107, allocations: 15.41 kB / 0.5876 GB, free: 23.76 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.536e-05/0.4107, allocations: 13.03 kB / 0.5876 GB, free: 23.74 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 3.397e-05/0.4108, allocations: 312.2 kB / 0.5879 GB, free: 23.43 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.588e-05/0.4108, allocations: 11.67 kB / 0.5879 GB, free: 23.42 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.807e-05/0.4108, allocations: 8.875 kB / 0.588 GB, free: 23.42 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.721e-05/0.4109, allocations: 23.72 kB / 0.588 GB, free: 23.4 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.523e-06/0.4109, allocations: 0 / 0.588 GB, free: 23.4 MB / 446.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 9.276e-05/0.411, allocations: 50.59 kB / 0.588 GB, free: 23.36 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.21e-05/0.411, allocations: 7.344 kB / 0.588 GB, free: 23.36 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.597e-06/0.4111, allocations: 2.688 kB / 0.588 GB, free: 23.36 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.093e-05/0.4111, allocations: 3.938 kB / 0.588 GB, free: 23.36 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003358/0.4114, allocations: 46.17 kB / 0.5881 GB, free: 23.34 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008497/0.4123, allocations: 1.402 MB / 0.5895 GB, free: 21.87 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.809e-05/0.4123, allocations: 5.422 kB / 0.5895 GB, free: 21.86 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.3e-06/0.4123, allocations: 1.125 kB / 0.5895 GB, free: 21.86 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.371e-05/0.4124, allocations: 117.6 kB / 0.5896 GB, free: 21.74 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.155e-06/0.4124, allocations: 1.438 kB / 0.5896 GB, free: 21.74 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.187e-05/0.4124, allocations: 3.5 kB / 0.5896 GB, free: 21.73 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.893e-06/0.4124, allocations: 4.031 kB / 0.5896 GB, free: 21.73 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.012e-06/0.4124, allocations: 0 / 0.5896 GB, free: 21.73 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.914e-06/0.4124, allocations: 0 / 0.5896 GB, free: 21.73 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 4.601e-05/0.4125, allocations: 161.2 kB / 0.5897 GB, free: 21.53 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.22e-07/0.4125, allocations: 3.938 kB / 0.5897 GB, free: 21.52 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003221/0.4128, allocations: 50.52 kB / 0.5898 GB, free: 21.5 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.744e-06/0.4128, allocations: 1.312 kB / 0.5898 GB, free: 21.5 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.122e-06/0.4128, allocations: 0 / 0.5898 GB, free: 21.5 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007532/0.4136, allocations: 1.404 MB / 0.5912 GB, free: 20.04 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.563e-06/0.4136, allocations: 7.062 kB / 0.5912 GB, free: 20.03 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.436e-05/0.4137, allocations: 74.08 kB / 0.5912 GB, free: 19.95 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.258e-05/0.4137, allocations: 81.41 kB / 0.5913 GB, free: 19.86 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.954e-06/0.4137, allocations: 10.08 kB / 0.5913 GB, free: 19.85 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.604e-05/0.4138, allocations: 5.062 kB / 0.5913 GB, free: 19.85 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.5e-05/0.4138, allocations: 2.312 kB / 0.5913 GB, free: 19.85 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.136e-06/0.4138, allocations: 9.25 kB / 0.5913 GB, free: 19.84 MB / 446.1 MB Notification: Performance of sorting global known variables: time 1.036e-05/0.4138, allocations: 75.91 kB / 0.5914 GB, free: 19.77 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.01e-07/0.4138, allocations: 1.719 kB / 0.5914 GB, free: 19.77 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.000187/0.414, allocations: 2.75 kB / 0.5914 GB, free: 19.77 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.929e-05/0.4141, allocations: 104 kB / 0.5915 GB, free: 19.68 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0004055/0.4145, allocations: 63.09 kB / 0.5916 GB, free: 19.65 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.445e-06/0.4145, allocations: 0 / 0.5916 GB, free: 19.65 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000205/0.4147, allocations: 40.61 kB / 0.5916 GB, free: 19.63 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001227/0.4149, allocations: 1.5 kB / 0.5916 GB, free: 19.63 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002267/0.4151, allocations: 101 kB / 0.5917 GB, free: 19.52 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.815e-05/0.4152, allocations: 0.6781 MB / 0.5924 GB, free: 18.82 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 2.643e-05/0.4152, allocations: 2.531 kB / 0.5924 GB, free: 18.82 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.112e-05/0.4152, allocations: 8.719 kB / 0.5924 GB, free: 18.82 MB / 446.1 MB Notification: Performance of SimCode: time 2.4e-07/0.4152, allocations: 0 / 0.5924 GB, free: 18.82 MB / 446.1 MB Notification: Performance of Templates: time 0.001865/0.4171, allocations: 421.2 kB / 0.5928 GB, free: 18.61 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 cvode -lv LOG_STATS > IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.PowerLinearized.pipe 2>&1)