Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_IDEAS.Utilities.Math.Examples.InverseXRegularized.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.InverseXRegularized,fileNamePrefix="IDEAS_dev_IDEAS_Utilities_Math_Examples_InverseXRegularized",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Utilities.Math.Examples.InverseXRegularized,fileNamePrefix="IDEAS_dev_IDEAS_Utilities_Math_Examples_InverseXRegularized",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.0009873/0.000987, allocations: 85.94 kB / 15.06 MB, free: 1.09 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.001295/0.001295, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.383/1.383, allocations: 223.2 MB / 240 MB, free: 5.43 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 1.053/1.053, allocations: 135.3 MB / 426.4 MB, free: 14.32 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0005152/0.0005153, allocations: 12.62 kB / 0.5071 GB, free: 5.043 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1698/0.1703, allocations: 82.31 MB / 0.5875 GB, free: 2.898 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.InverseXRegularized): time 0.001549/0.1719, allocations: 1.152 MB / 0.5886 GB, free: 1.73 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.001158/0.1731, allocations: 0.7276 MB / 0.5893 GB, free: 0.9961 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.38e-05/0.1731, allocations: 0 / 0.5893 GB, free: 0.9961 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 1.176e-05/0.1731, allocations: 0 / 0.5893 GB, free: 0.9961 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 5.588e-05/0.1732, allocations: 11.92 kB / 0.5893 GB, free: 0.9844 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003686/0.1736, allocations: 95.69 kB / 0.5894 GB, free: 0.8906 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 5.816e-05/0.1736, allocations: 27.92 kB / 0.5894 GB, free: 0.8633 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.27e-05/0.1737, allocations: 0 / 0.5894 GB, free: 0.8633 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.049e-05/0.1738, allocations: 15.98 kB / 0.5894 GB, free: 0.8477 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.359e-05/0.1738, allocations: 15.92 kB / 0.5895 GB, free: 0.832 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.056e-05/0.1738, allocations: 4 kB / 0.5895 GB, free: 0.8281 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004383/0.1743, allocations: 307.4 kB / 0.5898 GB, free: 0.5273 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 1.512e-05/0.1743, allocations: 7.984 kB / 0.5898 GB, free: 0.5195 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 2.298e-05/0.1743, allocations: 25.7 kB / 0.5898 GB, free: 500 kB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002106/0.1745, allocations: 144.1 kB / 0.5899 GB, free: 356 kB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.747e-06/0.1746, allocations: 0 / 0.5899 GB, free: 356 kB / 494.1 MB Notification: Performance of FrontEnd: time 1.062e-06/0.1746, allocations: 0 / 0.5899 GB, free: 356 kB / 494.1 MB Notification: Performance of Transformations before backend: time 3.146e-06/0.1746, allocations: 0 / 0.5899 GB, free: 356 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.0004876/0.1751, allocations: 379.2 kB / 0.5903 GB, free: 15.93 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.803e-05/0.1751, allocations: 8.031 kB / 0.5903 GB, free: 15.92 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.403e-05/0.1752, allocations: 34.56 kB / 0.5903 GB, free: 15.88 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004078/0.1756, allocations: 79.91 kB / 0.5904 GB, free: 15.8 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001166/0.1757, allocations: 166.9 kB / 0.5906 GB, free: 15.6 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.15e-05/0.1757, allocations: 4 kB / 0.5906 GB, free: 15.59 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.098e-05/0.1757, allocations: 0 / 0.5906 GB, free: 15.59 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002717/0.176, allocations: 97.62 kB / 0.5907 GB, free: 15.49 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.331e-06/0.176, allocations: 7.938 kB / 0.5907 GB, free: 15.48 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.027e-06/0.176, allocations: 0 / 0.5907 GB, free: 15.48 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.531e-06/0.1761, allocations: 0 / 0.5907 GB, free: 15.48 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000391/0.1765, allocations: 111.9 kB / 0.5908 GB, free: 15.38 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000478/0.1769, allocations: 316.8 kB / 0.5911 GB, free: 15.02 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003504/0.1773, allocations: 110.5 kB / 0.5912 GB, free: 14.9 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001927/0.1775, allocations: 72.86 kB / 0.5913 GB, free: 14.82 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.39e-05/0.1775, allocations: 0 / 0.5913 GB, free: 14.82 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.928e-05/0.1776, allocations: 34.5 kB / 0.5913 GB, free: 14.78 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=2): time 8.32e-07/0.1776, allocations: 0 / 0.5913 GB, free: 14.78 MB / 0.4981 GB Notification: Performance of matching and sorting (n=2): time 0.0006655/0.1782, allocations: 201.6 kB / 0.5915 GB, free: 14.58 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.429e-05/0.1783, allocations: 59.34 kB / 0.5915 GB, free: 14.51 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.031e-05/0.1784, allocations: 101.9 kB / 0.5916 GB, free: 14.4 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.439e-05/0.1784, allocations: 25.7 kB / 0.5917 GB, free: 14.37 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 4.418e-05/0.1784, allocations: 84.14 kB / 0.5917 GB, free: 14.28 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 1.929e-05/0.1785, allocations: 11.89 kB / 0.5918 GB, free: 14.27 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.62e-06/0.1785, allocations: 0 / 0.5918 GB, free: 14.27 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001043/0.1786, allocations: 318.9 kB / 0.5921 GB, free: 13.95 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000189/0.1788, allocations: 55.95 kB / 0.5921 GB, free: 13.89 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001766/0.179, allocations: 51.95 kB / 0.5922 GB, free: 13.84 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001924/0.1792, allocations: 56.02 kB / 0.5922 GB, free: 13.79 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.542e-06/0.1792, allocations: 0 / 0.5922 GB, free: 13.79 MB / 0.4981 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0004177/0.1796, allocations: 149.5 kB / 0.5924 GB, free: 13.64 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.35e-05/0.1796, allocations: 6.656 kB / 0.5924 GB, free: 13.63 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.594e-06/0.1796, allocations: 7.984 kB / 0.5924 GB, free: 13.62 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.06e-05/0.1796, allocations: 0 / 0.5924 GB, free: 13.62 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001498/0.1798, allocations: 32 kB / 0.5924 GB, free: 13.59 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.518e-06/0.1798, allocations: 0 / 0.5924 GB, free: 13.59 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001073/0.1799, allocations: 31.92 kB / 0.5924 GB, free: 13.56 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.214e-06/0.1799, allocations: 4 kB / 0.5924 GB, free: 13.56 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.34e-05/0.18, allocations: 105.8 kB / 0.5925 GB, free: 13.45 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.835e-05/0.1801, allocations: 7.906 kB / 0.5925 GB, free: 13.44 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.042e-05/0.1801, allocations: 7.125 kB / 0.5925 GB, free: 13.43 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.244e-06/0.1801, allocations: 3.938 kB / 0.5926 GB, free: 13.43 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.827e-06/0.1801, allocations: 0 / 0.5926 GB, free: 13.43 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.445e-06/0.1801, allocations: 0 / 0.5926 GB, free: 13.43 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001671/0.1803, allocations: 169.6 kB / 0.5927 GB, free: 13.21 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.112e-06/0.1803, allocations: 4 kB / 0.5927 GB, free: 13.21 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001339/0.1804, allocations: 32.22 kB / 0.5927 GB, free: 13.18 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.374e-06/0.1804, allocations: 0 / 0.5927 GB, free: 13.18 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.107e-05/0.1805, allocations: 4 kB / 0.5928 GB, free: 13.17 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.342e-06/0.1805, allocations: 0 / 0.5928 GB, free: 13.17 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.72e-07/0.1805, allocations: 4 kB / 0.5928 GB, free: 13.17 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004599/0.1809, allocations: 247.3 kB / 0.593 GB, free: 12.91 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 3.105e-05/0.181, allocations: 77.11 kB / 0.5931 GB, free: 12.82 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.462e-05/0.181, allocations: 4.031 kB / 0.5931 GB, free: 12.81 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001404/0.1811, allocations: 23.97 kB / 0.5931 GB, free: 12.79 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.234e-05/0.1812, allocations: 4 kB / 0.5931 GB, free: 12.79 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.65e-06/0.1812, allocations: 0 / 0.5931 GB, free: 12.79 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 3.708e-05/0.1812, allocations: 83.27 kB / 0.5932 GB, free: 12.7 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.3e-07/0.1812, allocations: 7.938 kB / 0.5932 GB, free: 12.7 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002406/0.1815, allocations: 16 kB / 0.5932 GB, free: 12.68 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 (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.0007615/0.1823, allocations: 0.7864 MB / 0.594 GB, free: 11.86 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0004258/0.1827, allocations: 119.9 kB / 0.5941 GB, free: 11.75 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.013e-06/0.1827, allocations: 0 / 0.5941 GB, free: 11.75 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001958/0.1829, allocations: 64.02 kB / 0.5941 GB, free: 11.68 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002764/0.1832, allocations: 7.234 kB / 0.5941 GB, free: 11.68 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006516/0.1839, allocations: 213.8 kB / 0.5944 GB, free: 11.44 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002389/0.1841, allocations: 0.6809 MB / 0.595 GB, free: 10.73 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 7.99e-05/0.1842, allocations: 12 kB / 0.595 GB, free: 10.72 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.418e-05/0.1843, allocations: 15.44 kB / 0.595 GB, free: 10.7 MB / 0.4981 GB Notification: Performance of SimCode: time 2.71e-07/0.1843, allocations: 0 / 0.595 GB, free: 10.7 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0116/0.1959, allocations: 1.39 MB / 0.5964 GB, free: 9.465 MB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001647/0.1961, allocations: 174.8 kB / 0.5966 GB, free: 9.23 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.649/1.845, allocations: 0 / 0.5966 GB, free: 9.23 MB / 0.4981 GB (rm -f IDEAS_dev_IDEAS.Utilities.Math.Examples.InverseXRegularized.pipe ; mkfifo IDEAS_dev_IDEAS.Utilities.Math.Examples.InverseXRegularized.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Utilities.Math.Examples.InverseXRegularized.pipe >> ../files/IDEAS_dev_IDEAS.Utilities.Math.Examples.InverseXRegularized.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Utilities_Math_Examples_InverseXRegularized_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Utilities_Math_Examples_InverseXRegularized.fmu > IDEAS_dev_IDEAS.Utilities.Math.Examples.InverseXRegularized.pipe 2>&1) Environment - environmentSimulation: