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.001056/0.001056, allocations: 99.62 kB / 15.05 MB, free: 1.105 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.0011/0.0011, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.286/2.286, allocations: 223.2 MB / 239.9 MB, free: 5.359 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 1.265/1.265, allocations: 132.2 MB / 423.2 MB, free: 2.18 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0005199/0.0005199, allocations: 16 kB / 0.5033 GB, free: 4.16 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7883/0.7889, allocations: 81.57 MB / 0.583 GB, free: 4.008 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.PowerLinearized): time 0.001052/0.79, allocations: 316.3 kB / 0.5833 GB, free: 3.797 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003847/0.7904, allocations: 86.33 kB / 0.5834 GB, free: 3.742 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.224e-05/0.7904, allocations: 1.156 kB / 0.5834 GB, free: 3.742 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 1.784e-05/0.7905, allocations: 3.938 kB / 0.5834 GB, free: 3.738 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 5.525e-05/0.7905, allocations: 1.656 kB / 0.5834 GB, free: 3.738 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002273/0.7908, allocations: 15.42 kB / 0.5834 GB, free: 3.73 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 5.804e-05/0.7908, allocations: 2.969 kB / 0.5834 GB, free: 3.73 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.168e-05/0.7909, allocations: 1.172 kB / 0.5834 GB, free: 3.73 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.788e-05/0.7909, allocations: 6.562 kB / 0.5834 GB, free: 3.727 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.988e-05/0.7911, allocations: 7.969 kB / 0.5834 GB, free: 3.723 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 1.283e-05/0.7911, allocations: 0 / 0.5834 GB, free: 3.723 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.307e-05/0.7912, allocations: 13.78 kB / 0.5834 GB, free: 3.719 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 1.296e-05/0.7912, allocations: 0.75 kB / 0.5834 GB, free: 3.719 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 2.517e-05/0.7912, allocations: 31.56 kB / 0.5834 GB, free: 3.684 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 8.06e-05/0.7913, allocations: 10.09 kB / 0.5835 GB, free: 3.68 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.026e-06/0.7913, allocations: 0 / 0.5835 GB, free: 3.68 MB / 430.1 MB Notification: Performance of FrontEnd: time 3.076e-06/0.7913, allocations: 0.875 kB / 0.5835 GB, free: 3.68 MB / 430.1 MB Notification: Performance of Transformations before backend: time 4.078e-06/0.7914, allocations: 0 / 0.5835 GB, free: 3.68 MB / 430.1 MB 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.0003392/0.7917, allocations: 320.5 kB / 0.5838 GB, free: 3.328 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.448e-05/0.7918, allocations: 9.281 kB / 0.5838 GB, free: 3.328 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.172e-05/0.7918, allocations: 31.36 kB / 0.5838 GB, free: 3.289 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002219/0.792, allocations: 8.859 kB / 0.5838 GB, free: 3.289 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.444e-05/0.7921, allocations: 164.2 kB / 0.584 GB, free: 3.09 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.014e-05/0.7922, allocations: 1.688 kB / 0.584 GB, free: 3.09 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.319e-05/0.7922, allocations: 0.9688 kB / 0.584 GB, free: 3.09 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001617/0.7924, allocations: 39.38 kB / 0.584 GB, free: 3.055 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.263e-05/0.7924, allocations: 4.656 kB / 0.584 GB, free: 3.051 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.068e-05/0.7924, allocations: 0 / 0.584 GB, free: 3.051 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.018e-05/0.7924, allocations: 0.9688 kB / 0.584 GB, free: 3.051 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001291/0.7926, allocations: 19.12 kB / 0.584 GB, free: 3.043 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001952/0.7928, allocations: 154.8 kB / 0.5842 GB, free: 2.848 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002568/0.793, allocations: 42.64 kB / 0.5842 GB, free: 2.816 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.734e-05/0.7931, allocations: 5.969 kB / 0.5842 GB, free: 2.812 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.128e-05/0.7931, allocations: 40.69 kB / 0.5843 GB, free: 2.766 MB / 430.1 MB Notification: Performance of pre-optimization done (n=3): time 1.292e-06/0.7932, allocations: 0 / 0.5843 GB, free: 2.766 MB / 430.1 MB Notification: Performance of matching and sorting (n=3): time 0.0003625/0.7935, allocations: 55.47 kB / 0.5843 GB, free: 2.727 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.59e-05/0.7936, allocations: 55.34 kB / 0.5844 GB, free: 2.66 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.446e-05/0.7936, allocations: 91.48 kB / 0.5845 GB, free: 2.562 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 1.183e-05/0.7937, allocations: 25.7 kB / 0.5845 GB, free: 2.531 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.566e-05/0.7937, allocations: 88.14 kB / 0.5846 GB, free: 2.441 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.7e-05/0.7937, allocations: 8.219 kB / 0.5846 GB, free: 2.438 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.649e-06/0.7938, allocations: 0.8125 kB / 0.5846 GB, free: 2.438 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 8.488e-05/0.7939, allocations: 312.9 kB / 0.5849 GB, free: 2.125 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.808e-05/0.7939, allocations: 9.109 kB / 0.5849 GB, free: 2.121 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.023e-05/0.794, allocations: 6.406 kB / 0.5849 GB, free: 2.121 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.193e-05/0.7941, allocations: 9.578 kB / 0.5849 GB, free: 2.117 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.657e-05/0.7941, allocations: 0 / 0.5849 GB, free: 2.117 MB / 430.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001751/0.7943, allocations: 55.33 kB / 0.5849 GB, free: 2.074 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.873e-05/0.7943, allocations: 6.016 kB / 0.585 GB, free: 2.074 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.365e-06/0.7943, allocations: 0 / 0.585 GB, free: 2.074 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.003e-05/0.7944, allocations: 1.203 kB / 0.585 GB, free: 2.074 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005942/0.795, allocations: 41.08 kB / 0.585 GB, free: 2.074 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001676/0.7967, allocations: 1.32 MB / 0.5863 GB, free: 0.7188 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.995e-05/0.7967, allocations: 1.438 kB / 0.5863 GB, free: 0.7188 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.518e-06/0.7967, allocations: 1.281 kB / 0.5863 GB, free: 0.7188 MB / 430.1 MB 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 (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.0001016/0.7969, allocations: 112.3 kB / 0.5864 GB, free: 0.6016 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.32e-05/0.7969, allocations: 1.156 kB / 0.5864 GB, free: 0.6016 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.298e-05/0.7969, allocations: 12.34 kB / 0.5864 GB, free: 0.5859 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.009e-06/0.7969, allocations: 1.375 kB / 0.5864 GB, free: 0.5859 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.225e-06/0.7969, allocations: 0.6875 kB / 0.5864 GB, free: 0.5859 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.999e-06/0.7969, allocations: 0 / 0.5864 GB, free: 0.5859 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001363/0.7971, allocations: 159.5 kB / 0.5866 GB, free: 396 kB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.823e-06/0.7971, allocations: 0.6562 kB / 0.5866 GB, free: 396 kB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005414/0.7977, allocations: 49.33 kB / 0.5866 GB, free: 392 kB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.369e-06/0.7977, allocations: 0.7031 kB / 0.5866 GB, free: 392 kB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.511e-05/0.7977, allocations: 4.719 kB / 0.5866 GB, free: 388 kB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001618/0.7993, allocations: 1.313 MB / 0.5879 GB, free: 15.03 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.943e-06/0.7993, allocations: 0 / 0.5879 GB, free: 15.03 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002057/0.7996, allocations: 80.7 kB / 0.588 GB, free: 14.95 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.525e-05/0.7996, allocations: 87.14 kB / 0.5881 GB, free: 14.85 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.186e-05/0.7997, allocations: 1.172 kB / 0.5881 GB, free: 14.85 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.172e-05/0.7997, allocations: 1.5 kB / 0.5881 GB, free: 14.85 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.464e-05/0.7997, allocations: 7.641 kB / 0.5881 GB, free: 14.85 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.178e-06/0.7997, allocations: 0 / 0.5881 GB, free: 14.85 MB / 446.1 MB Notification: Performance of sorting global known variables: time 3.395e-05/0.7998, allocations: 77.2 kB / 0.5881 GB, free: 14.77 MB / 446.1 MB Notification: Performance of sort global known variables: time 2.1e-07/0.7998, allocations: 3.938 kB / 0.5881 GB, free: 14.77 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0003227/0.8001, allocations: 7.125 kB / 0.5882 GB, free: 14.77 MB / 446.1 MB 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 (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.0006062/0.8008, allocations: 0.6066 MB / 0.5887 GB, free: 14.17 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0007431/0.8015, allocations: 65.61 kB / 0.5888 GB, free: 14.16 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 3.035e-06/0.8015, allocations: 0 / 0.5888 GB, free: 14.16 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003914/0.8019, allocations: 39.3 kB / 0.5888 GB, free: 14.15 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001539/0.8021, allocations: 0.9062 kB / 0.5888 GB, free: 14.15 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005942/0.8027, allocations: 124.1 kB / 0.589 GB, free: 14.01 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003242/0.8031, allocations: 0.6766 MB / 0.5896 GB, free: 13.32 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 5.533e-05/0.8031, allocations: 2.469 kB / 0.5896 GB, free: 13.32 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.898e-05/0.8032, allocations: 13.58 kB / 0.5896 GB, free: 13.3 MB / 446.1 MB Notification: Performance of SimCode: time 5.71e-07/0.8032, allocations: 0 / 0.5896 GB, free: 13.3 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01914/0.8223, allocations: 1.048 MB / 0.5907 GB, free: 13.15 MB / 446.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002754/0.8227, allocations: 203.5 kB / 0.5909 GB, free: 12.92 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.527/3.349, allocations: 1.062 kB / 0.5909 GB, free: 12.92 MB / 446.1 MB (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) Environment - environmentSimulation: