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.001789/0.001789, allocations: 100.3 kB / 15.05 MB, free: 1.105 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.002193/0.002193, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.238/2.238, allocations: 223.2 MB / 239.9 MB, free: 5.355 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 1.464/1.464, allocations: 135.2 MB / 426.2 MB, free: 14.38 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0005389/0.000539, allocations: 12.53 kB / 0.5069 GB, free: 5.129 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.254/0.2546, allocations: 82.32 MB / 0.5873 GB, free: 2.992 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.PowerLinearized): time 0.001103/0.2557, allocations: 303.1 kB / 0.5876 GB, free: 2.691 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004041/0.2562, allocations: 87.8 kB / 0.5877 GB, free: 2.605 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.976e-05/0.2562, allocations: 4 kB / 0.5877 GB, free: 2.602 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 1.517e-05/0.2563, allocations: 0 / 0.5877 GB, free: 2.602 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 6.891e-05/0.2563, allocations: 0 / 0.5877 GB, free: 2.602 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002324/0.2566, allocations: 15.91 kB / 0.5877 GB, free: 2.586 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 6.595e-05/0.2567, allocations: 8 kB / 0.5877 GB, free: 2.578 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.488e-05/0.2567, allocations: 3.984 kB / 0.5877 GB, free: 2.574 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.467e-05/0.2568, allocations: 0 / 0.5877 GB, free: 2.574 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001105/0.2569, allocations: 7.938 kB / 0.5877 GB, free: 2.566 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.451e-05/0.2569, allocations: 0 / 0.5877 GB, free: 2.566 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.811e-05/0.257, allocations: 15.98 kB / 0.5877 GB, free: 2.551 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 1.097e-05/0.2571, allocations: 4 kB / 0.5877 GB, free: 2.547 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 4.17e-05/0.2571, allocations: 25.7 kB / 0.5877 GB, free: 2.516 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 8.487e-05/0.2572, allocations: 11.97 kB / 0.5878 GB, free: 2.504 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.516e-06/0.2572, allocations: 0 / 0.5878 GB, free: 2.504 MB / 494.1 MB Notification: Performance of FrontEnd: time 2.375e-06/0.2573, allocations: 0 / 0.5878 GB, free: 2.504 MB / 494.1 MB Notification: Performance of Transformations before backend: time 4.598e-06/0.2573, allocations: 0 / 0.5878 GB, free: 2.504 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.0004977/0.2578, allocations: 311.4 kB / 0.5881 GB, free: 2.152 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.044e-05/0.2578, allocations: 8.031 kB / 0.5881 GB, free: 2.145 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.098e-05/0.2579, allocations: 38.56 kB / 0.5881 GB, free: 2.098 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002499/0.2582, allocations: 15.92 kB / 0.5881 GB, free: 2.082 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001702/0.2584, allocations: 163 kB / 0.5883 GB, free: 1.883 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.363e-05/0.2584, allocations: 0 / 0.5883 GB, free: 1.883 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.696e-05/0.2584, allocations: 0 / 0.5883 GB, free: 1.883 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001937/0.2587, allocations: 45.62 kB / 0.5883 GB, free: 1.832 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.092e-05/0.2587, allocations: 0 / 0.5883 GB, free: 1.832 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.287e-05/0.2587, allocations: 0 / 0.5883 GB, free: 1.832 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.086e-05/0.2587, allocations: 3.984 kB / 0.5883 GB, free: 1.828 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001454/0.2589, allocations: 11.98 kB / 0.5883 GB, free: 1.816 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002512/0.2592, allocations: 161.5 kB / 0.5885 GB, free: 1.609 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002824/0.2595, allocations: 38.7 kB / 0.5885 GB, free: 1.562 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.795e-05/0.2595, allocations: 7.922 kB / 0.5885 GB, free: 1.555 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.435e-05/0.2596, allocations: 30.56 kB / 0.5886 GB, free: 1.516 MB / 494.1 MB Notification: Performance of pre-optimization done (n=3): time 2.595e-06/0.2596, allocations: 3.938 kB / 0.5886 GB, free: 1.512 MB / 494.1 MB Notification: Performance of matching and sorting (n=3): time 0.0003462/0.26, allocations: 57.75 kB / 0.5886 GB, free: 1.449 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.737e-05/0.26, allocations: 55.39 kB / 0.5887 GB, free: 1.383 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.805e-05/0.2601, allocations: 93.86 kB / 0.5888 GB, free: 1.281 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 2.399e-05/0.2602, allocations: 29.7 kB / 0.5888 GB, free: 1.246 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.242e-05/0.2602, allocations: 80.14 kB / 0.5889 GB, free: 1.164 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.636e-05/0.2603, allocations: 8.125 kB / 0.5889 GB, free: 1.156 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.207e-06/0.2603, allocations: 4 kB / 0.5889 GB, free: 1.152 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001774/0.2605, allocations: 314.8 kB / 0.5892 GB, free: 0.8359 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.363e-05/0.2606, allocations: 7.984 kB / 0.5892 GB, free: 0.8281 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.348e-05/0.2607, allocations: 7.938 kB / 0.5892 GB, free: 0.8203 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001019/0.2608, allocations: 8 kB / 0.5892 GB, free: 0.8125 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.953e-06/0.2608, allocations: 3.984 kB / 0.5892 GB, free: 0.8086 MB / 494.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.000394/0.2612, allocations: 49.64 kB / 0.5892 GB, free: 0.7539 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.372e-05/0.2613, allocations: 8 kB / 0.5893 GB, free: 0.7461 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.155e-06/0.2613, allocations: 0 / 0.5893 GB, free: 0.7461 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.748e-05/0.2613, allocations: 0 / 0.5893 GB, free: 0.7461 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006854/0.262, allocations: 43.94 kB / 0.5893 GB, free: 0.7031 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002379/0.2644, allocations: 1.313 MB / 0.5906 GB, free: 15.26 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.013e-05/0.2645, allocations: 4.25 kB / 0.5906 GB, free: 15.25 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.949e-06/0.2645, allocations: 0 / 0.5906 GB, free: 15.25 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 (linear and non-linear blocks): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001481/0.2647, allocations: 117.8 kB / 0.5907 GB, free: 15.13 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.603e-05/0.2647, allocations: 0 / 0.5907 GB, free: 15.13 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.081e-05/0.2647, allocations: 7.484 kB / 0.5907 GB, free: 15.12 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.787e-06/0.2648, allocations: 336 / 0.5907 GB, free: 15.12 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.485e-06/0.2648, allocations: 0 / 0.5907 GB, free: 15.12 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.526e-06/0.2648, allocations: 0 / 0.5907 GB, free: 15.12 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001685/0.265, allocations: 153.7 kB / 0.5909 GB, free: 14.92 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.204e-05/0.265, allocations: 11.94 kB / 0.5909 GB, free: 14.91 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006619/0.2657, allocations: 47.88 kB / 0.5909 GB, free: 14.86 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.479e-06/0.2657, allocations: 3.938 kB / 0.5909 GB, free: 14.86 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.126e-05/0.2658, allocations: 0 / 0.5909 GB, free: 14.86 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00214/0.2679, allocations: 1.31 MB / 0.5922 GB, free: 13.42 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.866e-06/0.2679, allocations: 0 / 0.5922 GB, free: 13.42 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002356/0.2682, allocations: 81.08 kB / 0.5923 GB, free: 13.32 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 8.064e-05/0.2683, allocations: 81.06 kB / 0.5923 GB, free: 13.22 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.346e-05/0.2683, allocations: 3.938 kB / 0.5924 GB, free: 13.22 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.38e-05/0.2684, allocations: 4.188 kB / 0.5924 GB, free: 13.21 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.158e-05/0.2684, allocations: 4 kB / 0.5924 GB, free: 13.21 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.362e-06/0.2684, allocations: 0 / 0.5924 GB, free: 13.21 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 5.275e-05/0.2685, allocations: 79.28 kB / 0.5924 GB, free: 13.13 MB / 0.4981 GB Notification: Performance of sort global known variables: time 4.2e-07/0.2685, allocations: 0 / 0.5924 GB, free: 13.13 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0003819/0.2689, allocations: 4 kB / 0.5924 GB, free: 13.13 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 (linear and non-linear blocks): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0007319/0.2697, allocations: 0.6163 MB / 0.593 GB, free: 12.48 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0007874/0.2705, allocations: 55.91 kB / 0.5931 GB, free: 12.43 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 7.244e-06/0.2705, allocations: 4 kB / 0.5931 GB, free: 12.42 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0004321/0.2709, allocations: 39.95 kB / 0.5931 GB, free: 12.38 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001506/0.2711, allocations: 2.516 kB / 0.5931 GB, free: 12.38 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006421/0.2718, allocations: 128.5 kB / 0.5933 GB, free: 12.22 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003831/0.2722, allocations: 0.677 MB / 0.5939 GB, free: 11.52 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 6.012e-05/0.2723, allocations: 4.281 kB / 0.5939 GB, free: 11.52 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.333e-05/0.2723, allocations: 11.44 kB / 0.5939 GB, free: 11.5 MB / 0.4981 GB Notification: Performance of SimCode: time 5.41e-07/0.2723, allocations: 0 / 0.5939 GB, free: 11.5 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02245/0.2948, allocations: 1.048 MB / 0.595 GB, free: 10.64 MB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003141/0.2952, allocations: 212.5 kB / 0.5952 GB, free: 10.39 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.709/3.004, allocations: 0 / 0.5952 GB, free: 10.39 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/linux/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) Environment - environmentSimulation: