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: "" <> buildModelFMU(IDEAS.Utilities.Math.Functions.Examples.PowerLinearized,fileNamePrefix="IDEAS_dev_IDEAS_Utilities_Math_Functions_Examples_PowerLinearized",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Utilities.Math.Functions.Examples.PowerLinearized,fileNamePrefix="IDEAS_dev_IDEAS_Utilities_Math_Functions_Examples_PowerLinearized",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001144/0.001144, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001129/0.001129, allocations: 192.2 kB / 16.14 MB, free: 6.656 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.292/1.292, allocations: 222.9 MB / 239.8 MB, free: 4.586 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9175/0.9175, allocations: 135.1 MB / 425.1 MB, free: 11.92 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001135/0.001135, allocations: 68.23 kB / 0.5048 GB, free: 5.633 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1559/0.1571, allocations: 80.92 MB / 0.5838 GB, free: 4.879 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.PowerLinearized): time 0.001946/0.1591, allocations: 0.644 MB / 0.5844 GB, free: 4.227 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002965/0.1594, allocations: 91.78 kB / 0.5845 GB, free: 4.137 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.718e-06/0.1594, allocations: 0 / 0.5845 GB, free: 4.137 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 1.746e-05/0.1594, allocations: 3.938 kB / 0.5845 GB, free: 4.133 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 3.601e-05/0.1595, allocations: 4 kB / 0.5845 GB, free: 4.129 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001522/0.1596, allocations: 15.98 kB / 0.5846 GB, free: 4.113 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 3.723e-05/0.1597, allocations: 7.984 kB / 0.5846 GB, free: 4.105 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.544e-05/0.1597, allocations: 0 / 0.5846 GB, free: 4.105 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.92e-05/0.1597, allocations: 7.938 kB / 0.5846 GB, free: 4.098 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.033e-05/0.1598, allocations: 4 kB / 0.5846 GB, free: 4.094 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.071e-05/0.1598, allocations: 0 / 0.5846 GB, free: 4.094 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.142e-05/0.1599, allocations: 19.98 kB / 0.5846 GB, free: 4.074 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 1.147e-05/0.1599, allocations: 0 / 0.5846 GB, free: 4.074 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 1.734e-05/0.1599, allocations: 4 kB / 0.5846 GB, free: 4.07 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 7.216e-05/0.16, allocations: 23.91 kB / 0.5846 GB, free: 4.047 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.216e-06/0.16, allocations: 0 / 0.5846 GB, free: 4.047 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.062e-06/0.16, allocations: 0 / 0.5846 GB, free: 4.047 MB / 494.1 MB Notification: Performance of Transformations before backend: time 3.507e-06/0.16, allocations: 0 / 0.5846 GB, free: 4.047 MB / 494.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.0002982/0.1603, allocations: 313.7 kB / 0.5849 GB, free: 3.691 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.667e-05/0.1604, allocations: 12.03 kB / 0.5849 GB, free: 3.68 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.02e-05/0.1604, allocations: 30.75 kB / 0.585 GB, free: 3.641 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001441/0.1605, allocations: 12.92 kB / 0.585 GB, free: 3.629 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.718e-05/0.1606, allocations: 172.3 kB / 0.5851 GB, free: 3.422 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.712e-05/0.1606, allocations: 384 / 0.5851 GB, free: 3.422 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.913e-06/0.1607, allocations: 4.375 kB / 0.5851 GB, free: 3.418 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000109/0.1608, allocations: 38.25 kB / 0.5852 GB, free: 3.375 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.061e-06/0.1608, allocations: 3.938 kB / 0.5852 GB, free: 3.371 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.476e-06/0.1608, allocations: 7.938 kB / 0.5852 GB, free: 3.363 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.657e-06/0.1608, allocations: 0 / 0.5852 GB, free: 3.363 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.872e-05/0.1609, allocations: 11.98 kB / 0.5852 GB, free: 3.352 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001376/0.161, allocations: 157.7 kB / 0.5853 GB, free: 3.148 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001627/0.1612, allocations: 42.56 kB / 0.5854 GB, free: 3.098 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.622e-05/0.1613, allocations: 16.84 kB / 0.5854 GB, free: 3.078 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.438e-05/0.1613, allocations: 0 / 0.5854 GB, free: 3.078 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.089e-05/0.1613, allocations: 30.56 kB / 0.5854 GB, free: 3.039 MB / 494.1 MB Notification: Performance of pre-optimization done (n=3): time 9.52e-07/0.1613, allocations: 4 kB / 0.5854 GB, free: 3.035 MB / 494.1 MB Notification: Performance of matching and sorting (n=3): time 0.0001952/0.1615, allocations: 65.5 kB / 0.5855 GB, free: 2.965 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.72e-05/0.1616, allocations: 51.41 kB / 0.5855 GB, free: 2.902 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.18e-05/0.1616, allocations: 89.86 kB / 0.5856 GB, free: 2.805 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.245e-05/0.1616, allocations: 29.64 kB / 0.5857 GB, free: 2.77 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.171e-05/0.1616, allocations: 84.14 kB / 0.5857 GB, free: 2.684 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.312e-05/0.1617, allocations: 12.12 kB / 0.5858 GB, free: 2.672 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.988e-05/0.1617, allocations: 13.72 kB / 0.5858 GB, free: 2.652 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 9.308e-05/0.1618, allocations: 318.8 kB / 0.5861 GB, free: 2.332 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.006e-05/0.1619, allocations: 11.94 kB / 0.5861 GB, free: 2.32 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.109e-05/0.1619, allocations: 7.984 kB / 0.5861 GB, free: 2.312 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.243e-05/0.162, allocations: 16.86 kB / 0.5861 GB, free: 2.293 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.803e-06/0.162, allocations: 0 / 0.5861 GB, free: 2.293 MB / 494.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001042/0.1621, allocations: 49.67 kB / 0.5862 GB, free: 2.238 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.171e-05/0.1621, allocations: 4 kB / 0.5862 GB, free: 2.234 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.075e-06/0.1621, allocations: 11.94 kB / 0.5862 GB, free: 2.223 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.819e-06/0.1621, allocations: 0 / 0.5862 GB, free: 2.223 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003765/0.1625, allocations: 43.88 kB / 0.5862 GB, free: 2.18 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001142/0.1637, allocations: 1.31 MB / 0.5875 GB, free: 0.7383 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.005e-05/0.1637, allocations: 4.031 kB / 0.5875 GB, free: 0.7344 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.582e-06/0.1637, allocations: 4 kB / 0.5875 GB, free: 0.7305 MB / 494.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 6.721e-05/0.1638, allocations: 113.7 kB / 0.5876 GB, free: 0.6094 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.508e-06/0.1638, allocations: 4 kB / 0.5876 GB, free: 0.6055 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.283e-05/0.1638, allocations: 3.5 kB / 0.5876 GB, free: 0.5977 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.132e-06/0.1638, allocations: 0 / 0.5876 GB, free: 0.5977 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.92e-07/0.1638, allocations: 0 / 0.5876 GB, free: 0.5977 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.104e-06/0.1638, allocations: 0 / 0.5876 GB, free: 0.5977 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.867e-05/0.1639, allocations: 161.7 kB / 0.5878 GB, free: 400 kB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.91e-07/0.164, allocations: 0 / 0.5878 GB, free: 400 kB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000373/0.1643, allocations: 47.92 kB / 0.5878 GB, free: 352 kB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.713e-06/0.1643, allocations: 0 / 0.5878 GB, free: 352 kB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.941e-06/0.1644, allocations: 0 / 0.5878 GB, free: 352 kB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001045/0.1654, allocations: 1.314 MB / 0.5891 GB, free: 14.9 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.42e-07/0.1654, allocations: 0 / 0.5891 GB, free: 14.9 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001228/0.1655, allocations: 81.02 kB / 0.5892 GB, free: 14.8 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 2.974e-05/0.1656, allocations: 77.11 kB / 0.5892 GB, free: 14.71 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.929e-06/0.1656, allocations: 8 kB / 0.5893 GB, free: 14.7 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.825e-05/0.1656, allocations: 4.094 kB / 0.5893 GB, free: 14.7 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.671e-05/0.1657, allocations: 3.984 kB / 0.5893 GB, free: 14.7 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.458e-06/0.1657, allocations: 4 kB / 0.5893 GB, free: 14.69 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 2.346e-05/0.1657, allocations: 76.94 kB / 0.5893 GB, free: 14.62 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1e-07/0.1657, allocations: 0 / 0.5893 GB, free: 14.62 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.000193/0.1659, allocations: 11.94 kB / 0.5893 GB, free: 14.61 MB / 0.4981 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.0003957/0.1663, allocations: 0.6085 MB / 0.5899 GB, free: 13.96 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0004453/0.1668, allocations: 59.86 kB / 0.59 GB, free: 13.91 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.114e-06/0.1668, allocations: 4 kB / 0.59 GB, free: 13.9 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0002369/0.167, allocations: 39.89 kB / 0.59 GB, free: 13.86 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001305/0.1671, allocations: 4 kB / 0.59 GB, free: 13.86 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003764/0.1675, allocations: 136.5 kB / 0.5902 GB, free: 13.69 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002056/0.1677, allocations: 0.677 MB / 0.5908 GB, free: 12.98 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 3.176e-05/0.1678, allocations: 0 / 0.5908 GB, free: 12.98 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.298e-05/0.1678, allocations: 11.44 kB / 0.5908 GB, free: 12.97 MB / 0.4981 GB Notification: Performance of SimCode: time 2.51e-07/0.1678, allocations: 0 / 0.5908 GB, free: 12.97 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01064/0.1785, allocations: 1.117 MB / 0.5919 GB, free: 12.01 MB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000217/0.1787, allocations: 240 kB / 0.5922 GB, free: 11.75 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.686/1.864, allocations: 0 / 0.5922 GB, free: 11.75 MB / 0.4981 GB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Utilities_Math_Functions_Examples_PowerLinearized_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Utilities_Math_Functions_Examples_PowerLinearized.fmu > IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.PowerLinearized.pipe 2>&1)