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.001237/0.001237, allocations: 180.9 kB / 7.651 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.7954/0.7954, allocations: 133.6 MB / 141.6 MB, free: 2.863 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.424/1.424, allocations: 221.5 MB / 395.5 MB, free: 10.75 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.0008338/0.0008338, allocations: 96.17 kB / 478.2 MB, free: 1.293 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 2.955e-05/2.959e-05, allocations: 4 kB / 0.5536 GB, free: 8.918 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4423/0.4423, allocations: 82.31 MB / 0.6339 GB, free: 40.81 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.152/0.5943, allocations: 109.9 MB / 0.7412 GB, free: 12.76 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002326/0.5946, allocations: 75.95 kB / 0.7413 GB, free: 12.69 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 0.002402/0.597, allocations: 0.9508 MB / 0.7422 GB, free: 11.74 MB / 0.5261 GB Notification: Performance of FrontEnd: time 1.583e-06/0.597, allocations: 0 / 0.7422 GB, free: 11.74 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 5.5e-06/0.5971, allocations: 0 / 0.7422 GB, free: 11.74 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.0002863/0.5974, allocations: 322.6 kB / 0.7425 GB, free: 11.38 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 4.507e-05/0.5974, allocations: 12.03 kB / 0.7426 GB, free: 11.37 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001431/0.5976, allocations: 7.984 kB / 0.7426 GB, free: 11.36 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001011/0.5977, allocations: 167 kB / 0.7427 GB, free: 11.16 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.986e-05/0.5977, allocations: 0 / 0.7427 GB, free: 11.16 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.011e-05/0.5977, allocations: 4 kB / 0.7427 GB, free: 11.15 MB / 0.5261 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 6.215e-05/0.5978, allocations: 7.938 kB / 0.7427 GB, free: 11.14 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.298e-05/0.5979, allocations: 37.69 kB / 0.7428 GB, free: 11.1 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.985e-06/0.5979, allocations: 0 / 0.7428 GB, free: 11.1 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.087e-06/0.5979, allocations: 0 / 0.7428 GB, free: 11.1 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.418e-06/0.5979, allocations: 0 / 0.7428 GB, free: 11.1 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000132/0.598, allocations: 134.2 kB / 0.7429 GB, free: 10.93 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001047/0.5982, allocations: 34.56 kB / 0.7429 GB, free: 10.89 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.591e-05/0.5982, allocations: 12.92 kB / 0.7429 GB, free: 10.88 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 1.801e-05/0.5982, allocations: 0 / 0.7429 GB, free: 10.88 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.796e-05/0.5982, allocations: 42.48 kB / 0.743 GB, free: 10.82 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=3): time 1.052e-06/0.5983, allocations: 3.938 kB / 0.743 GB, free: 10.82 MB / 0.5261 GB Notification: Performance of matching and sorting (n=3): time 0.0001282/0.5984, allocations: 49.69 kB / 0.743 GB, free: 10.77 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.97e-05/0.5984, allocations: 51.41 kB / 0.7431 GB, free: 10.7 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.898e-05/0.5985, allocations: 85 kB / 0.7432 GB, free: 10.61 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 1.431e-05/0.5985, allocations: 25.7 kB / 0.7432 GB, free: 10.58 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 2.501e-05/0.5985, allocations: 80.14 kB / 0.7433 GB, free: 10.5 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 3.152e-05/0.5986, allocations: 7.906 kB / 0.7433 GB, free: 10.49 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.366e-06/0.5986, allocations: 0 / 0.7433 GB, free: 10.49 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0001271/0.5987, allocations: 318.8 kB / 0.7436 GB, free: 10.17 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.215e-05/0.5987, allocations: 8 kB / 0.7436 GB, free: 10.16 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.444e-06/0.5987, allocations: 0 / 0.7436 GB, free: 10.16 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.999e-05/0.5988, allocations: 4 kB / 0.7436 GB, free: 10.16 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.703e-06/0.5988, allocations: 0 / 0.7436 GB, free: 10.16 MB / 0.5261 GB Notification: Performance of matching and sorting (n=3) (initialization): time 6.452e-05/0.5988, allocations: 45.62 kB / 0.7436 GB, free: 10.11 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.635e-05/0.5989, allocations: 15.89 kB / 0.7436 GB, free: 10.09 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.349e-06/0.5989, allocations: 0 / 0.7436 GB, free: 10.09 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.203e-05/0.5989, allocations: 0 / 0.7436 GB, free: 10.09 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003863/0.5993, allocations: 43.94 kB / 0.7437 GB, free: 10.05 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001013/0.6003, allocations: 1.243 MB / 0.7449 GB, free: 8.699 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.846e-05/0.6003, allocations: 0 / 0.7449 GB, free: 8.699 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.64e-06/0.6004, allocations: 0 / 0.7449 GB, free: 8.699 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 0.0001061/0.6005, allocations: 105 kB / 0.745 GB, free: 8.59 MB / 0.5261 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 6.192e-05/0.6005, allocations: 45.64 kB / 0.745 GB, free: 8.539 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.835e-06/0.6006, allocations: 3.953 kB / 0.7451 GB, free: 8.535 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.053e-05/0.6006, allocations: 12.2 kB / 0.7451 GB, free: 8.516 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.713e-06/0.6006, allocations: 0 / 0.7451 GB, free: 8.516 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.52e-07/0.6006, allocations: 4 kB / 0.7451 GB, free: 8.512 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.286e-06/0.6006, allocations: 0 / 0.7451 GB, free: 8.512 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.816e-05/0.6007, allocations: 126.2 kB / 0.7452 GB, free: 8.352 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.82e-07/0.6007, allocations: 0 / 0.7452 GB, free: 8.352 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003595/0.6011, allocations: 51.92 kB / 0.7452 GB, free: 8.301 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.208e-06/0.6011, allocations: 3.953 kB / 0.7452 GB, free: 8.297 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.793e-06/0.6011, allocations: 0 / 0.7452 GB, free: 8.297 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009579/0.6021, allocations: 1.247 MB / 0.7465 GB, free: 6.938 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.395e-06/0.6021, allocations: 0 / 0.7465 GB, free: 6.938 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.754e-05/0.6022, allocations: 69.16 kB / 0.7465 GB, free: 6.852 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 4.247e-05/0.6022, allocations: 81.05 kB / 0.7466 GB, free: 6.754 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.934e-06/0.6023, allocations: 3.953 kB / 0.7466 GB, free: 6.75 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.325e-05/0.6023, allocations: 8.094 kB / 0.7466 GB, free: 6.742 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.392e-05/0.6023, allocations: 3.984 kB / 0.7466 GB, free: 6.738 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.296e-06/0.6023, allocations: 0 / 0.7466 GB, free: 6.738 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 3.689e-05/0.6024, allocations: 79.28 kB / 0.7467 GB, free: 6.66 MB / 0.5261 GB Notification: Performance of sort global known variables: time 1.3e-07/0.6024, allocations: 0 / 0.7467 GB, free: 6.66 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.0001889/0.6026, allocations: 4 kB / 0.7467 GB, free: 6.656 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.0005111/0.6031, allocations: 0.6026 MB / 0.7473 GB, free: 6.027 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.000367/0.6035, allocations: 47.94 kB / 0.7473 GB, free: 5.98 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 2.204e-06/0.6035, allocations: 0 / 0.7473 GB, free: 5.98 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.0001747/0.6037, allocations: 27.97 kB / 0.7474 GB, free: 5.953 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001135/0.6038, allocations: 11.89 kB / 0.7474 GB, free: 5.941 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002758/0.6041, allocations: 77.64 kB / 0.7474 GB, free: 5.828 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002479/0.6043, allocations: 0.6846 MB / 0.7481 GB, free: 5.117 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 3.308e-05/0.6044, allocations: 0 / 0.7481 GB, free: 5.117 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.422e-05/0.6044, allocations: 11.38 kB / 0.7481 GB, free: 5.105 MB / 0.5261 GB Notification: Performance of SimCode: time 2.7e-07/0.6044, allocations: 8 kB / 0.7481 GB, free: 5.098 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01855/0.623, allocations: 0.6746 MB / 0.7488 GB, free: 4.43 MB / 0.5261 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001943/0.6232, allocations: 143 kB / 0.7489 GB, free: 4.23 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.398/2.021, allocations: 0 / 0.7489 GB, free: 4.23 MB / 0.5261 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)