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: "" <> buildModelFMU(IDEAS.Utilities.Math.Functions.Examples.PowerLinearized,fileNamePrefix="IDEAS_IDEAS_Utilities_Math_Functions_Examples_PowerLinearized",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Utilities.Math.Functions.Examples.PowerLinearized,fileNamePrefix="IDEAS_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.000943/0.0009429, 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.0009875/0.0009875, allocations: 192.1 kB / 16.13 MB, free: 6.66 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.334/1.334, allocations: 222.9 MB / 239.8 MB, free: 4.605 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7506/0.7506, allocations: 132.2 MB / 422.1 MB, free: 2.027 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001228/0.001228, allocations: 64.56 kB / 0.5012 GB, free: 9.117 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1524/0.1536, allocations: 80.2 MB / 0.5795 GB, free: 9.145 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.PowerLinearized): time 0.001652/0.1553, allocations: 0.6513 MB / 0.5801 GB, free: 8.488 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002929/0.1556, allocations: 91.73 kB / 0.5802 GB, free: 8.398 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.003e-05/0.1556, allocations: 0 / 0.5802 GB, free: 8.398 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 1.647e-05/0.1557, allocations: 0 / 0.5802 GB, free: 8.398 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 3.78e-05/0.1557, allocations: 0 / 0.5802 GB, free: 8.398 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001657/0.1559, allocations: 19.97 kB / 0.5803 GB, free: 8.379 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 3.841e-05/0.1559, allocations: 4 kB / 0.5803 GB, free: 8.375 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.784e-05/0.156, allocations: 3.984 kB / 0.5803 GB, free: 8.371 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.315e-05/0.156, allocations: 11.94 kB / 0.5803 GB, free: 8.359 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.813e-05/0.1561, allocations: 7.938 kB / 0.5803 GB, free: 8.352 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.258e-05/0.1561, allocations: 0 / 0.5803 GB, free: 8.352 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.334e-05/0.1562, allocations: 19.98 kB / 0.5803 GB, free: 8.332 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 1.109e-05/0.1562, allocations: 0 / 0.5803 GB, free: 8.332 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 2.008e-05/0.1562, allocations: 3.984 kB / 0.5803 GB, free: 8.328 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 7.856e-05/0.1563, allocations: 19.92 kB / 0.5803 GB, free: 8.309 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.988e-06/0.1563, allocations: 0 / 0.5803 GB, free: 8.309 MB / 494.1 MB Notification: Performance of FrontEnd: time 7.21e-07/0.1563, allocations: 0 / 0.5803 GB, free: 8.309 MB / 494.1 MB Notification: Performance of Transformations before backend: time 4.007e-06/0.1563, allocations: 0 / 0.5803 GB, free: 8.309 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.0003116/0.1566, allocations: 315.6 kB / 0.5806 GB, free: 7.949 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.953e-05/0.1567, allocations: 12.03 kB / 0.5806 GB, free: 7.938 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.195e-05/0.1567, allocations: 30.75 kB / 0.5807 GB, free: 7.898 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000148/0.1569, allocations: 16.92 kB / 0.5807 GB, free: 7.883 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.017e-05/0.1569, allocations: 164.4 kB / 0.5808 GB, free: 7.684 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.982e-05/0.157, allocations: 384 / 0.5808 GB, free: 7.684 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.536e-06/0.157, allocations: 8.359 kB / 0.5808 GB, free: 7.676 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001134/0.1571, allocations: 38.25 kB / 0.5809 GB, free: 7.633 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.386e-06/0.1571, allocations: 7.938 kB / 0.5809 GB, free: 7.625 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.866e-06/0.1571, allocations: 4 kB / 0.5809 GB, free: 7.621 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.871e-06/0.1572, allocations: 0 / 0.5809 GB, free: 7.621 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.568e-05/0.1572, allocations: 15.92 kB / 0.5809 GB, free: 7.605 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001394/0.1574, allocations: 157.6 kB / 0.5811 GB, free: 7.402 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001575/0.1575, allocations: 38.62 kB / 0.5811 GB, free: 7.355 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.815e-05/0.1576, allocations: 20.84 kB / 0.5811 GB, free: 7.332 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.177e-05/0.1576, allocations: 0 / 0.5811 GB, free: 7.332 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.729e-05/0.1576, allocations: 30.56 kB / 0.5811 GB, free: 7.293 MB / 494.1 MB Notification: Performance of pre-optimization done (n=3): time 7.92e-07/0.1576, allocations: 0 / 0.5811 GB, free: 7.293 MB / 494.1 MB Notification: Performance of matching and sorting (n=3): time 0.0002009/0.1578, allocations: 61.55 kB / 0.5812 GB, free: 7.227 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.057e-05/0.1579, allocations: 51.41 kB / 0.5813 GB, free: 7.164 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.943e-05/0.1579, allocations: 93.86 kB / 0.5813 GB, free: 7.062 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.069e-05/0.1579, allocations: 25.7 kB / 0.5814 GB, free: 7.031 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.821e-05/0.158, allocations: 88.08 kB / 0.5814 GB, free: 6.941 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.088e-05/0.158, allocations: 12.12 kB / 0.5815 GB, free: 6.93 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.826e-05/0.158, allocations: 13.72 kB / 0.5815 GB, free: 6.91 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 9.066e-05/0.1581, allocations: 314.8 kB / 0.5818 GB, free: 6.594 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.131e-05/0.1582, allocations: 8 kB / 0.5818 GB, free: 6.586 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.017e-05/0.1582, allocations: 11.92 kB / 0.5818 GB, free: 6.574 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.486e-05/0.1583, allocations: 24.8 kB / 0.5818 GB, free: 6.547 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.523e-06/0.1583, allocations: 0 / 0.5818 GB, free: 6.547 MB / 494.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001053/0.1584, allocations: 49.67 kB / 0.5819 GB, free: 6.492 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.231e-05/0.1584, allocations: 4 kB / 0.5819 GB, free: 6.488 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.853e-06/0.1584, allocations: 7.938 kB / 0.5819 GB, free: 6.48 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.114e-05/0.1585, allocations: 0 / 0.5819 GB, free: 6.48 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003841/0.1589, allocations: 43.94 kB / 0.5819 GB, free: 6.438 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001142/0.16, allocations: 1.31 MB / 0.5832 GB, free: 4.992 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.936e-05/0.16, allocations: 4.031 kB / 0.5832 GB, free: 4.988 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.983e-06/0.1601, allocations: 4 kB / 0.5832 GB, free: 4.984 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.597e-05/0.1601, allocations: 113.9 kB / 0.5833 GB, free: 4.863 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.377e-06/0.1601, allocations: 4 kB / 0.5833 GB, free: 4.859 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.128e-05/0.1602, allocations: 3.5 kB / 0.5833 GB, free: 4.855 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.172e-06/0.1602, allocations: 0 / 0.5833 GB, free: 4.855 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.092e-06/0.1602, allocations: 0 / 0.5833 GB, free: 4.855 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.034e-06/0.1602, allocations: 0 / 0.5833 GB, free: 4.855 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.455e-05/0.1603, allocations: 161.6 kB / 0.5835 GB, free: 4.648 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.31e-07/0.1603, allocations: 0 / 0.5835 GB, free: 4.648 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003704/0.1607, allocations: 51.92 kB / 0.5835 GB, free: 4.598 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.523e-06/0.1607, allocations: 0 / 0.5835 GB, free: 4.598 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.893e-06/0.1607, allocations: 0 / 0.5835 GB, free: 4.598 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001012/0.1617, allocations: 1.31 MB / 0.5848 GB, free: 3.156 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.142e-06/0.1617, allocations: 0 / 0.5848 GB, free: 3.156 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001243/0.1618, allocations: 85.17 kB / 0.5849 GB, free: 3.055 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.567e-05/0.1619, allocations: 77.11 kB / 0.585 GB, free: 2.961 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.724e-06/0.1619, allocations: 4 kB / 0.585 GB, free: 2.957 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.633e-05/0.1619, allocations: 0 / 0.585 GB, free: 2.957 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.988e-05/0.1619, allocations: 3.984 kB / 0.585 GB, free: 2.953 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.348e-06/0.1619, allocations: 4 kB / 0.585 GB, free: 2.949 MB / 494.1 MB Notification: Performance of sorting global known variables: time 2.488e-05/0.162, allocations: 77.05 kB / 0.585 GB, free: 2.875 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.162, allocations: 4 kB / 0.585 GB, free: 2.871 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.000192/0.1622, allocations: 11.94 kB / 0.5851 GB, free: 2.859 MB / 494.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.0003642/0.1625, allocations: 0.6009 MB / 0.5856 GB, free: 2.23 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0004368/0.163, allocations: 63.84 kB / 0.5857 GB, free: 2.168 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 2.365e-06/0.163, allocations: 7.875 kB / 0.5857 GB, free: 2.16 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002363/0.1633, allocations: 39.95 kB / 0.5857 GB, free: 2.121 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000134/0.1634, allocations: 8 kB / 0.5858 GB, free: 2.113 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003941/0.1638, allocations: 131.3 kB / 0.5859 GB, free: 1.949 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002052/0.164, allocations: 0.6731 MB / 0.5865 GB, free: 1.25 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 3.303e-05/0.1641, allocations: 4 kB / 0.5865 GB, free: 1.246 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.969e-05/0.1641, allocations: 7.438 kB / 0.5866 GB, free: 1.242 MB / 494.1 MB Notification: Performance of SimCode: time 3.41e-07/0.1641, allocations: 4 kB / 0.5866 GB, free: 1.238 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01169/0.1758, allocations: 1.113 MB / 0.5876 GB, free: 284 kB / 494.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001744/0.176, allocations: 222.1 kB / 0.5879 GB, free: 28 kB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.608/1.784, allocations: 3.281 kB / 0.5879 GB, free: 28 kB / 494.1 MB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Utilities_Math_Functions_Examples_PowerLinearized_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Utilities_Math_Functions_Examples_PowerLinearized.fmu > IDEAS_IDEAS.Utilities.Math.Functions.Examples.PowerLinearized.pipe 2>&1)