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.000956/0.0009562, allocations: 98.03 kB / 15.36 MB, free: 0.7344 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.007213/0.007213, allocations: 168.9 kB / 16.26 MB, free: 6.648 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.414/1.414, allocations: 223.3 MB / 240.3 MB, free: 5.344 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7974/0.7974, allocations: 132.4 MB / 423.8 MB, free: 1.938 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003413/0.0003414, allocations: 12 kB / 0.504 GB, free: 3.91 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.455/0.4553, allocations: 81.58 MB / 0.5837 GB, free: 4.051 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.PowerLinearized): time 0.0006368/0.456, allocations: 331.5 kB / 0.584 GB, free: 3.828 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002878/0.4563, allocations: 94.34 kB / 0.5841 GB, free: 3.766 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.07e-05/0.4563, allocations: 2.656 kB / 0.5841 GB, free: 3.766 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 1.053e-05/0.4564, allocations: 0 / 0.5841 GB, free: 3.766 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 4.189e-05/0.4564, allocations: 0.6094 kB / 0.5841 GB, free: 3.766 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001501/0.4566, allocations: 7.328 kB / 0.5841 GB, free: 3.766 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 3.978e-05/0.4566, allocations: 10.12 kB / 0.5841 GB, free: 3.762 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.785e-05/0.4567, allocations: 2.328 kB / 0.5841 GB, free: 3.762 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.796e-05/0.4567, allocations: 6.234 kB / 0.5841 GB, free: 3.758 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.362e-05/0.4568, allocations: 11.52 kB / 0.5841 GB, free: 3.75 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 1.024e-05/0.4568, allocations: 0 / 0.5841 GB, free: 3.75 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.729e-05/0.4568, allocations: 15.75 kB / 0.5841 GB, free: 3.746 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 1.238e-05/0.4568, allocations: 0 / 0.5841 GB, free: 3.746 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 2.447e-05/0.4569, allocations: 31.86 kB / 0.5842 GB, free: 3.711 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 7.545e-05/0.457, allocations: 18.34 kB / 0.5842 GB, free: 3.703 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.546e-06/0.457, allocations: 0 / 0.5842 GB, free: 3.703 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.362e-06/0.457, allocations: 0 / 0.5842 GB, free: 3.703 MB / 430.1 MB Notification: Performance of Transformations before backend: time 3.326e-06/0.457, allocations: 0 / 0.5842 GB, free: 3.703 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.0002366/0.4572, allocations: 315 kB / 0.5845 GB, free: 3.352 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.846e-05/0.4573, allocations: 13.88 kB / 0.5845 GB, free: 3.348 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001493/0.4574, allocations: 9.453 kB / 0.5845 GB, free: 3.348 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 5.564e-05/0.4575, allocations: 161.7 kB / 0.5847 GB, free: 3.152 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.856e-05/0.4575, allocations: 1.594 kB / 0.5847 GB, free: 3.152 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.915e-06/0.4575, allocations: 5.188 kB / 0.5847 GB, free: 3.148 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001064/0.4576, allocations: 36.34 kB / 0.5847 GB, free: 3.117 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.493e-06/0.4577, allocations: 1.375 kB / 0.5847 GB, free: 3.117 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.446e-06/0.4577, allocations: 3.938 kB / 0.5847 GB, free: 3.113 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.769e-06/0.4577, allocations: 7.984 kB / 0.5847 GB, free: 3.105 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.338e-05/0.4578, allocations: 19.95 kB / 0.5847 GB, free: 3.098 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001023/0.4579, allocations: 159.5 kB / 0.5849 GB, free: 2.898 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000157/0.458, allocations: 38.7 kB / 0.5849 GB, free: 2.871 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.603e-05/0.4581, allocations: 11.58 kB / 0.5849 GB, free: 2.863 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.276e-05/0.4581, allocations: 5.188 kB / 0.5849 GB, free: 2.859 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.761e-05/0.4581, allocations: 35.36 kB / 0.585 GB, free: 2.816 MB / 430.1 MB Notification: Performance of pre-optimization done (n=3): time 1.082e-06/0.4581, allocations: 0.6875 kB / 0.585 GB, free: 2.816 MB / 430.1 MB Notification: Performance of matching and sorting (n=3): time 0.0002049/0.4584, allocations: 59.78 kB / 0.585 GB, free: 2.773 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.274e-05/0.4584, allocations: 53.34 kB / 0.5851 GB, free: 2.711 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 1.508e-05/0.4584, allocations: 89.86 kB / 0.5852 GB, free: 2.613 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 7.074e-06/0.4584, allocations: 29.64 kB / 0.5852 GB, free: 2.578 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.528e-06/0.4584, allocations: 85.14 kB / 0.5853 GB, free: 2.492 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.141e-05/0.4585, allocations: 12.05 kB / 0.5853 GB, free: 2.484 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.891e-05/0.4585, allocations: 10.84 kB / 0.5853 GB, free: 2.469 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 3.839e-05/0.4585, allocations: 312.2 kB / 0.5856 GB, free: 2.156 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.97e-05/0.4586, allocations: 7 kB / 0.5856 GB, free: 2.156 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.127e-05/0.4586, allocations: 8.922 kB / 0.5856 GB, free: 2.152 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.532e-05/0.4587, allocations: 21.25 kB / 0.5856 GB, free: 2.141 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.663e-06/0.4587, allocations: 0 / 0.5856 GB, free: 2.141 MB / 430.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001047/0.4588, allocations: 55.78 kB / 0.5857 GB, free: 2.098 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.305e-05/0.4588, allocations: 5.375 kB / 0.5857 GB, free: 2.098 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.087e-06/0.4588, allocations: 4.594 kB / 0.5857 GB, free: 2.094 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.132e-05/0.4589, allocations: 4.594 kB / 0.5857 GB, free: 2.09 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004096/0.4593, allocations: 40.89 kB / 0.5857 GB, free: 2.09 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009625/0.4603, allocations: 1.313 MB / 0.587 GB, free: 0.7383 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.909e-05/0.4603, allocations: 1.969 kB / 0.587 GB, free: 0.7383 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.121e-06/0.4603, allocations: 2.047 kB / 0.587 GB, free: 0.7383 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 (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.697e-05/0.4604, allocations: 108.5 kB / 0.5871 GB, free: 0.625 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.558e-06/0.4604, allocations: 5.703 kB / 0.5871 GB, free: 0.6211 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.558e-05/0.4604, allocations: 17 kB / 0.5872 GB, free: 0.6016 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.733e-06/0.4604, allocations: 1.188 kB / 0.5872 GB, free: 0.6016 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.102e-06/0.4604, allocations: 0 / 0.5872 GB, free: 0.6016 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.906e-06/0.4604, allocations: 0.7031 kB / 0.5872 GB, free: 0.6016 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.742e-05/0.4605, allocations: 159.4 kB / 0.5873 GB, free: 412 kB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.114e-06/0.4605, allocations: 0.6562 kB / 0.5873 GB, free: 412 kB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003959/0.4609, allocations: 48.45 kB / 0.5874 GB, free: 408 kB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.595e-06/0.4609, allocations: 1.062 kB / 0.5874 GB, free: 408 kB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.124e-06/0.4609, allocations: 0.5156 kB / 0.5874 GB, free: 408 kB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001046/0.462, allocations: 1.306 MB / 0.5886 GB, free: 15.05 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.202e-06/0.462, allocations: 0 / 0.5886 GB, free: 15.05 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001452/0.4621, allocations: 78.12 kB / 0.5887 GB, free: 14.98 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.991e-05/0.4622, allocations: 81.95 kB / 0.5888 GB, free: 14.88 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.404e-06/0.4622, allocations: 1.969 kB / 0.5888 GB, free: 14.88 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.996e-05/0.4622, allocations: 0.6562 kB / 0.5888 GB, free: 14.88 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.751e-05/0.4622, allocations: 8.188 kB / 0.5888 GB, free: 14.88 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.704e-06/0.4622, allocations: 5.156 kB / 0.5888 GB, free: 14.88 MB / 446.1 MB Notification: Performance of sorting global known variables: time 2.54e-05/0.4623, allocations: 77.75 kB / 0.5889 GB, free: 14.8 MB / 446.1 MB Notification: Performance of sort global known variables: time 1e-07/0.4623, allocations: 0 / 0.5889 GB, free: 14.8 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0001994/0.4625, allocations: 3.781 kB / 0.5889 GB, free: 14.8 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.0001284/0.4626, allocations: 105.2 kB / 0.589 GB, free: 14.71 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0004842/0.4631, allocations: 57.81 kB / 0.589 GB, free: 14.7 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/0.4631, allocations: 4 kB / 0.589 GB, free: 14.7 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002688/0.4634, allocations: 49.88 kB / 0.5891 GB, free: 14.68 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000137/0.4636, allocations: 4.344 kB / 0.5891 GB, free: 14.68 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002898/0.4639, allocations: 98.44 kB / 0.5892 GB, free: 14.58 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000213/0.4641, allocations: 0.6776 MB / 0.5898 GB, free: 13.88 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 3.559e-05/0.4641, allocations: 3.078 kB / 0.5898 GB, free: 13.88 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.588e-05/0.4642, allocations: 9.484 kB / 0.5899 GB, free: 13.87 MB / 446.1 MB Notification: Performance of SimCode: time 4.41e-07/0.4642, allocations: 1.562 kB / 0.5899 GB, free: 13.87 MB / 446.1 MB Notification: Performance of Templates: time 0.002404/0.4666, allocations: 385.7 kB / 0.5902 GB, free: 13.81 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)