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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) 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/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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 Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.005203/0.005202, allocations: 96.7 kB / 15.73 MB, free: 6.051 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00136/0.00136, allocations: 197.9 kB / 16.67 MB, free: 5.973 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.41/1.41, allocations: 222.9 MB / 240.4 MB, free: 4.316 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8054/0.8054, allocations: 132.2 MB / 422.7 MB, free: 1.707 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00191/0.00191, allocations: 71.83 kB / 0.5809 GB, free: 8.004 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3967/0.3986, allocations: 80.2 MB / 0.6592 GB, free: 9.863 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.PowerLinearized): time 0.001543/0.4002, allocations: 0.5844 MB / 0.6598 GB, free: 9.5 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0002506/0.4004, allocations: 101.2 kB / 0.6599 GB, free: 9.434 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.779e-05/0.4005, allocations: 0 / 0.6599 GB, free: 9.434 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 1.208e-05/0.4005, allocations: 3.938 kB / 0.6599 GB, free: 9.43 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 4.402e-05/0.4005, allocations: 1.375 kB / 0.6599 GB, free: 9.43 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001905/0.4007, allocations: 9.484 kB / 0.6599 GB, free: 9.43 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 4.515e-05/0.4008, allocations: 9.625 kB / 0.6599 GB, free: 9.426 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 4.05e-05/0.4008, allocations: 6.031 kB / 0.6599 GB, free: 9.422 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 1.876e-05/0.4009, allocations: 7.344 kB / 0.6599 GB, free: 9.418 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 6.465e-05/0.4009, allocations: 6.109 kB / 0.6599 GB, free: 9.414 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.196e-05/0.4009, allocations: 0 / 0.6599 GB, free: 9.414 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 5.486e-05/0.401, allocations: 16.23 kB / 0.66 GB, free: 9.41 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 1.168e-05/0.401, allocations: 0.6562 kB / 0.66 GB, free: 9.41 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 1.838e-05/0.401, allocations: 6.062 kB / 0.66 GB, free: 9.406 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 7.826e-05/0.4011, allocations: 13.53 kB / 0.66 GB, free: 9.402 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.036e-06/0.4011, allocations: 0 / 0.66 GB, free: 9.402 MB / 0.4981 GB Notification: Performance of FrontEnd: time 2.244e-06/0.4011, allocations: 1.984 kB / 0.66 GB, free: 9.402 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 4.188e-06/0.4011, allocations: 0 / 0.66 GB, free: 9.402 MB / 0.4981 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.0002499/0.4014, allocations: 325.1 kB / 0.6603 GB, free: 9.047 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.232e-05/0.4014, allocations: 9.625 kB / 0.6603 GB, free: 9.047 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 1.976e-05/0.4015, allocations: 32.73 kB / 0.6603 GB, free: 9.008 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000129/0.4016, allocations: 8.812 kB / 0.6603 GB, free: 9.008 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.622e-05/0.4017, allocations: 161.8 kB / 0.6605 GB, free: 8.812 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.404e-05/0.4017, allocations: 1.75 kB / 0.6605 GB, free: 8.812 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.084e-05/0.4017, allocations: 1.75 kB / 0.6605 GB, free: 8.812 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001095/0.4018, allocations: 44.31 kB / 0.6605 GB, free: 8.773 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.596e-06/0.4018, allocations: 3.938 kB / 0.6605 GB, free: 8.77 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.652e-06/0.4018, allocations: 7.875 kB / 0.6605 GB, free: 8.762 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.348e-06/0.4018, allocations: 5.312 kB / 0.6606 GB, free: 8.758 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.248e-05/0.4019, allocations: 11.09 kB / 0.6606 GB, free: 8.758 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 9.467e-05/0.402, allocations: 155.2 kB / 0.6607 GB, free: 8.562 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001414/0.4022, allocations: 43.94 kB / 0.6608 GB, free: 8.531 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.289e-05/0.4022, allocations: 17.66 kB / 0.6608 GB, free: 8.52 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.167e-05/0.4022, allocations: 1.375 kB / 0.6608 GB, free: 8.52 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.889e-06/0.4023, allocations: 31.27 kB / 0.6608 GB, free: 8.48 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=3): time 1.693e-06/0.4023, allocations: 3.984 kB / 0.6608 GB, free: 8.477 MB / 0.4981 GB Notification: Performance of matching and sorting (n=3): time 0.0001946/0.4025, allocations: 61.67 kB / 0.6609 GB, free: 8.434 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.068e-05/0.4025, allocations: 59.41 kB / 0.6609 GB, free: 8.363 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 1.551e-05/0.4025, allocations: 89.86 kB / 0.661 GB, free: 8.266 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 8.045e-06/0.4025, allocations: 27.83 kB / 0.661 GB, free: 8.234 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 9.808e-06/0.4025, allocations: 80.14 kB / 0.6611 GB, free: 8.152 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 2.75e-05/0.4026, allocations: 13.88 kB / 0.6611 GB, free: 8.141 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.674e-05/0.4026, allocations: 17.17 kB / 0.6611 GB, free: 8.121 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 4.154e-05/0.4026, allocations: 313.6 kB / 0.6614 GB, free: 7.809 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.79e-05/0.4027, allocations: 4.156 kB / 0.6614 GB, free: 7.809 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.905e-05/0.4027, allocations: 10.14 kB / 0.6615 GB, free: 7.805 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.364e-05/0.4028, allocations: 26.27 kB / 0.6615 GB, free: 7.789 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.704e-06/0.4028, allocations: 0 / 0.6615 GB, free: 7.789 MB / 0.4981 GB Notification: Performance of matching and sorting (n=3) (initialization): time 9.809e-05/0.4029, allocations: 47.3 kB / 0.6615 GB, free: 7.754 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.396e-05/0.4029, allocations: 7.125 kB / 0.6615 GB, free: 7.754 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.649e-06/0.4029, allocations: 4.781 kB / 0.6615 GB, free: 7.75 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.698e-05/0.403, allocations: 0 / 0.6615 GB, free: 7.75 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004378/0.4034, allocations: 45.22 kB / 0.6616 GB, free: 7.746 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009377/0.4044, allocations: 1.406 MB / 0.663 GB, free: 6.297 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.706e-05/0.4044, allocations: 6.094 kB / 0.663 GB, free: 6.293 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.49e-06/0.4044, allocations: 1.969 kB / 0.663 GB, free: 6.293 MB / 0.4981 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 (not torn): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 4.827e-05/0.4045, allocations: 116.1 kB / 0.6631 GB, free: 6.172 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.944e-06/0.4045, allocations: 1.188 kB / 0.6631 GB, free: 6.172 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.211e-05/0.4045, allocations: 9.141 kB / 0.6631 GB, free: 6.164 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.452e-06/0.4045, allocations: 0 / 0.6631 GB, free: 6.164 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.452e-06/0.4045, allocations: 1.625 kB / 0.6631 GB, free: 6.164 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.956e-06/0.4045, allocations: 0.6562 kB / 0.6631 GB, free: 6.164 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.623e-05/0.4046, allocations: 151.4 kB / 0.6632 GB, free: 5.973 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.12e-07/0.4046, allocations: 7.938 kB / 0.6632 GB, free: 5.965 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000362/0.4049, allocations: 45.83 kB / 0.6633 GB, free: 5.965 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.653e-06/0.4049, allocations: 1.219 kB / 0.6633 GB, free: 5.965 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.354e-06/0.405, allocations: 0.8906 kB / 0.6633 GB, free: 5.965 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008406/0.4058, allocations: 1.411 MB / 0.6647 GB, free: 4.516 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.373e-06/0.4058, allocations: 0 / 0.6647 GB, free: 4.516 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001039/0.4059, allocations: 81.17 kB / 0.6647 GB, free: 4.438 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 1.325e-05/0.4059, allocations: 85.86 kB / 0.6648 GB, free: 4.336 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.173e-06/0.406, allocations: 5.984 kB / 0.6648 GB, free: 4.332 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.566e-05/0.406, allocations: 2.188 kB / 0.6648 GB, free: 4.332 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.382e-05/0.406, allocations: 6.5 kB / 0.6648 GB, free: 4.328 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.546e-06/0.406, allocations: 1.312 kB / 0.6648 GB, free: 4.328 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 1.13e-05/0.406, allocations: 75.28 kB / 0.6649 GB, free: 4.254 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.11e-07/0.406, allocations: 0 / 0.6649 GB, free: 4.254 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0001873/0.4062, allocations: 8.281 kB / 0.6649 GB, free: 4.25 MB / 0.4981 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 (not torn): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0002869/0.4065, allocations: 0.6153 MB / 0.6655 GB, free: 3.641 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0004768/0.407, allocations: 58.52 kB / 0.6656 GB, free: 3.637 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.475e-06/0.407, allocations: 0 / 0.6656 GB, free: 3.637 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0002336/0.4073, allocations: 38.72 kB / 0.6656 GB, free: 3.633 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001293/0.4074, allocations: 2.828 kB / 0.6656 GB, free: 3.633 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003299/0.4077, allocations: 127 kB / 0.6657 GB, free: 3.484 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.773e-05/0.4078, allocations: 0.6746 MB / 0.6664 GB, free: 2.789 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 2.721e-05/0.4079, allocations: 6.203 kB / 0.6664 GB, free: 2.785 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.819e-05/0.4079, allocations: 9.828 kB / 0.6664 GB, free: 2.777 MB / 0.4981 GB Notification: Performance of SimCode: time 3.3e-07/0.4079, allocations: 0 / 0.6664 GB, free: 2.777 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02195/0.4299, allocations: 1.279 MB / 0.6677 GB, free: 2.258 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.27/11.7, allocations: 9.766 kB / 0.6677 GB, free: 2.258 MB / 0.4981 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 & python3 -m fmpy simulate --output-file IDEAS_IDEAS.Utilities.Math.Functions.Examples.PowerLinearized_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 IDEAS_IDEAS_Utilities_Math_Functions_Examples_PowerLinearized.fmu > IDEAS_IDEAS.Utilities.Math.Functions.Examples.PowerLinearized.pipe 2>&1)