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/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-master/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/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_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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.006808/0.006808, allocations: 103.1 kB / 15.73 MB, free: 6.035 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.001621/0.001622, allocations: 200.4 kB / 16.68 MB, free: 5.957 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.372/1.372, allocations: 222.9 MB / 240.4 MB, free: 4.172 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 1.001/1.001, allocations: 135.1 MB / 425.7 MB, free: 12.07 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001282/0.001282, allocations: 59.91 kB / 0.5852 GB, free: 3.789 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3874/0.3887, allocations: 80.92 MB / 0.6642 GB, free: 7.273 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.PowerLinearized): time 0.001585/0.3903, allocations: 0.5871 MB / 0.6648 GB, free: 6.836 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0002716/0.3906, allocations: 92.2 kB / 0.6649 GB, free: 6.77 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.092e-05/0.3906, allocations: 0 / 0.6649 GB, free: 6.77 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 1.479e-05/0.3907, allocations: 0 / 0.6649 GB, free: 6.77 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 4.507e-05/0.3907, allocations: 0 / 0.6649 GB, free: 6.77 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002137/0.3909, allocations: 18.73 kB / 0.6649 GB, free: 6.758 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 4.93e-05/0.391, allocations: 11.89 kB / 0.6649 GB, free: 6.75 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 4.301e-05/0.391, allocations: 0.75 kB / 0.6649 GB, free: 6.75 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 2.021e-05/0.3911, allocations: 6.984 kB / 0.6649 GB, free: 6.746 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 6.92e-05/0.3911, allocations: 2.188 kB / 0.6649 GB, free: 6.746 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.123e-05/0.3912, allocations: 0 / 0.6649 GB, free: 6.746 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 5.941e-05/0.3912, allocations: 15.77 kB / 0.6649 GB, free: 6.738 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 1.251e-05/0.3912, allocations: 3.938 kB / 0.6649 GB, free: 6.734 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 2.366e-05/0.3913, allocations: 9.203 kB / 0.6649 GB, free: 6.727 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 8.573e-05/0.3914, allocations: 18.11 kB / 0.6649 GB, free: 6.715 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.509e-06/0.3914, allocations: 0 / 0.6649 GB, free: 6.715 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.753e-06/0.3914, allocations: 0 / 0.6649 GB, free: 6.715 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 5.36e-06/0.3914, allocations: 4 kB / 0.6649 GB, free: 6.711 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.0002892/0.3917, allocations: 318.1 kB / 0.6652 GB, free: 6.355 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.807e-05/0.3917, allocations: 10 kB / 0.6653 GB, free: 6.355 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.136e-05/0.3917, allocations: 30.75 kB / 0.6653 GB, free: 6.316 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001416/0.3919, allocations: 10.27 kB / 0.6653 GB, free: 6.312 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.1e-05/0.392, allocations: 164.4 kB / 0.6655 GB, free: 6.113 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.86e-05/0.392, allocations: 1.656 kB / 0.6655 GB, free: 6.113 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.119e-05/0.392, allocations: 1.656 kB / 0.6655 GB, free: 6.113 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001078/0.3921, allocations: 51.31 kB / 0.6655 GB, free: 6.062 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.866e-06/0.3921, allocations: 7.922 kB / 0.6655 GB, free: 6.055 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.484e-06/0.3921, allocations: 0 / 0.6655 GB, free: 6.055 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.368e-06/0.3921, allocations: 0.9375 kB / 0.6655 GB, free: 6.055 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.446e-05/0.3922, allocations: 15.14 kB / 0.6655 GB, free: 6.047 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001052/0.3923, allocations: 153 kB / 0.6657 GB, free: 5.852 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001511/0.3925, allocations: 44.62 kB / 0.6657 GB, free: 5.812 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.297e-05/0.3925, allocations: 12.78 kB / 0.6657 GB, free: 5.805 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.616e-05/0.3926, allocations: 3.938 kB / 0.6657 GB, free: 5.801 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.136e-05/0.3926, allocations: 31.97 kB / 0.6658 GB, free: 5.762 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=3): time 1.103e-06/0.3926, allocations: 0 / 0.6658 GB, free: 5.762 MB / 0.4981 GB Notification: Performance of matching and sorting (n=3): time 0.0001852/0.3928, allocations: 61.14 kB / 0.6658 GB, free: 5.711 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.046e-05/0.3928, allocations: 56.72 kB / 0.6659 GB, free: 5.645 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 1.447e-05/0.3928, allocations: 89.86 kB / 0.666 GB, free: 5.547 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 7.023e-06/0.3928, allocations: 25.7 kB / 0.666 GB, free: 5.516 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 1.028e-05/0.3928, allocations: 81.55 kB / 0.6661 GB, free: 5.434 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 2.821e-05/0.3929, allocations: 7.531 kB / 0.6661 GB, free: 5.43 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.811e-05/0.3929, allocations: 20.08 kB / 0.6661 GB, free: 5.406 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 3.961e-05/0.393, allocations: 310.8 kB / 0.6664 GB, free: 5.094 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.457e-05/0.393, allocations: 3.812 kB / 0.6664 GB, free: 5.094 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.967e-05/0.393, allocations: 20.45 kB / 0.6664 GB, free: 5.078 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.897e-05/0.3931, allocations: 24.94 kB / 0.6664 GB, free: 5.062 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.784e-06/0.3931, allocations: 0 / 0.6664 GB, free: 5.062 MB / 0.4981 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001018/0.3932, allocations: 43.78 kB / 0.6665 GB, free: 5.023 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.349e-05/0.3932, allocations: 7.062 kB / 0.6665 GB, free: 5.023 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.228e-06/0.3932, allocations: 3.938 kB / 0.6665 GB, free: 5.02 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.194e-05/0.3933, allocations: 0 / 0.6665 GB, free: 5.02 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003619/0.3936, allocations: 49.11 kB / 0.6665 GB, free: 4.996 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009237/0.3946, allocations: 1.399 MB / 0.6679 GB, free: 3.516 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.8e-05/0.3946, allocations: 13.67 kB / 0.6679 GB, free: 3.504 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.17e-06/0.3946, allocations: 0 / 0.6679 GB, free: 3.504 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 5.093e-05/0.3947, allocations: 120.3 kB / 0.668 GB, free: 3.379 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.045e-06/0.3947, allocations: 3.906 kB / 0.668 GB, free: 3.375 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.129e-05/0.3947, allocations: 8.625 kB / 0.668 GB, free: 3.367 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.292e-06/0.3947, allocations: 0 / 0.668 GB, free: 3.367 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.244e-06/0.3947, allocations: 1.406 kB / 0.668 GB, free: 3.367 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.335e-06/0.3947, allocations: 3.938 kB / 0.668 GB, free: 3.363 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.898e-05/0.3948, allocations: 164.5 kB / 0.6682 GB, free: 3.156 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.924e-06/0.3948, allocations: 0 / 0.6682 GB, free: 3.156 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003465/0.3951, allocations: 52.33 kB / 0.6682 GB, free: 3.133 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.724e-06/0.3951, allocations: 0 / 0.6682 GB, free: 3.133 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.424e-06/0.3952, allocations: 0 / 0.6682 GB, free: 3.133 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008427/0.396, allocations: 1.4 MB / 0.6696 GB, free: 1.656 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.063e-06/0.396, allocations: 3.938 kB / 0.6696 GB, free: 1.652 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001055/0.3961, allocations: 71.64 kB / 0.6697 GB, free: 1.578 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 1.624e-05/0.3962, allocations: 81.11 kB / 0.6698 GB, free: 1.48 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.354e-06/0.3962, allocations: 5.375 kB / 0.6698 GB, free: 1.477 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.545e-05/0.3962, allocations: 5.391 kB / 0.6698 GB, free: 1.473 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.068e-05/0.3962, allocations: 5.625 kB / 0.6698 GB, free: 1.469 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.196e-06/0.3962, allocations: 0 / 0.6698 GB, free: 1.469 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 1.504e-05/0.3962, allocations: 75.28 kB / 0.6699 GB, free: 1.395 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1e-07/0.3963, allocations: 1.281 kB / 0.6699 GB, free: 1.395 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0001824/0.3964, allocations: 3.5 kB / 0.6699 GB, free: 1.395 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.0002998/0.3967, allocations: 0.617 MB / 0.6705 GB, free: 0.7773 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0004615/0.3972, allocations: 63.72 kB / 0.6705 GB, free: 0.7461 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.414e-06/0.3972, allocations: 1.281 kB / 0.6705 GB, free: 0.7461 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0002286/0.3975, allocations: 30.69 kB / 0.6706 GB, free: 0.7383 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001341/0.3976, allocations: 9.266 kB / 0.6706 GB, free: 0.7305 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004122/0.398, allocations: 134.4 kB / 0.6707 GB, free: 0.5742 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001518/0.3982, allocations: 0.6728 MB / 0.6713 GB, free: 15.88 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 2.778e-05/0.3982, allocations: 1.281 kB / 0.6713 GB, free: 15.88 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.633e-05/0.3983, allocations: 17.98 kB / 0.6714 GB, free: 15.86 MB / 0.5137 GB Notification: Performance of SimCode: time 2.61e-07/0.3983, allocations: 0 / 0.6714 GB, free: 15.86 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01798/0.4162, allocations: 1.292 MB / 0.6726 GB, free: 15.14 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.65/11.07, allocations: 9.672 kB / 0.6726 GB, free: 15.13 MB / 0.5137 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/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)