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.0009895/0.0009894, allocations: 175.2 kB / 12.73 MB, free: 2.59 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7626/0.7626, allocations: 133.4 MB / 146.7 MB, free: 10.78 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: 221.3 MB / 400.4 MB, free: 5.781 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008413/0.0008414, allocations: 97.7 kB / 483.3 MB, free: 5.82 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 4.201e-05/4.202e-05, allocations: 5.312 kB / 0.5601 GB, free: 87.91 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1712/0.1713, allocations: 82.31 MB / 0.6405 GB, free: 7.719 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.6225/0.7938, allocations: 110.5 MB / 0.7485 GB, free: 11.88 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003254/0.7942, allocations: 80.16 kB / 0.7485 GB, free: 11.88 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 0.002745/0.797, allocations: 0.9516 MB / 0.7495 GB, free: 27.55 MB / 0.5105 GB Notification: Performance of FrontEnd: time 2.034e-06/0.797, allocations: 0 / 0.7495 GB, free: 27.55 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 5.881e-06/0.797, allocations: 0 / 0.7495 GB, free: 27.55 MB / 0.5105 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.0003101/0.7973, allocations: 323.2 kB / 0.7498 GB, free: 27.2 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 5.649e-05/0.7974, allocations: 9.844 kB / 0.7498 GB, free: 27.2 MB / 0.5105 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.229e-05/0.7975, allocations: 34.19 kB / 0.7498 GB, free: 27.16 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001292/0.7976, allocations: 7.25 kB / 0.7498 GB, free: 27.16 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.577e-05/0.7977, allocations: 169.9 kB / 0.75 GB, free: 26.96 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.891e-05/0.7977, allocations: 4 kB / 0.75 GB, free: 26.96 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.399e-05/0.7977, allocations: 0 / 0.75 GB, free: 26.96 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001003/0.7978, allocations: 36.16 kB / 0.75 GB, free: 26.93 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.755e-06/0.7979, allocations: 0 / 0.75 GB, free: 26.93 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.069e-05/0.7979, allocations: 0 / 0.75 GB, free: 26.93 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.36e-06/0.7979, allocations: 3.844 kB / 0.75 GB, free: 26.93 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.935e-05/0.7979, allocations: 3.844 kB / 0.75 GB, free: 26.93 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001382/0.7981, allocations: 163.8 kB / 0.7502 GB, free: 26.73 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 9.2e-05/0.7982, allocations: 36.84 kB / 0.7502 GB, free: 26.7 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.689e-05/0.7982, allocations: 12.3 kB / 0.7502 GB, free: 26.69 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 1.549e-05/0.7982, allocations: 3.938 kB / 0.7502 GB, free: 26.69 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.923e-05/0.7983, allocations: 33.7 kB / 0.7503 GB, free: 26.65 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=3): time 1.102e-06/0.7983, allocations: 7.812 kB / 0.7503 GB, free: 26.64 MB / 0.5105 GB Notification: Performance of matching and sorting (n=3): time 0.0001307/0.7984, allocations: 47.78 kB / 0.7503 GB, free: 26.61 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.155e-05/0.7985, allocations: 51.41 kB / 0.7504 GB, free: 26.54 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.633e-05/0.7985, allocations: 89 kB / 0.7505 GB, free: 26.45 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 1.231e-05/0.7985, allocations: 25.7 kB / 0.7505 GB, free: 26.42 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 2.894e-05/0.7986, allocations: 80.14 kB / 0.7506 GB, free: 26.34 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 3.043e-05/0.7986, allocations: 11.5 kB / 0.7506 GB, free: 26.33 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.226e-06/0.7986, allocations: 0 / 0.7506 GB, free: 26.33 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.000137/0.7987, allocations: 310.8 kB / 0.7509 GB, free: 26.02 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.503e-05/0.7988, allocations: 10.75 kB / 0.7509 GB, free: 26.02 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.008e-05/0.7988, allocations: 3.891 kB / 0.7509 GB, free: 26.02 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.323e-05/0.7988, allocations: 7.922 kB / 0.7509 GB, free: 26.02 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.623e-06/0.7988, allocations: 4 kB / 0.7509 GB, free: 26.01 MB / 0.5105 GB Notification: Performance of matching and sorting (n=3) (initialization): time 7.915e-05/0.7989, allocations: 43.81 kB / 0.7509 GB, free: 25.98 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.262e-05/0.7989, allocations: 7.688 kB / 0.7509 GB, free: 25.98 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.16e-06/0.7989, allocations: 0 / 0.7509 GB, free: 25.98 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.184e-05/0.799, allocations: 3.938 kB / 0.7509 GB, free: 25.97 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003718/0.7993, allocations: 44.77 kB / 0.751 GB, free: 25.97 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001063/0.8004, allocations: 1.289 MB / 0.7522 GB, free: 24.64 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.925e-05/0.8004, allocations: 3 kB / 0.7523 GB, free: 24.64 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.009e-06/0.8005, allocations: 0 / 0.7523 GB, free: 24.64 MB / 0.5105 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 6.534e-05/0.8005, allocations: 112.7 kB / 0.7524 GB, free: 24.53 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.752e-06/0.8005, allocations: 0 / 0.7524 GB, free: 24.53 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.628e-06/0.8006, allocations: 7.125 kB / 0.7524 GB, free: 24.52 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.703e-06/0.8006, allocations: 0 / 0.7524 GB, free: 24.52 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.11e-07/0.8006, allocations: 0 / 0.7524 GB, free: 24.52 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.775e-06/0.8006, allocations: 0 / 0.7524 GB, free: 24.52 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.046e-05/0.8007, allocations: 152.7 kB / 0.7525 GB, free: 24.33 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.074e-06/0.8007, allocations: 3.953 kB / 0.7525 GB, free: 24.33 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003321/0.801, allocations: 46.58 kB / 0.7526 GB, free: 24.33 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.034e-06/0.801, allocations: 0 / 0.7526 GB, free: 24.33 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.024e-05/0.801, allocations: 3.688 kB / 0.7526 GB, free: 24.33 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009637/0.802, allocations: 1.303 MB / 0.7538 GB, free: 22.99 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.364e-06/0.802, allocations: 4.062 kB / 0.7538 GB, free: 22.98 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.13e-05/0.8021, allocations: 67.28 kB / 0.7539 GB, free: 22.92 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 3.86e-05/0.8022, allocations: 87.8 kB / 0.754 GB, free: 22.82 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.394e-06/0.8022, allocations: 3.844 kB / 0.754 GB, free: 22.82 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.715e-05/0.8022, allocations: 0 / 0.754 GB, free: 22.82 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.021e-05/0.8022, allocations: 0 / 0.754 GB, free: 22.82 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.936e-06/0.8022, allocations: 0 / 0.754 GB, free: 22.82 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 4.277e-05/0.8023, allocations: 83.12 kB / 0.7541 GB, free: 22.74 MB / 0.5105 GB Notification: Performance of sort global known variables: time 1.21e-07/0.8023, allocations: 0 / 0.7541 GB, free: 22.74 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.000183/0.8025, allocations: 7.625 kB / 0.7541 GB, free: 22.74 MB / 0.5105 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.0003983/0.8029, allocations: 0.606 MB / 0.7547 GB, free: 22.14 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.0003412/0.8032, allocations: 50.97 kB / 0.7547 GB, free: 22.14 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 2.084e-06/0.8032, allocations: 3.906 kB / 0.7547 GB, free: 22.14 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.0001673/0.8034, allocations: 25.45 kB / 0.7547 GB, free: 22.14 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.261e-05/0.8035, allocations: 3.938 kB / 0.7547 GB, free: 22.14 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002729/0.8038, allocations: 88.44 kB / 0.7548 GB, free: 22.03 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002534/0.8041, allocations: 0.6749 MB / 0.7555 GB, free: 21.34 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 3.46e-05/0.8041, allocations: 3.5 kB / 0.7555 GB, free: 21.34 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.413e-05/0.8041, allocations: 11 kB / 0.7555 GB, free: 21.33 MB / 0.5105 GB Notification: Performance of SimCode: time 2.9e-07/0.8042, allocations: 0 / 0.7555 GB, free: 21.33 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01218/0.8163, allocations: 1.042 MB / 0.7565 GB, free: 21.16 MB / 0.5105 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001772/0.8166, allocations: 180.8 kB / 0.7567 GB, free: 20.94 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.401/2.218, allocations: 0 / 0.7567 GB, free: 20.94 MB / 0.5105 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)