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/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_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/Complex 4.0.0+maint.om/package.mo): time 0.01101/0.01101, allocations: 172.3 kB / 15.12 MB, free: 5.969 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9535/0.9535, allocations: 135.2 MB / 151 MB, free: 13.82 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.384/1.384, allocations: 223.2 MB / 406.8 MB, free: 3.234 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.0008716/0.000872, allocations: 91.72 kB / 489.9 MB, free: 10.92 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003912/0.000391, allocations: 8 kB / 0.5692 GB, free: 14.07 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4515/0.4519, allocations: 82.31 MB / 0.6495 GB, free: 36.13 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1498/0.6018, allocations: 110.6 MB / 0.7575 GB, free: 5.387 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002547/0.6021, allocations: 75.95 kB / 0.7576 GB, free: 5.312 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 0.002503/0.6046, allocations: 0.9664 MB / 0.7586 GB, free: 4.348 MB / 0.5261 GB Notification: Performance of FrontEnd: time 2.103e-06/0.6046, allocations: 4 kB / 0.7586 GB, free: 4.344 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 6.292e-06/0.6047, allocations: 0 / 0.7586 GB, free: 4.344 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.0002765/0.6049, allocations: 323.4 kB / 0.7589 GB, free: 3.98 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 4.848e-05/0.605, allocations: 8.031 kB / 0.7589 GB, free: 3.973 MB / 0.5261 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.898e-05/0.605, allocations: 34.56 kB / 0.7589 GB, free: 3.93 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001375/0.6052, allocations: 7.984 kB / 0.7589 GB, free: 3.922 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.143e-05/0.6053, allocations: 171 kB / 0.7591 GB, free: 3.715 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.896e-05/0.6053, allocations: 0 / 0.7591 GB, free: 3.715 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.127e-06/0.6053, allocations: 4 kB / 0.7591 GB, free: 3.711 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001298/0.6055, allocations: 37.69 kB / 0.7591 GB, free: 3.668 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.757e-06/0.6055, allocations: 0 / 0.7591 GB, free: 3.668 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.362e-05/0.6055, allocations: 3.984 kB / 0.7591 GB, free: 3.664 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.22e-06/0.6055, allocations: 4 kB / 0.7591 GB, free: 3.66 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.708e-05/0.6056, allocations: 7.984 kB / 0.7591 GB, free: 3.652 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001619/0.6058, allocations: 157.6 kB / 0.7593 GB, free: 3.449 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001599/0.6059, allocations: 50.53 kB / 0.7593 GB, free: 3.391 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 1.341e-05/0.606, allocations: 3.938 kB / 0.7593 GB, free: 3.387 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.155e-05/0.606, allocations: 30.56 kB / 0.7594 GB, free: 3.348 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=3): time 2.425e-06/0.606, allocations: 0 / 0.7594 GB, free: 3.348 MB / 0.5261 GB Notification: Performance of matching and sorting (n=3): time 0.000234/0.6062, allocations: 65.86 kB / 0.7594 GB, free: 3.277 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.719e-05/0.6063, allocations: 59.34 kB / 0.7595 GB, free: 3.207 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.008e-05/0.6063, allocations: 85 kB / 0.7596 GB, free: 3.117 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 1.537e-05/0.6064, allocations: 25.7 kB / 0.7596 GB, free: 3.086 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 3.66e-05/0.6064, allocations: 80.14 kB / 0.7597 GB, free: 3.004 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 3.076e-05/0.6064, allocations: 7.906 kB / 0.7597 GB, free: 2.996 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.005e-06/0.6064, allocations: 0 / 0.7597 GB, free: 2.996 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0001148/0.6066, allocations: 314.8 kB / 0.76 GB, free: 2.68 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.722e-05/0.6066, allocations: 7.984 kB / 0.76 GB, free: 2.672 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.832e-05/0.6066, allocations: 7.984 kB / 0.76 GB, free: 2.664 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.465e-05/0.6067, allocations: 15.98 kB / 0.76 GB, free: 2.648 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.653e-06/0.6067, allocations: 0 / 0.76 GB, free: 2.648 MB / 0.5261 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001087/0.6068, allocations: 49.64 kB / 0.7601 GB, free: 2.594 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.32e-05/0.6068, allocations: 4 kB / 0.7601 GB, free: 2.59 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.05e-06/0.6068, allocations: 0 / 0.7601 GB, free: 2.59 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.607e-05/0.6069, allocations: 4 kB / 0.7601 GB, free: 2.586 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003905/0.6073, allocations: 43.92 kB / 0.7601 GB, free: 2.543 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00125/0.6085, allocations: 1.314 MB / 0.7614 GB, free: 1.098 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.884e-05/0.6086, allocations: 3.984 kB / 0.7614 GB, free: 1.094 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.144e-06/0.6086, allocations: 4 kB / 0.7614 GB, free: 1.09 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 7.806e-05/0.6087, allocations: 114 kB / 0.7615 GB, free: 0.9688 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.777e-06/0.6087, allocations: 11.89 kB / 0.7615 GB, free: 0.957 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.27e-05/0.6087, allocations: 3.5 kB / 0.7615 GB, free: 0.9492 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.122e-06/0.6087, allocations: 0 / 0.7615 GB, free: 0.9492 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.633e-06/0.6087, allocations: 0 / 0.7615 GB, free: 0.9492 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.695e-06/0.6087, allocations: 0 / 0.7615 GB, free: 0.9492 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001023/0.6088, allocations: 153.7 kB / 0.7617 GB, free: 0.75 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.72e-07/0.6088, allocations: 0 / 0.7617 GB, free: 0.75 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003631/0.6092, allocations: 55.88 kB / 0.7617 GB, free: 0.6953 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.104e-06/0.6092, allocations: 0 / 0.7617 GB, free: 0.6953 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.282e-06/0.6092, allocations: 0 / 0.7617 GB, free: 0.6953 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001213/0.6104, allocations: 1.31 MB / 0.763 GB, free: 15.25 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.292e-06/0.6105, allocations: 256 / 0.763 GB, free: 15.25 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000128/0.6106, allocations: 77.14 kB / 0.7631 GB, free: 15.16 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 3.999e-05/0.6106, allocations: 85.06 kB / 0.7632 GB, free: 15.06 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.234e-06/0.6107, allocations: 0 / 0.7632 GB, free: 15.06 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.611e-05/0.6107, allocations: 3.938 kB / 0.7632 GB, free: 15.05 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.723e-05/0.6107, allocations: 7.984 kB / 0.7632 GB, free: 15.05 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.216e-06/0.6107, allocations: 0 / 0.7632 GB, free: 15.05 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 4.014e-05/0.6108, allocations: 83.22 kB / 0.7632 GB, free: 14.96 MB / 0.5417 GB Notification: Performance of sort global known variables: time 1.2e-07/0.6108, allocations: 0 / 0.7632 GB, free: 14.96 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.0002002/0.611, allocations: 8 kB / 0.7633 GB, free: 14.96 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.0004666/0.6115, allocations: 0.6124 MB / 0.7638 GB, free: 14.31 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.0003942/0.6119, allocations: 51.92 kB / 0.7639 GB, free: 14.26 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 2.525e-06/0.6119, allocations: 0 / 0.7639 GB, free: 14.26 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.0001991/0.6121, allocations: 35.91 kB / 0.7639 GB, free: 14.23 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.105e-05/0.6122, allocations: 6.406 kB / 0.7639 GB, free: 14.22 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004473/0.6126, allocations: 121.8 kB / 0.7641 GB, free: 14.06 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003137/0.613, allocations: 0.677 MB / 0.7647 GB, free: 13.36 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 3.647e-05/0.613, allocations: 0 / 0.7647 GB, free: 13.36 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.42e-05/0.6131, allocations: 15.42 kB / 0.7647 GB, free: 13.34 MB / 0.5417 GB Notification: Performance of SimCode: time 3.31e-07/0.6131, allocations: 4 kB / 0.7647 GB, free: 13.34 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01424/0.6273, allocations: 1.045 MB / 0.7658 GB, free: 12.45 MB / 0.5417 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002033/0.6276, allocations: 209.2 kB / 0.766 GB, free: 12.21 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.504/2.131, allocations: 0 / 0.766 GB, free: 12.21 MB / 0.5417 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)