Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.Utilities.Math.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.Examples.PowerLinearized,fileNamePrefix="IDEAS_IDEAS_Utilities_Math_Examples_PowerLinearized",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Utilities.Math.Examples.PowerLinearized,fileNamePrefix="IDEAS_IDEAS_Utilities_Math_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.00906/0.00906, allocations: 170.6 kB / 15.11 MB, free: 5.992 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7555/0.7555, allocations: 135.2 MB / 151 MB, free: 13.84 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.463/1.463, allocations: 223.2 MB / 406.8 MB, free: 3.207 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.0009112/0.0009112, allocations: 93.67 kB / 489.9 MB, free: 10.89 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003746/0.0003746, allocations: 8 kB / 0.5692 GB, free: 14.05 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3756/0.376, allocations: 82.29 MB / 0.6495 GB, free: 36.11 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1526/0.5286, allocations: 111.3 MB / 0.7582 GB, free: 4.684 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003114/0.529, allocations: 75.95 kB / 0.7583 GB, free: 4.609 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 0.002921/0.5319, allocations: 0.7833 MB / 0.759 GB, free: 3.828 MB / 0.5261 GB Notification: Performance of FrontEnd: time 2.425e-06/0.532, allocations: 0 / 0.759 GB, free: 3.828 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 9.678e-06/0.532, allocations: 4 kB / 0.759 GB, free: 3.824 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.0004926/0.5325, allocations: 347.2 kB / 0.7594 GB, free: 3.438 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 5.51e-05/0.5326, allocations: 8.031 kB / 0.7594 GB, free: 3.43 MB / 0.5261 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.473e-05/0.5326, allocations: 38.5 kB / 0.7594 GB, free: 3.383 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002251/0.5329, allocations: 19.97 kB / 0.7594 GB, free: 3.363 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001779/0.5331, allocations: 174.9 kB / 0.7596 GB, free: 3.152 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.919e-05/0.5331, allocations: 4 kB / 0.7596 GB, free: 3.148 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.132e-05/0.5331, allocations: 0 / 0.7596 GB, free: 3.148 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002698/0.5334, allocations: 65.66 kB / 0.7597 GB, free: 3.078 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.315e-06/0.5334, allocations: 0 / 0.7597 GB, free: 3.078 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.242e-05/0.5334, allocations: 0 / 0.7597 GB, free: 3.078 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.909e-06/0.5335, allocations: 0 / 0.7597 GB, free: 3.078 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003475/0.5338, allocations: 67.89 kB / 0.7597 GB, free: 3.012 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006262/0.5344, allocations: 284.8 kB / 0.76 GB, free: 2.684 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002623/0.5347, allocations: 62.53 kB / 0.7601 GB, free: 2.613 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 1.706e-05/0.5348, allocations: 3.984 kB / 0.7601 GB, free: 2.609 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.549e-05/0.5348, allocations: 34.56 kB / 0.7601 GB, free: 2.566 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=2): time 1.352e-06/0.5348, allocations: 0 / 0.7601 GB, free: 2.566 MB / 0.5261 GB Notification: Performance of matching and sorting (n=2): time 0.0006608/0.5355, allocations: 129.7 kB / 0.7602 GB, free: 2.434 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.439e-05/0.5355, allocations: 51.41 kB / 0.7603 GB, free: 2.371 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.229e-05/0.5356, allocations: 97 kB / 0.7604 GB, free: 2.27 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 2.724e-05/0.5357, allocations: 29.64 kB / 0.7604 GB, free: 2.234 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 6.188e-05/0.5357, allocations: 84.12 kB / 0.7605 GB, free: 2.148 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 1.847e-05/0.5358, allocations: 3.906 kB / 0.7605 GB, free: 2.145 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.9e-06/0.5358, allocations: 8.031 kB / 0.7605 GB, free: 2.137 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0001505/0.536, allocations: 318.8 kB / 0.7608 GB, free: 1.816 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001553/0.5361, allocations: 31.97 kB / 0.7608 GB, free: 1.785 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000156/0.5363, allocations: 31.98 kB / 0.7609 GB, free: 1.754 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001646/0.5365, allocations: 27.97 kB / 0.7609 GB, free: 1.727 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.394e-06/0.5365, allocations: 0 / 0.7609 GB, free: 1.727 MB / 0.5261 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0004271/0.5369, allocations: 97.66 kB / 0.761 GB, free: 1.625 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 2.286e-05/0.5369, allocations: 7.984 kB / 0.761 GB, free: 1.617 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.602e-06/0.537, allocations: 0 / 0.761 GB, free: 1.617 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.772e-05/0.537, allocations: 0 / 0.761 GB, free: 1.617 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001729/0.5372, allocations: 16.02 kB / 0.761 GB, free: 1.602 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.847e-06/0.5372, allocations: 7.984 kB / 0.761 GB, free: 1.594 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001088/0.5373, allocations: 8 kB / 0.761 GB, free: 1.586 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.248e-05/0.5373, allocations: 7.984 kB / 0.761 GB, free: 1.578 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 (2): * 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): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001038/0.5375, allocations: 113.8 kB / 0.7611 GB, free: 1.457 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.323e-05/0.5375, allocations: 3.906 kB / 0.7611 GB, free: 1.453 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.281e-05/0.5376, allocations: 3.531 kB / 0.7611 GB, free: 1.445 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.176e-06/0.5376, allocations: 4 kB / 0.7611 GB, free: 1.441 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.949e-06/0.5376, allocations: 4 kB / 0.7611 GB, free: 1.438 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.706e-06/0.5376, allocations: 0 / 0.7611 GB, free: 1.438 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002511/0.5379, allocations: 165.6 kB / 0.7613 GB, free: 1.227 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.084e-06/0.5379, allocations: 7.938 kB / 0.7613 GB, free: 1.219 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001517/0.5381, allocations: 11.98 kB / 0.7613 GB, free: 1.207 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.196e-06/0.5381, allocations: 0 / 0.7613 GB, free: 1.207 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.099e-05/0.5381, allocations: 256 / 0.7613 GB, free: 1.207 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.741e-06/0.5381, allocations: 8 kB / 0.7613 GB, free: 1.199 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.528e-06/0.5381, allocations: 3.938 kB / 0.7613 GB, free: 1.195 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005039/0.5387, allocations: 195.5 kB / 0.7615 GB, free: 0.9883 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 5.912e-05/0.5387, allocations: 85.02 kB / 0.7616 GB, free: 0.8867 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.049e-05/0.5388, allocations: 0 / 0.7616 GB, free: 0.8867 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001787/0.539, allocations: 11.98 kB / 0.7616 GB, free: 0.875 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.1e-05/0.539, allocations: 7.984 kB / 0.7616 GB, free: 0.8672 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.807e-06/0.5391, allocations: 0 / 0.7616 GB, free: 0.8672 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 5.158e-05/0.5391, allocations: 83.22 kB / 0.7617 GB, free: 0.7852 MB / 0.5261 GB Notification: Performance of sort global known variables: time 2.01e-07/0.5391, allocations: 0 / 0.7617 GB, free: 0.7852 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.0004239/0.5396, allocations: 12.03 kB / 0.7617 GB, free: 0.7734 MB / 0.5261 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 (2): * 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): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0009452/0.5405, allocations: 0.7274 MB / 0.7624 GB, free: 24 kB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.0004961/0.541, allocations: 63.98 kB / 0.7625 GB, free: 15.96 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 2.615e-06/0.5411, allocations: 0 / 0.7625 GB, free: 15.96 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.0002311/0.5413, allocations: 35.97 kB / 0.7625 GB, free: 15.93 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002965/0.5416, allocations: 0 / 0.7625 GB, free: 15.93 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007922/0.5424, allocations: 170.4 kB / 0.7627 GB, free: 15.72 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003909/0.5428, allocations: 0.6809 MB / 0.7633 GB, free: 15.01 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 5.796e-05/0.5429, allocations: 4 kB / 0.7633 GB, free: 15.01 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.585e-05/0.543, allocations: 7.438 kB / 0.7633 GB, free: 15 MB / 0.5417 GB Notification: Performance of SimCode: time 6.21e-07/0.543, allocations: 4 kB / 0.7634 GB, free: 15 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01695/0.56, allocations: 1.152 MB / 0.7645 GB, free: 13.95 MB / 0.5417 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002379/0.5603, allocations: 165.4 kB / 0.7646 GB, free: 13.71 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.501/2.061, allocations: 3.5 kB / 0.7646 GB, free: 13.71 MB / 0.5417 GB (rm -f IDEAS_IDEAS.Utilities.Math.Examples.PowerLinearized.pipe ; mkfifo IDEAS_IDEAS.Utilities.Math.Examples.PowerLinearized.pipe ; head -c 1048576 < IDEAS_IDEAS.Utilities.Math.Examples.PowerLinearized.pipe >> ../files/IDEAS_IDEAS.Utilities.Math.Examples.PowerLinearized.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Utilities_Math_Examples_PowerLinearized_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Utilities_Math_Examples_PowerLinearized.fmu > IDEAS_IDEAS.Utilities.Math.Examples.PowerLinearized.pipe 2>&1)