Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.Utilities.Math.Functions.Examples.RegNonZeroPower.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.RegNonZeroPower,fileNamePrefix="IDEAS_IDEAS_Utilities_Math_Functions_Examples_RegNonZeroPower",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Utilities.Math.Functions.Examples.RegNonZeroPower,fileNamePrefix="IDEAS_IDEAS_Utilities_Math_Functions_Examples_RegNonZeroPower",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.002056/0.002056, allocations: 99.55 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.002518/0.002518, allocations: 177.3 kB / 15.94 MB, free: 228 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.442/2.442, allocations: 223.2 MB / 239.9 MB, free: 5.324 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 1.353/1.353, allocations: 132.2 MB / 423.2 MB, free: 2.164 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004259/0.000426, allocations: 8 kB / 0.5033 GB, free: 4.148 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5859/0.5864, allocations: 81.57 MB / 0.583 GB, free: 4.004 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.RegNonZeroPower): time 0.001003/0.5874, allocations: 313.7 kB / 0.5833 GB, free: 3.793 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.000825/0.5883, allocations: 293.9 kB / 0.5836 GB, free: 3.605 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.238e-05/0.5883, allocations: 0.7188 kB / 0.5836 GB, free: 3.605 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 1.484e-05/0.5883, allocations: 0 / 0.5836 GB, free: 3.605 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 7.685e-06/0.5884, allocations: 0 / 0.5836 GB, free: 3.605 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004994/0.5889, allocations: 74.86 kB / 0.5836 GB, free: 3.57 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 3.853e-05/0.5889, allocations: 1.375 kB / 0.5836 GB, free: 3.57 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.762e-05/0.589, allocations: 0.6094 kB / 0.5836 GB, free: 3.57 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.888e-05/0.589, allocations: 1.375 kB / 0.5836 GB, free: 3.57 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.392e-05/0.5891, allocations: 3.984 kB / 0.5836 GB, free: 3.566 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 1.338e-05/0.5891, allocations: 1.375 kB / 0.5836 GB, free: 3.566 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006728/0.5898, allocations: 262.3 kB / 0.5839 GB, free: 3.5 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 9.157e-06/0.5898, allocations: 0.75 kB / 0.5839 GB, free: 3.5 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 2.013e-05/0.5898, allocations: 30.41 kB / 0.5839 GB, free: 3.465 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001794/0.59, allocations: 55.52 kB / 0.584 GB, free: 3.449 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.206e-06/0.59, allocations: 1.375 kB / 0.584 GB, free: 3.449 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.884e-06/0.59, allocations: 0 / 0.584 GB, free: 3.449 MB / 430.1 MB Notification: Performance of Transformations before backend: time 4.739e-06/0.5901, allocations: 0 / 0.584 GB, free: 3.449 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: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0002836/0.5903, allocations: 326.2 kB / 0.5843 GB, free: 3.094 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.863e-05/0.5904, allocations: 9 kB / 0.5843 GB, free: 3.094 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.401e-05/0.5905, allocations: 31.45 kB / 0.5843 GB, free: 3.055 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.29e-05/0.5905, allocations: 1 kB / 0.5843 GB, free: 3.055 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.147e-05/0.5906, allocations: 167.7 kB / 0.5845 GB, free: 2.852 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.409e-05/0.5907, allocations: 1.797 kB / 0.5845 GB, free: 2.852 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.183e-05/0.5907, allocations: 0.7812 kB / 0.5845 GB, free: 2.852 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.875e-05/0.5908, allocations: 31.75 kB / 0.5845 GB, free: 2.816 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.845e-06/0.5908, allocations: 0 / 0.5845 GB, free: 2.816 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.447e-06/0.5908, allocations: 1.25 kB / 0.5845 GB, free: 2.816 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.989e-06/0.5908, allocations: 0.5625 kB / 0.5845 GB, free: 2.816 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.711e-05/0.5909, allocations: 1.312 kB / 0.5845 GB, free: 2.816 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001422/0.591, allocations: 156.4 kB / 0.5847 GB, free: 2.617 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 5.202e-05/0.5911, allocations: 21.02 kB / 0.5847 GB, free: 2.59 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005867/0.5917, allocations: 428.8 kB / 0.5851 GB, free: 2.113 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.457e-05/0.5918, allocations: 36.22 kB / 0.5851 GB, free: 2.07 MB / 430.1 MB Notification: Performance of pre-optimization done (n=1): time 1.673e-06/0.5918, allocations: 0 / 0.5851 GB, free: 2.07 MB / 430.1 MB Notification: Performance of matching and sorting (n=1): time 0.000182/0.592, allocations: 37.33 kB / 0.5852 GB, free: 2.035 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.297e-05/0.592, allocations: 55.41 kB / 0.5852 GB, free: 1.969 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.179e-05/0.592, allocations: 90.42 kB / 0.5853 GB, free: 1.871 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 9.558e-06/0.5921, allocations: 26.39 kB / 0.5853 GB, free: 1.84 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 1.337e-05/0.5921, allocations: 80.14 kB / 0.5854 GB, free: 1.758 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.805e-05/0.5921, allocations: 5.484 kB / 0.5854 GB, free: 1.754 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.066e-06/0.5921, allocations: 0 / 0.5854 GB, free: 1.754 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 7.393e-05/0.5922, allocations: 312.5 kB / 0.5857 GB, free: 1.441 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.371e-05/0.5922, allocations: 5.25 kB / 0.5857 GB, free: 1.438 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.102e-05/0.5923, allocations: 5.156 kB / 0.5857 GB, free: 1.434 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.316e-05/0.5923, allocations: 5.547 kB / 0.5857 GB, free: 1.43 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.447e-06/0.5923, allocations: 1.031 kB / 0.5857 GB, free: 1.43 MB / 430.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001021/0.5924, allocations: 36.06 kB / 0.5858 GB, free: 1.395 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.242e-05/0.5925, allocations: 5.828 kB / 0.5858 GB, free: 1.395 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.46e-06/0.5925, allocations: 0 / 0.5858 GB, free: 1.395 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.266e-05/0.5925, allocations: 0.6875 kB / 0.5858 GB, free: 1.395 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.254e-05/0.5926, allocations: 2.406 kB / 0.5858 GB, free: 1.395 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.794e-06/0.5926, allocations: 4.797 kB / 0.5858 GB, free: 1.391 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.669e-05/0.5926, allocations: 4.562 kB / 0.5858 GB, free: 1.387 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.013e-06/0.5926, allocations: 0.9062 kB / 0.5858 GB, free: 1.387 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 (1): * Single equations (assignments): 1 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 6.402e-05/0.5927, allocations: 113.3 kB / 0.5859 GB, free: 1.27 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.692e-05/0.5927, allocations: 0.5938 kB / 0.5859 GB, free: 1.27 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001051/0.5929, allocations: 45.17 kB / 0.5859 GB, free: 1.227 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.274e-06/0.5929, allocations: 0 / 0.5859 GB, free: 1.227 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.264e-06/0.5929, allocations: 4.688 kB / 0.5859 GB, free: 1.223 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.436e-06/0.5929, allocations: 1.031 kB / 0.5859 GB, free: 1.223 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.29e-05/0.593, allocations: 148.4 kB / 0.5861 GB, free: 1.031 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.635e-06/0.593, allocations: 3.953 kB / 0.5861 GB, free: 1.027 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.889e-05/0.593, allocations: 2.641 kB / 0.5861 GB, free: 1.027 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.527e-06/0.5931, allocations: 0.9375 kB / 0.5861 GB, free: 1.027 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.586e-06/0.5931, allocations: 0.7031 kB / 0.5861 GB, free: 1.027 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.713e-06/0.5931, allocations: 4.938 kB / 0.5861 GB, free: 1.023 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.162e-06/0.5931, allocations: 0 / 0.5861 GB, free: 1.023 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001062/0.5932, allocations: 62 kB / 0.5861 GB, free: 0.9531 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.266e-05/0.5932, allocations: 86.7 kB / 0.5862 GB, free: 0.8516 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.468e-05/0.5933, allocations: 0 / 0.5862 GB, free: 0.8516 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.416e-05/0.5933, allocations: 1.828 kB / 0.5862 GB, free: 0.8516 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.415e-05/0.5933, allocations: 0 / 0.5862 GB, free: 0.8516 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.737e-06/0.5933, allocations: 2.219 kB / 0.5862 GB, free: 0.8516 MB / 430.1 MB Notification: Performance of sorting global known variables: time 1.443e-05/0.5934, allocations: 75.28 kB / 0.5863 GB, free: 0.7773 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.9e-07/0.5934, allocations: 0 / 0.5863 GB, free: 0.7773 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0003608/0.5937, allocations: 13.34 kB / 0.5863 GB, free: 0.7734 MB / 430.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 (1): * Single equations (assignments): 1 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004127/0.5942, allocations: 0.6066 MB / 0.5869 GB, free: 180 kB / 430.1 MB Notification: Performance of simCode: created initialization part: time 7.984e-05/0.5943, allocations: 8.234 kB / 0.5869 GB, free: 176 kB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.424e-06/0.5943, allocations: 1.062 kB / 0.5869 GB, free: 176 kB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 1.495e-05/0.5943, allocations: 7.031 kB / 0.5869 GB, free: 172 kB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001394/0.5945, allocations: 3.359 kB / 0.5869 GB, free: 172 kB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003629/0.5948, allocations: 114.4 kB / 0.587 GB, free: 28 kB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003717/0.5952, allocations: 0.6741 MB / 0.5877 GB, free: 15.33 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 3.034e-05/0.5953, allocations: 5.406 kB / 0.5877 GB, free: 15.33 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.108e-05/0.5953, allocations: 8.25 kB / 0.5877 GB, free: 15.32 MB / 446.1 MB Notification: Performance of SimCode: time 3.71e-07/0.5953, allocations: 0 / 0.5877 GB, free: 15.32 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01744/0.6128, allocations: 0.9631 MB / 0.5886 GB, free: 15.2 MB / 446.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002547/0.6131, allocations: 178.8 kB / 0.5888 GB, free: 14.96 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.53/3.143, allocations: 4.75 kB / 0.5888 GB, free: 14.96 MB / 446.1 MB (rm -f IDEAS_IDEAS.Utilities.Math.Functions.Examples.RegNonZeroPower.pipe ; mkfifo IDEAS_IDEAS.Utilities.Math.Functions.Examples.RegNonZeroPower.pipe ; head -c 1048576 < IDEAS_IDEAS.Utilities.Math.Functions.Examples.RegNonZeroPower.pipe >> ../files/IDEAS_IDEAS.Utilities.Math.Functions.Examples.RegNonZeroPower.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Utilities_Math_Functions_Examples_RegNonZeroPower_fmu --startTime=-1 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Utilities_Math_Functions_Examples_RegNonZeroPower.fmu > IDEAS_IDEAS.Utilities.Math.Functions.Examples.RegNonZeroPower.pipe 2>&1) Environment - environmentSimulation: