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.00155/0.00155, allocations: 109 kB / 16.41 MB, free: 6.449 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.001284/0.001284, allocations: 185.5 kB / 17.34 MB, free: 5.738 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.398/1.398, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8494/0.8494, allocations: 135.2 MB / 426.4 MB, free: 4.062 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001857/0.001857, allocations: 69.61 kB / 0.5864 GB, free: 21.62 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1517/0.1536, allocations: 80.94 MB / 0.6654 GB, free: 5.691 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.PowerLinearized): time 0.001745/0.1553, allocations: 0.5712 MB / 0.666 GB, free: 5.125 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0002915/0.1556, allocations: 98.31 kB / 0.6661 GB, free: 5.031 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.664e-05/0.1556, allocations: 0 / 0.6661 GB, free: 5.031 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 1.152e-05/0.1556, allocations: 0 / 0.6661 GB, free: 5.031 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 4.39e-05/0.1557, allocations: 4 kB / 0.6661 GB, free: 5.027 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002054/0.1559, allocations: 19.92 kB / 0.6661 GB, free: 5.008 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 5.589e-05/0.156, allocations: 11.92 kB / 0.6661 GB, free: 4.996 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 4.388e-05/0.156, allocations: 3.938 kB / 0.6661 GB, free: 4.992 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 1.718e-05/0.156, allocations: 3.984 kB / 0.6661 GB, free: 4.988 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 6.698e-05/0.1561, allocations: 8 kB / 0.6661 GB, free: 4.98 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.128e-05/0.1561, allocations: 0 / 0.6661 GB, free: 4.98 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 5.463e-05/0.1561, allocations: 11.98 kB / 0.6661 GB, free: 4.969 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 1.455e-05/0.1562, allocations: 4 kB / 0.6661 GB, free: 4.965 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 1.902e-05/0.1562, allocations: 7.938 kB / 0.6661 GB, free: 4.957 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 8.234e-05/0.1563, allocations: 15.97 kB / 0.6661 GB, free: 4.941 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.607e-06/0.1563, allocations: 0 / 0.6661 GB, free: 4.941 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.202e-06/0.1563, allocations: 0 / 0.6661 GB, free: 4.941 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 4.718e-06/0.1563, allocations: 0 / 0.6661 GB, free: 4.941 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.000371/0.1566, allocations: 315.9 kB / 0.6664 GB, free: 4.582 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.253e-05/0.1567, allocations: 13.11 kB / 0.6665 GB, free: 4.57 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001519/0.1568, allocations: 8.922 kB / 0.6665 GB, free: 4.562 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001196/0.1569, allocations: 164.4 kB / 0.6666 GB, free: 4.363 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.985e-05/0.157, allocations: 8.312 kB / 0.6666 GB, free: 4.355 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.177e-06/0.157, allocations: 4.375 kB / 0.6666 GB, free: 4.352 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001233/0.1571, allocations: 38.25 kB / 0.6667 GB, free: 4.309 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.356e-06/0.1571, allocations: 192 / 0.6667 GB, free: 4.309 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.999e-06/0.1571, allocations: 3.938 kB / 0.6667 GB, free: 4.305 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.088e-06/0.1571, allocations: 0 / 0.6667 GB, free: 4.305 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.658e-05/0.1572, allocations: 15.98 kB / 0.6667 GB, free: 4.289 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001636/0.1574, allocations: 153.7 kB / 0.6668 GB, free: 4.09 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001697/0.1575, allocations: 46.55 kB / 0.6669 GB, free: 4.035 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.793e-05/0.1576, allocations: 12.91 kB / 0.6669 GB, free: 4.02 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.98e-05/0.1576, allocations: 3.984 kB / 0.6669 GB, free: 4.016 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.413e-05/0.1576, allocations: 42.56 kB / 0.6669 GB, free: 3.965 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=3): time 1.032e-06/0.1576, allocations: 0 / 0.6669 GB, free: 3.965 MB / 0.4981 GB Notification: Performance of matching and sorting (n=3): time 0.0002206/0.1579, allocations: 69.55 kB / 0.667 GB, free: 3.891 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.604e-05/0.1579, allocations: 51.41 kB / 0.6671 GB, free: 3.828 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.854e-05/0.158, allocations: 89.86 kB / 0.6671 GB, free: 3.73 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.671e-05/0.158, allocations: 25.7 kB / 0.6672 GB, free: 3.699 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 3.502e-05/0.158, allocations: 80.14 kB / 0.6672 GB, free: 3.617 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 4.227e-05/0.1581, allocations: 11.84 kB / 0.6673 GB, free: 3.605 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.353e-05/0.1581, allocations: 21.66 kB / 0.6673 GB, free: 3.578 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001488/0.1583, allocations: 318.8 kB / 0.6676 GB, free: 3.258 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.907e-05/0.1583, allocations: 4 kB / 0.6676 GB, free: 3.254 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.544e-05/0.1583, allocations: 11.98 kB / 0.6676 GB, free: 3.242 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.789e-05/0.1584, allocations: 16.86 kB / 0.6676 GB, free: 3.223 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.693e-06/0.1584, allocations: 4 kB / 0.6676 GB, free: 3.219 MB / 0.4981 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001159/0.1585, allocations: 49.67 kB / 0.6677 GB, free: 3.164 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.231e-05/0.1585, allocations: 4 kB / 0.6677 GB, free: 3.16 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.747e-06/0.1585, allocations: 3.938 kB / 0.6677 GB, free: 3.156 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.466e-05/0.1586, allocations: 7.938 kB / 0.6677 GB, free: 3.148 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003961/0.159, allocations: 43.88 kB / 0.6677 GB, free: 3.105 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001474/0.1604, allocations: 1.401 MB / 0.6691 GB, free: 1.562 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.667e-05/0.1605, allocations: 0 / 0.6691 GB, free: 1.562 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.326e-06/0.1605, allocations: 4.031 kB / 0.6691 GB, free: 1.559 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 9.136e-05/0.1606, allocations: 113.8 kB / 0.6692 GB, free: 1.438 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.544e-06/0.1606, allocations: 3.938 kB / 0.6692 GB, free: 1.434 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.621e-05/0.1606, allocations: 7.5 kB / 0.6692 GB, free: 1.426 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.353e-06/0.1606, allocations: 0 / 0.6692 GB, free: 1.426 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.62e-07/0.1606, allocations: 8.062 kB / 0.6692 GB, free: 1.418 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.294e-06/0.1606, allocations: 0 / 0.6692 GB, free: 1.418 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001247/0.1607, allocations: 149.6 kB / 0.6694 GB, free: 1.223 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.106e-06/0.1607, allocations: 4 kB / 0.6694 GB, free: 1.219 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003619/0.1611, allocations: 40.27 kB / 0.6694 GB, free: 1.18 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.19e-06/0.1611, allocations: 8 kB / 0.6694 GB, free: 1.172 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.921e-06/0.1611, allocations: 0 / 0.6694 GB, free: 1.172 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001345/0.1624, allocations: 1.413 MB / 0.6708 GB, free: 15.62 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.613e-06/0.1624, allocations: 4.031 kB / 0.6708 GB, free: 15.62 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001466/0.1626, allocations: 73.2 kB / 0.6709 GB, free: 15.53 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 3.905e-05/0.1626, allocations: 77.11 kB / 0.6709 GB, free: 15.43 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.726e-06/0.1626, allocations: 3.938 kB / 0.6709 GB, free: 15.43 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.933e-05/0.1627, allocations: 7.938 kB / 0.6709 GB, free: 15.42 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.824e-05/0.1627, allocations: 3.984 kB / 0.6709 GB, free: 15.42 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.452e-06/0.1627, allocations: 4 kB / 0.671 GB, free: 15.41 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 3.405e-05/0.1627, allocations: 75.28 kB / 0.671 GB, free: 15.34 MB / 0.5137 GB Notification: Performance of sort global known variables: time 8e-08/0.1627, allocations: 4 kB / 0.671 GB, free: 15.34 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.000192/0.1629, allocations: 4 kB / 0.671 GB, free: 15.33 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.0001433/0.163, allocations: 103.2 kB / 0.6711 GB, free: 15.22 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0004748/0.1635, allocations: 67.86 kB / 0.6712 GB, free: 15.15 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 2.315e-06/0.1635, allocations: 0 / 0.6712 GB, free: 15.15 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0003914/0.1639, allocations: 51.92 kB / 0.6712 GB, free: 15.1 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001296/0.164, allocations: 1.875 kB / 0.6712 GB, free: 15.1 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00035/0.1644, allocations: 130.5 kB / 0.6714 GB, free: 14.94 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003174/0.1647, allocations: 0.669 MB / 0.672 GB, free: 14.25 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.774e-05/0.1647, allocations: 15.42 kB / 0.672 GB, free: 14.23 MB / 0.5137 GB Notification: Performance of SimCode: time 3.71e-07/0.1647, allocations: 0 / 0.672 GB, free: 14.23 MB / 0.5137 GB Notification: Performance of Templates: time 0.002279/0.167, allocations: 0.605 MB / 0.6726 GB, free: 13.62 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)