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.000974/0.000974, allocations: 91.3 kB / 15.36 MB, free: 0.7383 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.005268/0.005268, allocations: 172.4 kB / 16.26 MB, free: 6.613 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.331/1.331, allocations: 223.3 MB / 240.3 MB, free: 5.336 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9159/0.9159, allocations: 135.3 MB / 426.7 MB, free: 14.34 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002872/0.0002872, allocations: 8 kB / 0.5077 GB, free: 4.629 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1432/0.1435, allocations: 82.32 MB / 0.5881 GB, free: 2.484 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.PowerLinearized): time 0.0006011/0.1441, allocations: 311.1 kB / 0.5884 GB, free: 2.176 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002738/0.1444, allocations: 95.78 kB / 0.5885 GB, free: 2.082 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.758e-06/0.1444, allocations: 0 / 0.5885 GB, free: 2.082 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 1.149e-05/0.1445, allocations: 3.938 kB / 0.5885 GB, free: 2.078 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 3.141e-05/0.1445, allocations: 0 / 0.5885 GB, free: 2.078 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001393/0.1446, allocations: 11.98 kB / 0.5885 GB, free: 2.066 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 3.833e-05/0.1447, allocations: 4 kB / 0.5885 GB, free: 2.062 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.808e-05/0.1447, allocations: 4 kB / 0.5885 GB, free: 2.059 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.883e-05/0.1448, allocations: 7.938 kB / 0.5885 GB, free: 2.051 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.012e-05/0.1448, allocations: 4 kB / 0.5885 GB, free: 2.047 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 9.719e-06/0.1448, allocations: 0 / 0.5885 GB, free: 2.047 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.013e-05/0.1449, allocations: 23.98 kB / 0.5885 GB, free: 2.023 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 1.12e-05/0.1449, allocations: 3.984 kB / 0.5885 GB, free: 2.02 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 2.593e-05/0.1449, allocations: 29.69 kB / 0.5886 GB, free: 1.984 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 6.628e-05/0.145, allocations: 11.92 kB / 0.5886 GB, free: 1.973 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.388e-06/0.145, allocations: 4 kB / 0.5886 GB, free: 1.969 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.563e-06/0.145, allocations: 0 / 0.5886 GB, free: 1.969 MB / 494.1 MB Notification: Performance of Transformations before backend: time 2.895e-06/0.145, allocations: 4 kB / 0.5886 GB, free: 1.965 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.0002747/0.1453, allocations: 307.6 kB / 0.5889 GB, free: 1.613 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.415e-05/0.1454, allocations: 8.031 kB / 0.5889 GB, free: 1.605 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.358e-05/0.1454, allocations: 38.73 kB / 0.5889 GB, free: 1.559 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000133/0.1455, allocations: 8.922 kB / 0.5889 GB, free: 1.551 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.266e-05/0.1456, allocations: 164.3 kB / 0.5891 GB, free: 1.352 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.629e-05/0.1456, allocations: 4.375 kB / 0.5891 GB, free: 1.348 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.336e-06/0.1457, allocations: 4.375 kB / 0.5891 GB, free: 1.344 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001018/0.1458, allocations: 34.25 kB / 0.5891 GB, free: 1.305 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.723e-06/0.1458, allocations: 3.938 kB / 0.5891 GB, free: 1.301 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.542e-06/0.1458, allocations: 0 / 0.5891 GB, free: 1.301 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.604e-06/0.1458, allocations: 7.984 kB / 0.5891 GB, free: 1.293 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.304e-05/0.1459, allocations: 15.98 kB / 0.5892 GB, free: 1.277 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001303/0.146, allocations: 153.7 kB / 0.5893 GB, free: 1.078 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001489/0.1462, allocations: 46.55 kB / 0.5893 GB, free: 1.023 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.298e-05/0.1462, allocations: 12.91 kB / 0.5894 GB, free: 1.008 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.137e-05/0.1463, allocations: 7.938 kB / 0.5894 GB, free: 1 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.931e-05/0.1463, allocations: 34.56 kB / 0.5894 GB, free: 0.957 MB / 494.1 MB Notification: Performance of pre-optimization done (n=3): time 1.022e-06/0.1463, allocations: 0 / 0.5894 GB, free: 0.957 MB / 494.1 MB Notification: Performance of matching and sorting (n=3): time 0.0001896/0.1465, allocations: 61.52 kB / 0.5895 GB, free: 0.8906 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.93e-05/0.1465, allocations: 51.41 kB / 0.5895 GB, free: 0.8281 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.09e-05/0.1465, allocations: 89.86 kB / 0.5896 GB, free: 0.7305 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.934e-05/0.1466, allocations: 33.64 kB / 0.5896 GB, free: 0.6914 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.124e-05/0.1466, allocations: 80.14 kB / 0.5897 GB, free: 0.6094 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.542e-05/0.1466, allocations: 12.12 kB / 0.5897 GB, free: 0.5977 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.28e-05/0.1467, allocations: 13.72 kB / 0.5897 GB, free: 0.5781 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 9.228e-05/0.1468, allocations: 314.8 kB / 0.59 GB, free: 268 kB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.522e-05/0.1468, allocations: 4 kB / 0.59 GB, free: 264 kB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.013e-05/0.1468, allocations: 15.92 kB / 0.59 GB, free: 248 kB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.834e-05/0.1469, allocations: 20.86 kB / 0.5901 GB, free: 224 kB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.563e-06/0.1469, allocations: 0 / 0.5901 GB, free: 224 kB / 494.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001028/0.147, allocations: 53.67 kB / 0.5901 GB, free: 164 kB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.057e-05/0.1471, allocations: 5.875 kB / 0.5901 GB, free: 160 kB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.538e-06/0.1471, allocations: 3.938 kB / 0.5901 GB, free: 156 kB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.676e-06/0.1471, allocations: 0 / 0.5901 GB, free: 156 kB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003613/0.1474, allocations: 43.88 kB / 0.5902 GB, free: 112 kB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001232/0.1487, allocations: 1.314 MB / 0.5915 GB, free: 14.66 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.642e-05/0.1487, allocations: 0 / 0.5915 GB, free: 14.66 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.538e-06/0.1487, allocations: 336 / 0.5915 GB, free: 14.66 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 7.437e-05/0.1488, allocations: 117.8 kB / 0.5916 GB, free: 14.54 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.722e-06/0.1488, allocations: 0 / 0.5916 GB, free: 14.54 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.359e-05/0.1488, allocations: 7.5 kB / 0.5916 GB, free: 14.53 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.958e-06/0.1489, allocations: 8.078 kB / 0.5916 GB, free: 14.52 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.705e-06/0.1489, allocations: 4 kB / 0.5916 GB, free: 14.52 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.764e-06/0.1489, allocations: 0 / 0.5916 GB, free: 14.52 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.383e-05/0.149, allocations: 157.6 kB / 0.5917 GB, free: 14.31 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.62e-07/0.149, allocations: 0 / 0.5917 GB, free: 14.31 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000352/0.1493, allocations: 47.92 kB / 0.5918 GB, free: 14.27 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.603e-06/0.1493, allocations: 4 kB / 0.5918 GB, free: 14.26 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.23e-06/0.1493, allocations: 0 / 0.5918 GB, free: 14.26 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001029/0.1504, allocations: 1.306 MB / 0.5931 GB, free: 12.83 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.91e-07/0.1504, allocations: 0 / 0.5931 GB, free: 12.83 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001184/0.1505, allocations: 77.17 kB / 0.5931 GB, free: 12.73 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 3.662e-05/0.1506, allocations: 81.11 kB / 0.5932 GB, free: 12.64 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.44e-06/0.1506, allocations: 4 kB / 0.5932 GB, free: 12.63 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.416e-05/0.1506, allocations: 0 / 0.5932 GB, free: 12.63 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.722e-05/0.1506, allocations: 3.984 kB / 0.5932 GB, free: 12.63 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.198e-06/0.1506, allocations: 4 kB / 0.5932 GB, free: 12.62 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 2.321e-05/0.1507, allocations: 80.89 kB / 0.5933 GB, free: 12.55 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.2e-07/0.1507, allocations: 0 / 0.5933 GB, free: 12.55 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0001851/0.1509, allocations: 7.938 kB / 0.5933 GB, free: 12.54 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.0003783/0.1512, allocations: 0.6085 MB / 0.5939 GB, free: 11.9 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0004223/0.1517, allocations: 59.92 kB / 0.594 GB, free: 11.84 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.993e-06/0.1517, allocations: 3.938 kB / 0.594 GB, free: 11.84 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.000227/0.1519, allocations: 39.89 kB / 0.594 GB, free: 11.8 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001217/0.1521, allocations: 8 kB / 0.594 GB, free: 11.79 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003337/0.1524, allocations: 128.5 kB / 0.5941 GB, free: 11.62 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002054/0.1526, allocations: 0.6773 MB / 0.5948 GB, free: 10.92 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 3.179e-05/0.1526, allocations: 7.984 kB / 0.5948 GB, free: 10.91 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.708e-05/0.1527, allocations: 7.438 kB / 0.5948 GB, free: 10.91 MB / 0.4981 GB Notification: Performance of SimCode: time 3e-07/0.1527, allocations: 0 / 0.5948 GB, free: 10.91 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.016/0.1687, allocations: 1.055 MB / 0.5958 GB, free: 10.03 MB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003042/0.169, allocations: 228.4 kB / 0.5961 GB, free: 9.781 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.639/1.808, allocations: 0 / 0.5961 GB, free: 9.781 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)