Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_IDEAS.Utilities.Math.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-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.Examples.RegNonZeroPower,fileNamePrefix="IDEAS_dev_IDEAS_Utilities_Math_Examples_RegNonZeroPower",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Utilities.Math.Examples.RegNonZeroPower,fileNamePrefix="IDEAS_dev_IDEAS_Utilities_Math_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.000853/0.0008524, allocations: 98.27 kB / 15.36 MB, free: 0.7344 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.005762/0.005763, allocations: 170.6 kB / 16.27 MB, free: 6.66 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.458/1.458, allocations: 223.3 MB / 240.3 MB, free: 5.344 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9614/0.9614, allocations: 135.3 MB / 426.7 MB, free: 14.23 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004245/0.0004244, allocations: 12.62 kB / 0.5077 GB, free: 4.641 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1841/0.1845, allocations: 82.31 MB / 0.5881 GB, free: 2.496 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.RegNonZeroPower): time 0.001804/0.1864, allocations: 1.15 MB / 0.5892 GB, free: 1.332 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.000812/0.1872, allocations: 403.6 kB / 0.5896 GB, free: 0.9336 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.77e-05/0.1873, allocations: 4 kB / 0.5896 GB, free: 0.9297 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 1.736e-05/0.1873, allocations: 3.984 kB / 0.5896 GB, free: 0.9258 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 4.956e-05/0.1873, allocations: 7.875 kB / 0.5896 GB, free: 0.918 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004003/0.1877, allocations: 75.84 kB / 0.5897 GB, free: 0.8438 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 6.561e-05/0.1878, allocations: 19.94 kB / 0.5897 GB, free: 0.8242 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.56e-05/0.1879, allocations: 7.984 kB / 0.5897 GB, free: 0.8164 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.627e-05/0.188, allocations: 8 kB / 0.5897 GB, free: 0.8086 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.943e-05/0.188, allocations: 11.92 kB / 0.5897 GB, free: 0.7969 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.292e-05/0.188, allocations: 0 / 0.5897 GB, free: 0.7969 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003712/0.1884, allocations: 271.7 kB / 0.59 GB, free: 0.5312 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 1.421e-05/0.1884, allocations: 3.938 kB / 0.59 GB, free: 0.5273 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 3.925e-05/0.1885, allocations: 41.62 kB / 0.59 GB, free: 492 kB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001936/0.1887, allocations: 103.8 kB / 0.5901 GB, free: 388 kB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.082e-06/0.1887, allocations: 7.938 kB / 0.5901 GB, free: 380 kB / 494.1 MB Notification: Performance of FrontEnd: time 1.062e-06/0.1887, allocations: 0 / 0.5901 GB, free: 380 kB / 494.1 MB Notification: Performance of Transformations before backend: time 4.438e-06/0.1887, allocations: 0 / 0.5901 GB, free: 380 kB / 494.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.0005053/0.1892, allocations: 359.7 kB / 0.5905 GB, free: 15.97 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 5.196e-05/0.1893, allocations: 12.03 kB / 0.5905 GB, free: 15.96 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.898e-05/0.1893, allocations: 30.75 kB / 0.5905 GB, free: 15.92 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.812e-05/0.1894, allocations: 8.938 kB / 0.5905 GB, free: 15.91 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001331/0.1895, allocations: 176.3 kB / 0.5907 GB, free: 15.7 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.13e-05/0.1895, allocations: 384 / 0.5907 GB, free: 15.7 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.113e-05/0.1896, allocations: 384 / 0.5907 GB, free: 15.7 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001999/0.1898, allocations: 58.17 kB / 0.5907 GB, free: 15.64 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.506e-06/0.1898, allocations: 3.938 kB / 0.5907 GB, free: 15.63 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.044e-05/0.1898, allocations: 4 kB / 0.5908 GB, free: 15.63 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.889e-06/0.1898, allocations: 0 / 0.5908 GB, free: 15.63 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001754/0.19, allocations: 43.97 kB / 0.5908 GB, free: 15.59 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003705/0.1904, allocations: 245 kB / 0.591 GB, free: 15.3 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001367/0.1905, allocations: 54.44 kB / 0.5911 GB, free: 15.23 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.415e-05/0.1906, allocations: 32.89 kB / 0.5911 GB, free: 15.2 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006892/0.1913, allocations: 461.5 kB / 0.5916 GB, free: 14.66 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.464e-05/0.1914, allocations: 30.56 kB / 0.5916 GB, free: 14.62 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=2): time 9.32e-07/0.1914, allocations: 0 / 0.5916 GB, free: 14.62 MB / 0.4981 GB Notification: Performance of matching and sorting (n=2): time 0.000417/0.1918, allocations: 101.6 kB / 0.5917 GB, free: 14.51 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.625e-05/0.1918, allocations: 51.41 kB / 0.5917 GB, free: 14.45 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.202e-05/0.1919, allocations: 105.8 kB / 0.5918 GB, free: 14.34 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.422e-05/0.192, allocations: 29.83 kB / 0.5919 GB, free: 14.3 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 5.128e-05/0.192, allocations: 80.14 kB / 0.5919 GB, free: 14.22 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 2.436e-05/0.192, allocations: 15.84 kB / 0.5919 GB, free: 14.2 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.96e-05/0.1921, allocations: 13.66 kB / 0.592 GB, free: 14.18 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001256/0.1922, allocations: 314.8 kB / 0.5923 GB, free: 13.87 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.86e-05/0.1923, allocations: 23.98 kB / 0.5923 GB, free: 13.84 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.111e-05/0.1924, allocations: 19.98 kB / 0.5923 GB, free: 13.82 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001628/0.1926, allocations: 56.7 kB / 0.5924 GB, free: 13.77 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.707e-06/0.1926, allocations: 3.938 kB / 0.5924 GB, free: 13.76 MB / 0.4981 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002473/0.1928, allocations: 85.62 kB / 0.5924 GB, free: 13.67 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.809e-05/0.1929, allocations: 4 kB / 0.5924 GB, free: 13.67 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.911e-06/0.1929, allocations: 4 kB / 0.5925 GB, free: 13.66 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.427e-05/0.1929, allocations: 0 / 0.5925 GB, free: 13.66 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.008e-05/0.193, allocations: 16.02 kB / 0.5925 GB, free: 13.65 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.079e-06/0.193, allocations: 3.938 kB / 0.5925 GB, free: 13.64 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.737e-05/0.1931, allocations: 7.984 kB / 0.5925 GB, free: 13.64 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.241e-06/0.1931, allocations: 7.984 kB / 0.5925 GB, free: 13.63 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 (2): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.401e-05/0.1931, allocations: 109.8 kB / 0.5926 GB, free: 13.51 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.147e-05/0.1932, allocations: 4 kB / 0.5926 GB, free: 13.51 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000245/0.1934, allocations: 85.19 kB / 0.5927 GB, free: 13.41 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.144e-06/0.1935, allocations: 0 / 0.5927 GB, free: 13.41 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.899e-06/0.1935, allocations: 0 / 0.5927 GB, free: 13.41 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.736e-06/0.1935, allocations: 0 / 0.5927 GB, free: 13.41 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001641/0.1936, allocations: 165.6 kB / 0.5928 GB, free: 13.2 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.443e-06/0.1936, allocations: 0 / 0.5928 GB, free: 13.2 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.77e-05/0.1937, allocations: 20.27 kB / 0.5929 GB, free: 13.18 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.394e-06/0.1937, allocations: 0 / 0.5929 GB, free: 13.18 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.667e-06/0.1937, allocations: 4 kB / 0.5929 GB, free: 13.18 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.307e-06/0.1937, allocations: 0 / 0.5929 GB, free: 13.18 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.1937, allocations: 3.938 kB / 0.5929 GB, free: 13.18 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002531/0.194, allocations: 175.5 kB / 0.593 GB, free: 12.99 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 6.79e-05/0.1941, allocations: 81.02 kB / 0.5931 GB, free: 12.89 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.466e-05/0.1941, allocations: 4 kB / 0.5931 GB, free: 12.89 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.49e-05/0.1942, allocations: 11.98 kB / 0.5931 GB, free: 12.88 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.371e-05/0.1942, allocations: 0 / 0.5931 GB, free: 12.88 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.176e-06/0.1942, allocations: 0 / 0.5931 GB, free: 12.88 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 4.377e-05/0.1943, allocations: 91.3 kB / 0.5932 GB, free: 12.79 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1e-07/0.1943, allocations: 0 / 0.5932 GB, free: 12.79 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.000225/0.1945, allocations: 16 kB / 0.5932 GB, free: 12.77 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 (2): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0006191/0.1951, allocations: 0.7202 MB / 0.5939 GB, free: 12.02 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0002125/0.1954, allocations: 51.98 kB / 0.594 GB, free: 11.97 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 3.376e-06/0.1954, allocations: 0 / 0.594 GB, free: 11.97 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 9.028e-05/0.1955, allocations: 31.92 kB / 0.594 GB, free: 11.94 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002619/0.1957, allocations: 0 / 0.594 GB, free: 11.94 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000434/0.1962, allocations: 150.3 kB / 0.5941 GB, free: 11.75 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002672/0.1965, allocations: 0.6887 MB / 0.5948 GB, free: 11.04 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 2.425e-05/0.1965, allocations: 0 / 0.5948 GB, free: 11.04 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.164e-05/0.1965, allocations: 11.44 kB / 0.5948 GB, free: 11.03 MB / 0.4981 GB Notification: Performance of SimCode: time 6.21e-07/0.1965, allocations: 0 / 0.5948 GB, free: 11.03 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2179/0.4144, allocations: 1.331 MB / 0.5961 GB, free: 9.836 MB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002328/0.4147, allocations: 190.7 kB / 0.5963 GB, free: 9.578 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.591/2.006, allocations: 4 kB / 0.5963 GB, free: 9.574 MB / 0.4981 GB (rm -f IDEAS_dev_IDEAS.Utilities.Math.Examples.RegNonZeroPower.pipe ; mkfifo IDEAS_dev_IDEAS.Utilities.Math.Examples.RegNonZeroPower.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Utilities.Math.Examples.RegNonZeroPower.pipe >> ../files/IDEAS_dev_IDEAS.Utilities.Math.Examples.RegNonZeroPower.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Utilities_Math_Examples_RegNonZeroPower_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Utilities_Math_Examples_RegNonZeroPower.fmu > IDEAS_dev_IDEAS.Utilities.Math.Examples.RegNonZeroPower.pipe 2>&1)