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.001444/0.001444, allocations: 172.9 kB / 7.646 MB, free: 1.422 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8478/0.8478, allocations: 133.6 MB / 141.6 MB, free: 2.891 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.441/1.441, allocations: 221.5 MB / 395.4 MB, free: 10.79 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.0009293/0.0009292, allocations: 105.7 kB / 478.2 MB, free: 1.312 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 2.476e-05/2.477e-05, allocations: 11.92 kB / 0.5536 GB, free: 8.949 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5205/0.5205, allocations: 82.3 MB / 0.6339 GB, free: 40.71 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1498/0.6704, allocations: 109.9 MB / 0.7412 GB, free: 12.8 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002084/0.6706, allocations: 75.95 kB / 0.7413 GB, free: 12.73 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 0.002277/0.6729, allocations: 0.9547 MB / 0.7422 GB, free: 11.77 MB / 0.5261 GB Notification: Performance of FrontEnd: time 1.082e-06/0.6729, allocations: 0 / 0.7422 GB, free: 11.77 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 5.47e-06/0.6729, allocations: 0 / 0.7422 GB, free: 11.77 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.0002875/0.6732, allocations: 314.6 kB / 0.7425 GB, free: 11.42 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 5.378e-05/0.6733, allocations: 12.03 kB / 0.7426 GB, free: 11.41 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001624/0.6735, allocations: 7.984 kB / 0.7426 GB, free: 11.4 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001169/0.6736, allocations: 175 kB / 0.7427 GB, free: 11.19 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.588e-05/0.6736, allocations: 0 / 0.7427 GB, free: 11.19 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.15e-05/0.6736, allocations: 0 / 0.7427 GB, free: 11.19 MB / 0.5261 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 7.026e-05/0.6737, allocations: 12 kB / 0.7427 GB, free: 11.18 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.621e-05/0.6738, allocations: 33.69 kB / 0.7428 GB, free: 11.14 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.656e-06/0.6738, allocations: 4 kB / 0.7428 GB, free: 11.14 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.232e-05/0.6738, allocations: 3.984 kB / 0.7428 GB, free: 11.13 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.077e-06/0.6739, allocations: 0 / 0.7428 GB, free: 11.13 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001507/0.674, allocations: 130.2 kB / 0.7429 GB, free: 10.97 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00011/0.6741, allocations: 42.5 kB / 0.7429 GB, free: 10.92 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.579e-05/0.6742, allocations: 8.922 kB / 0.7429 GB, free: 10.91 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 1.769e-05/0.6742, allocations: 0 / 0.7429 GB, free: 10.91 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.552e-05/0.6742, allocations: 34.56 kB / 0.743 GB, free: 10.86 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=3): time 2.244e-06/0.6742, allocations: 0 / 0.743 GB, free: 10.86 MB / 0.5261 GB Notification: Performance of matching and sorting (n=3): time 0.0001408/0.6744, allocations: 49.62 kB / 0.743 GB, free: 10.81 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.671e-05/0.6744, allocations: 55.41 kB / 0.7431 GB, free: 10.74 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.674e-05/0.6745, allocations: 85 kB / 0.7432 GB, free: 10.65 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 1.396e-05/0.6745, allocations: 29.64 kB / 0.7432 GB, free: 10.62 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 2.793e-05/0.6745, allocations: 80.14 kB / 0.7433 GB, free: 10.54 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 3.116e-05/0.6746, allocations: 3.906 kB / 0.7433 GB, free: 10.53 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.166e-06/0.6746, allocations: 0 / 0.7433 GB, free: 10.53 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0001114/0.6747, allocations: 322.8 kB / 0.7436 GB, free: 10.21 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.294e-05/0.6747, allocations: 4 kB / 0.7436 GB, free: 10.2 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.172e-05/0.6747, allocations: 7.938 kB / 0.7436 GB, free: 10.2 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.985e-05/0.6747, allocations: 4 kB / 0.7436 GB, free: 10.19 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.126e-06/0.6748, allocations: 0 / 0.7436 GB, free: 10.19 MB / 0.5261 GB Notification: Performance of matching and sorting (n=3) (initialization): time 5.548e-05/0.6749, allocations: 41.69 kB / 0.7436 GB, free: 10.14 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.498e-05/0.6749, allocations: 7.953 kB / 0.7436 GB, free: 10.14 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.671e-06/0.6749, allocations: 0 / 0.7436 GB, free: 10.14 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.192e-05/0.6749, allocations: 0 / 0.7436 GB, free: 10.14 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003788/0.6753, allocations: 43.94 kB / 0.7437 GB, free: 10.09 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009426/0.6762, allocations: 1.243 MB / 0.7449 GB, free: 8.742 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.776e-05/0.6763, allocations: 0 / 0.7449 GB, free: 8.742 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.14e-06/0.6763, allocations: 4.031 kB / 0.7449 GB, free: 8.738 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 () * 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.339e-05/0.6764, allocations: 105 kB / 0.745 GB, free: 8.629 MB / 0.5261 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 5.518e-05/0.6764, allocations: 41.83 kB / 0.745 GB, free: 8.582 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.499e-05/0.6765, allocations: 7.953 kB / 0.745 GB, free: 8.574 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.36e-05/0.6765, allocations: 8.344 kB / 0.7451 GB, free: 8.559 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.012e-06/0.6765, allocations: 0 / 0.7451 GB, free: 8.559 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.32e-07/0.6765, allocations: 0 / 0.7451 GB, free: 8.559 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.469e-06/0.6765, allocations: 3.984 kB / 0.7451 GB, free: 8.555 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.979e-05/0.6766, allocations: 130.2 kB / 0.7452 GB, free: 8.391 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.072e-06/0.6766, allocations: 0 / 0.7452 GB, free: 8.391 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003621/0.677, allocations: 55.92 kB / 0.7452 GB, free: 8.336 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.94e-06/0.677, allocations: 7.953 kB / 0.7452 GB, free: 8.328 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.446e-06/0.677, allocations: 0 / 0.7452 GB, free: 8.328 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008636/0.6779, allocations: 1.239 MB / 0.7465 GB, free: 6.977 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.144e-06/0.6779, allocations: 0 / 0.7465 GB, free: 6.977 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.554e-05/0.678, allocations: 65.16 kB / 0.7465 GB, free: 6.895 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 2.962e-05/0.678, allocations: 81.23 kB / 0.7466 GB, free: 6.797 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.114e-06/0.678, allocations: 7.891 kB / 0.7466 GB, free: 6.789 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.705e-05/0.6781, allocations: 0 / 0.7466 GB, free: 6.789 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.098e-05/0.6781, allocations: 15.92 kB / 0.7466 GB, free: 6.773 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.976e-06/0.6781, allocations: 0 / 0.7466 GB, free: 6.773 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 2.599e-05/0.6781, allocations: 75.28 kB / 0.7467 GB, free: 6.699 MB / 0.5261 GB Notification: Performance of sort global known variables: time 1.51e-07/0.6781, allocations: 0 / 0.7467 GB, free: 6.699 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.0001756/0.6783, allocations: 4 kB / 0.7467 GB, free: 6.695 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 () * 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.0003454/0.6787, allocations: 0.5982 MB / 0.7473 GB, free: 6.07 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.0003748/0.679, allocations: 43.94 kB / 0.7473 GB, free: 6.027 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 2.605e-06/0.6791, allocations: 7.938 kB / 0.7473 GB, free: 6.02 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.0001795/0.6792, allocations: 31.91 kB / 0.7474 GB, free: 5.988 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001028/0.6794, allocations: 11.88 kB / 0.7474 GB, free: 5.977 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002675/0.6796, allocations: 81.7 kB / 0.7474 GB, free: 5.859 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002418/0.6799, allocations: 0.6768 MB / 0.7481 GB, free: 5.156 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 3.685e-05/0.6799, allocations: 8 kB / 0.7481 GB, free: 5.148 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.502e-05/0.68, allocations: 7.438 kB / 0.7481 GB, free: 5.141 MB / 0.5261 GB Notification: Performance of SimCode: time 2.4e-07/0.68, allocations: 0 / 0.7481 GB, free: 5.141 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01927/0.6992, allocations: 0.6901 MB / 0.7488 GB, free: 4.457 MB / 0.5261 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002117/0.6995, allocations: 136.6 kB / 0.7489 GB, free: 4.27 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.423/2.122, allocations: 0 / 0.7489 GB, free: 4.27 MB / 0.5261 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)