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.001042/0.001042, allocations: 109.3 kB / 16.41 MB, free: 6.465 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.001084/0.001084, allocations: 187 kB / 17.34 MB, free: 5.719 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.185/1.185, allocations: 222.9 MB / 241 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7199/0.7199, allocations: 135.1 MB / 426.3 MB, free: 4.086 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001239/0.001239, allocations: 65.5 kB / 0.5863 GB, free: 21.58 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.13/0.1312, allocations: 80.93 MB / 0.6653 GB, free: 5.73 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.PowerLinearized): time 0.001611/0.1329, allocations: 0.574 MB / 0.6659 GB, free: 5.16 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0002912/0.1332, allocations: 98.27 kB / 0.666 GB, free: 5.066 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.053e-05/0.1332, allocations: 4 kB / 0.666 GB, free: 5.062 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 1.452e-05/0.1333, allocations: 0 / 0.666 GB, free: 5.062 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 3.544e-05/0.1333, allocations: 0 / 0.666 GB, free: 5.062 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002008/0.1335, allocations: 11.92 kB / 0.666 GB, free: 5.051 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 5.401e-05/0.1336, allocations: 15.92 kB / 0.666 GB, free: 5.035 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 4.79e-05/0.1336, allocations: 11.98 kB / 0.666 GB, free: 5.023 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 1.681e-05/0.1337, allocations: 0 / 0.666 GB, free: 5.023 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 6.565e-05/0.1337, allocations: 4 kB / 0.666 GB, free: 5.02 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.074e-05/0.1337, allocations: 0 / 0.666 GB, free: 5.02 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 5.958e-05/0.1338, allocations: 15.98 kB / 0.6661 GB, free: 5.004 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 1.176e-05/0.1338, allocations: 0 / 0.6661 GB, free: 5.004 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 2.059e-05/0.1338, allocations: 3.938 kB / 0.6661 GB, free: 5 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 8.686e-05/0.1339, allocations: 15.97 kB / 0.6661 GB, free: 4.984 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.769e-06/0.1339, allocations: 0 / 0.6661 GB, free: 4.984 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.773e-06/0.134, allocations: 4 kB / 0.6661 GB, free: 4.98 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 5.16e-06/0.134, allocations: 0 / 0.6661 GB, free: 4.98 MB / 0.4981 GB 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.0003545/0.1343, allocations: 327.8 kB / 0.6664 GB, free: 4.609 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.113e-05/0.1344, allocations: 13.11 kB / 0.6664 GB, free: 4.598 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001521/0.1345, allocations: 8.922 kB / 0.6664 GB, free: 4.59 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.224e-05/0.1346, allocations: 160.4 kB / 0.6666 GB, free: 4.395 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.657e-05/0.1347, allocations: 384 / 0.6666 GB, free: 4.395 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.05e-05/0.1347, allocations: 384 / 0.6666 GB, free: 4.395 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001321/0.1348, allocations: 54.17 kB / 0.6666 GB, free: 4.336 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.135e-06/0.1348, allocations: 4.188 kB / 0.6666 GB, free: 4.332 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.015e-05/0.1348, allocations: 3.938 kB / 0.6666 GB, free: 4.328 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.928e-06/0.1349, allocations: 0 / 0.6666 GB, free: 4.328 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.809e-05/0.1349, allocations: 11.98 kB / 0.6666 GB, free: 4.316 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001455/0.1351, allocations: 145.7 kB / 0.6668 GB, free: 4.125 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001517/0.1353, allocations: 42.59 kB / 0.6668 GB, free: 4.074 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.349e-05/0.1353, allocations: 16.92 kB / 0.6668 GB, free: 4.055 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.66e-05/0.1353, allocations: 7.969 kB / 0.6668 GB, free: 4.047 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.351e-05/0.1354, allocations: 42.5 kB / 0.6669 GB, free: 3.996 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=3): time 3.347e-06/0.1354, allocations: 0 / 0.6669 GB, free: 3.996 MB / 0.4981 GB Notification: Performance of matching and sorting (n=3): time 0.0002001/0.1356, allocations: 53.62 kB / 0.6669 GB, free: 3.938 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.995e-05/0.1356, allocations: 59.33 kB / 0.667 GB, free: 3.867 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.151e-05/0.1357, allocations: 89.86 kB / 0.6671 GB, free: 3.77 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.961e-05/0.1357, allocations: 33.7 kB / 0.6671 GB, free: 3.73 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 2.058e-05/0.1357, allocations: 80.14 kB / 0.6672 GB, free: 3.648 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 2.904e-05/0.1357, allocations: 7.844 kB / 0.6672 GB, free: 3.641 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.962e-05/0.1358, allocations: 13.72 kB / 0.6672 GB, free: 3.621 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 9.154e-05/0.1359, allocations: 318.8 kB / 0.6675 GB, free: 3.301 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.882e-05/0.1359, allocations: 7.984 kB / 0.6675 GB, free: 3.293 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.808e-05/0.1359, allocations: 4 kB / 0.6675 GB, free: 3.289 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.161e-05/0.136, allocations: 28.78 kB / 0.6675 GB, free: 3.258 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.585e-06/0.136, allocations: 4 kB / 0.6675 GB, free: 3.254 MB / 0.4981 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001024/0.1362, allocations: 49.67 kB / 0.6676 GB, free: 3.199 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.244e-05/0.1362, allocations: 4 kB / 0.6676 GB, free: 3.195 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.398e-06/0.1362, allocations: 0 / 0.6676 GB, free: 3.195 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.212e-05/0.1362, allocations: 3.938 kB / 0.6676 GB, free: 3.191 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003584/0.1366, allocations: 43.94 kB / 0.6676 GB, free: 3.148 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001196/0.1378, allocations: 1.4 MB / 0.669 GB, free: 1.605 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.628e-05/0.1378, allocations: 0 / 0.669 GB, free: 1.605 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.847e-06/0.1378, allocations: 8.109 kB / 0.669 GB, free: 1.598 MB / 0.4981 GB 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 6.937e-05/0.1379, allocations: 117.8 kB / 0.6691 GB, free: 1.473 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.057e-06/0.1379, allocations: 3.906 kB / 0.6691 GB, free: 1.469 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.458e-05/0.1379, allocations: 3.5 kB / 0.6691 GB, free: 1.465 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.132e-06/0.1379, allocations: 0 / 0.6691 GB, free: 1.465 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.375e-06/0.1379, allocations: 7.984 kB / 0.6691 GB, free: 1.457 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.615e-06/0.1379, allocations: 0 / 0.6691 GB, free: 1.457 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.206e-05/0.138, allocations: 150 kB / 0.6693 GB, free: 1.262 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.152e-06/0.1381, allocations: 4 kB / 0.6693 GB, free: 1.258 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003353/0.1384, allocations: 55.86 kB / 0.6693 GB, free: 1.203 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.597e-06/0.1384, allocations: 4 kB / 0.6694 GB, free: 1.199 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.45e-06/0.1384, allocations: 0 / 0.6694 GB, free: 1.199 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001071/0.1395, allocations: 1.405 MB / 0.6707 GB, free: 15.66 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.222e-06/0.1395, allocations: 4.031 kB / 0.6707 GB, free: 15.65 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001141/0.1396, allocations: 77.05 kB / 0.6708 GB, free: 15.56 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 2.674e-05/0.1397, allocations: 77.11 kB / 0.6709 GB, free: 15.46 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.154e-06/0.1397, allocations: 8 kB / 0.6709 GB, free: 15.46 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.535e-05/0.1397, allocations: 4 kB / 0.6709 GB, free: 15.45 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.624e-05/0.1397, allocations: 3.938 kB / 0.6709 GB, free: 15.45 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.895e-06/0.1397, allocations: 0 / 0.6709 GB, free: 15.45 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 2.31e-05/0.1398, allocations: 75.28 kB / 0.671 GB, free: 15.38 MB / 0.5137 GB Notification: Performance of sort global known variables: time 9e-08/0.1398, allocations: 0 / 0.671 GB, free: 15.38 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0001807/0.14, allocations: 4 kB / 0.671 GB, free: 15.37 MB / 0.5137 GB 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.0001136/0.1401, allocations: 108.6 kB / 0.6711 GB, free: 15.25 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0004275/0.1405, allocations: 59.86 kB / 0.6711 GB, free: 15.2 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 2.795e-06/0.1405, allocations: 0 / 0.6711 GB, free: 15.2 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0003629/0.1409, allocations: 63.91 kB / 0.6712 GB, free: 15.13 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001216/0.141, allocations: 0 / 0.6712 GB, free: 15.13 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003008/0.1413, allocations: 124.1 kB / 0.6713 GB, free: 14.98 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001989/0.1415, allocations: 0.6729 MB / 0.672 GB, free: 14.28 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.939e-05/0.1416, allocations: 11.44 kB / 0.672 GB, free: 14.27 MB / 0.5137 GB Notification: Performance of SimCode: time 2.2e-07/0.1416, allocations: 0 / 0.672 GB, free: 14.27 MB / 0.5137 GB Notification: Performance of Templates: time 0.001796/0.1434, allocations: 0.5937 MB / 0.6726 GB, free: 13.68 MB / 0.5137 GB 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)