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/Complex 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) 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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/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) 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/Complex 4.0.0+maint.om/package.mo): time 0.006042/0.006042, allocations: 171.5 kB / 15.12 MB, free: 5.973 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7432/0.7432, allocations: 135.2 MB / 151 MB, free: 13.83 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.496/1.496, allocations: 223.2 MB / 406.8 MB, free: 3.238 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00105/0.00105, allocations: 90.67 kB / 489.9 MB, free: 10.91 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003872/0.0003872, allocations: 8 kB / 0.5692 GB, free: 14.05 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4283/0.4287, allocations: 82.3 MB / 0.6495 GB, free: 36.12 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1474/0.5762, allocations: 110.6 MB / 0.7575 GB, free: 5.379 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003783/0.5767, allocations: 83.94 kB / 0.7576 GB, free: 5.297 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 0.002838/0.5795, allocations: 0.9664 MB / 0.7586 GB, free: 4.332 MB / 0.5261 GB Notification: Performance of FrontEnd: time 3.346e-06/0.5796, allocations: 4 kB / 0.7586 GB, free: 4.328 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 8.977e-06/0.5796, allocations: 0 / 0.7586 GB, free: 4.328 MB / 0.5261 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.0003354/0.5799, allocations: 323.4 kB / 0.7589 GB, free: 3.965 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 5.471e-05/0.58, allocations: 8.031 kB / 0.7589 GB, free: 3.957 MB / 0.5261 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.795e-05/0.5801, allocations: 34.56 kB / 0.7589 GB, free: 3.914 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001759/0.5802, allocations: 11.98 kB / 0.7589 GB, free: 3.902 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001169/0.5804, allocations: 167 kB / 0.7591 GB, free: 3.699 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.317e-05/0.5804, allocations: 0 / 0.7591 GB, free: 3.699 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.959e-06/0.5804, allocations: 0 / 0.7591 GB, free: 3.699 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001383/0.5806, allocations: 37.69 kB / 0.7591 GB, free: 3.656 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.308e-06/0.5806, allocations: 0 / 0.7591 GB, free: 3.656 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.129e-05/0.5806, allocations: 8 kB / 0.7591 GB, free: 3.648 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.253e-06/0.5806, allocations: 0 / 0.7591 GB, free: 3.648 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.827e-05/0.5807, allocations: 11.98 kB / 0.7591 GB, free: 3.637 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002089/0.5809, allocations: 157.6 kB / 0.7593 GB, free: 3.434 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001677/0.5811, allocations: 42.64 kB / 0.7593 GB, free: 3.383 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 1.982e-05/0.5811, allocations: 7.922 kB / 0.7593 GB, free: 3.375 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.295e-05/0.5812, allocations: 34.56 kB / 0.7594 GB, free: 3.332 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=3): time 2.885e-06/0.5812, allocations: 0 / 0.7594 GB, free: 3.332 MB / 0.5261 GB Notification: Performance of matching and sorting (n=3): time 0.0002562/0.5814, allocations: 61.59 kB / 0.7594 GB, free: 3.266 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.667e-05/0.5815, allocations: 59.33 kB / 0.7595 GB, free: 3.195 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.177e-05/0.5816, allocations: 85 kB / 0.7596 GB, free: 3.105 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 1.95e-05/0.5816, allocations: 29.7 kB / 0.7596 GB, free: 3.07 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 4.021e-05/0.5816, allocations: 80.14 kB / 0.7597 GB, free: 2.988 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 5.066e-05/0.5817, allocations: 7.906 kB / 0.7597 GB, free: 2.98 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.286e-06/0.5817, allocations: 0 / 0.7597 GB, free: 2.98 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0001716/0.5819, allocations: 314.8 kB / 0.76 GB, free: 2.664 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.18e-05/0.5819, allocations: 7.984 kB / 0.76 GB, free: 2.656 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.142e-05/0.582, allocations: 4 kB / 0.76 GB, free: 2.652 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.378e-05/0.582, allocations: 8 kB / 0.76 GB, free: 2.645 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.256e-06/0.582, allocations: 0 / 0.76 GB, free: 2.645 MB / 0.5261 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001508/0.5822, allocations: 57.91 kB / 0.7601 GB, free: 2.582 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 2.281e-05/0.5822, allocations: 8 kB / 0.7601 GB, free: 2.574 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.165e-06/0.5823, allocations: 48 / 0.7601 GB, free: 2.574 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.528e-05/0.5823, allocations: 3.984 kB / 0.7601 GB, free: 2.57 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004135/0.5827, allocations: 39.94 kB / 0.7601 GB, free: 2.531 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0015/0.5842, allocations: 1.317 MB / 0.7614 GB, free: 1.082 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.333e-05/0.5843, allocations: 0 / 0.7614 GB, free: 1.082 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.614e-06/0.5843, allocations: 0 / 0.7614 GB, free: 1.082 MB / 0.5261 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.0001031/0.5844, allocations: 117.8 kB / 0.7615 GB, free: 0.957 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.258e-05/0.5844, allocations: 7.938 kB / 0.7615 GB, free: 0.9492 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.721e-05/0.5844, allocations: 3.5 kB / 0.7615 GB, free: 0.9414 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.162e-06/0.5844, allocations: 192 / 0.7615 GB, free: 0.9414 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.575e-06/0.5844, allocations: 4 kB / 0.7615 GB, free: 0.9375 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.166e-06/0.5845, allocations: 4 kB / 0.7615 GB, free: 0.9336 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001181/0.5846, allocations: 153.7 kB / 0.7617 GB, free: 0.7344 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.423e-06/0.5846, allocations: 0 / 0.7617 GB, free: 0.7344 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003589/0.5849, allocations: 47.89 kB / 0.7617 GB, free: 0.6875 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.516e-06/0.585, allocations: 4 kB / 0.7617 GB, free: 0.6836 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.474e-06/0.585, allocations: 0 / 0.7617 GB, free: 0.6836 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001192/0.5862, allocations: 1.31 MB / 0.763 GB, free: 15.24 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.657e-06/0.5862, allocations: 4.031 kB / 0.763 GB, free: 15.24 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000143/0.5863, allocations: 81.28 kB / 0.7631 GB, free: 15.14 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 4.337e-05/0.5864, allocations: 81.06 kB / 0.7632 GB, free: 15.04 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.095e-06/0.5864, allocations: 0 / 0.7632 GB, free: 15.04 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.923e-05/0.5864, allocations: 7.938 kB / 0.7632 GB, free: 15.04 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.17e-05/0.5865, allocations: 0 / 0.7632 GB, free: 15.04 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.211e-06/0.5865, allocations: 3.984 kB / 0.7632 GB, free: 15.03 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 2.897e-05/0.5865, allocations: 79.22 kB / 0.7632 GB, free: 14.95 MB / 0.5417 GB Notification: Performance of sort global known variables: time 1.01e-07/0.5865, allocations: 0 / 0.7632 GB, free: 14.95 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.0001934/0.5867, allocations: 8 kB / 0.7633 GB, free: 14.95 MB / 0.5417 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.00047/0.5872, allocations: 0.6124 MB / 0.7638 GB, free: 14.3 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.0004397/0.5877, allocations: 55.92 kB / 0.7639 GB, free: 14.25 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 3.106e-06/0.5877, allocations: 0 / 0.7639 GB, free: 14.25 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.0002143/0.5879, allocations: 35.91 kB / 0.7639 GB, free: 14.21 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001004/0.588, allocations: 5.031 kB / 0.7639 GB, free: 14.21 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004586/0.5885, allocations: 128.9 kB / 0.7641 GB, free: 14.04 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002709/0.5888, allocations: 0.677 MB / 0.7647 GB, free: 13.34 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 3.856e-05/0.5888, allocations: 4 kB / 0.7647 GB, free: 13.33 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.98e-05/0.5888, allocations: 7.438 kB / 0.7647 GB, free: 13.32 MB / 0.5417 GB Notification: Performance of SimCode: time 4.4e-07/0.5889, allocations: 0 / 0.7647 GB, free: 13.32 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01388/0.6027, allocations: 1.022 MB / 0.7657 GB, free: 12.45 MB / 0.5417 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001959/0.603, allocations: 207 kB / 0.7659 GB, free: 12.21 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.474/2.077, allocations: 4 kB / 0.7659 GB, free: 12.21 MB / 0.5417 GB (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/linux/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)