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.001472/0.001472, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001166/0.001166, allocations: 194.6 kB / 16.53 MB, free: 6.664 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.338/1.338, allocations: 222.9 MB / 240.2 MB, free: 4.414 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9222/0.9222, allocations: 135.1 MB / 425.5 MB, free: 11.96 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001395/0.001395, allocations: 64.81 kB / 0.5054 GB, free: 5.219 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1568/0.1582, allocations: 80.93 MB / 0.5845 GB, free: 4.449 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.InverseXRegularized): time 0.003747/0.162, allocations: 1.421 MB / 0.5859 GB, free: 3.012 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.001732/0.1637, allocations: 0.793 MB / 0.5866 GB, free: 2.211 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.874e-05/0.1638, allocations: 0 / 0.5866 GB, free: 2.211 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 2.91e-05/0.1639, allocations: 0 / 0.5866 GB, free: 2.211 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 4.695e-05/0.1639, allocations: 7.938 kB / 0.5866 GB, free: 2.203 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006264/0.1646, allocations: 127.5 kB / 0.5868 GB, free: 2.078 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 8.659e-05/0.1647, allocations: 31.92 kB / 0.5868 GB, free: 2.047 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001053/0.1648, allocations: 8 kB / 0.5868 GB, free: 2.039 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.588e-05/0.1649, allocations: 19.91 kB / 0.5868 GB, free: 2.02 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.446e-05/0.165, allocations: 23.91 kB / 0.5868 GB, free: 1.996 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.948e-05/0.165, allocations: 4 kB / 0.5869 GB, free: 1.992 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007392/0.1657, allocations: 319.3 kB / 0.5872 GB, free: 1.68 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 2.179e-05/0.1658, allocations: 3.984 kB / 0.5872 GB, free: 1.676 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 3.916e-05/0.1658, allocations: 15.92 kB / 0.5872 GB, free: 1.66 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004557/0.1663, allocations: 195.9 kB / 0.5874 GB, free: 1.469 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.787e-06/0.1663, allocations: 0 / 0.5874 GB, free: 1.469 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.162e-06/0.1663, allocations: 0 / 0.5874 GB, free: 1.469 MB / 494.1 MB Notification: Performance of Transformations before backend: time 5.41e-06/0.1663, allocations: 4 kB / 0.5874 GB, free: 1.465 MB / 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.0005923/0.1669, allocations: 371.4 kB / 0.5877 GB, free: 1.055 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.978e-05/0.167, allocations: 8.031 kB / 0.5877 GB, free: 1.047 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.927e-05/0.167, allocations: 30.75 kB / 0.5878 GB, free: 1.008 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004721/0.1675, allocations: 68.84 kB / 0.5878 GB, free: 0.9414 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001157/0.1676, allocations: 176.2 kB / 0.588 GB, free: 0.7305 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.492e-05/0.1677, allocations: 8.375 kB / 0.588 GB, free: 0.7227 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.236e-05/0.1677, allocations: 4.375 kB / 0.588 GB, free: 0.7188 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002986/0.168, allocations: 85.75 kB / 0.5881 GB, free: 0.6289 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.825e-06/0.168, allocations: 0 / 0.5881 GB, free: 0.6289 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.106e-05/0.168, allocations: 3.984 kB / 0.5881 GB, free: 0.625 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.709e-06/0.168, allocations: 4 kB / 0.5881 GB, free: 0.6211 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004288/0.1685, allocations: 91.91 kB / 0.5882 GB, free: 0.5312 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005036/0.169, allocations: 296.8 kB / 0.5885 GB, free: 196 kB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003803/0.1694, allocations: 98.44 kB / 0.5886 GB, free: 88 kB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002135/0.1696, allocations: 52.88 kB / 0.5886 GB, free: 32 kB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.482e-05/0.1696, allocations: 0 / 0.5886 GB, free: 32 kB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.332e-05/0.1697, allocations: 34.56 kB / 0.5886 GB, free: 15.99 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=2): time 9.61e-07/0.1697, allocations: 0 / 0.5886 GB, free: 15.99 MB / 0.4981 GB Notification: Performance of matching and sorting (n=2): time 0.0007417/0.1704, allocations: 165.6 kB / 0.5888 GB, free: 15.82 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.299e-05/0.1705, allocations: 63.28 kB / 0.5889 GB, free: 15.75 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.187e-05/0.1705, allocations: 101.8 kB / 0.589 GB, free: 15.64 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.832e-05/0.1706, allocations: 25.7 kB / 0.589 GB, free: 15.61 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 3.905e-05/0.1706, allocations: 88.05 kB / 0.5891 GB, free: 15.52 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 1.702e-05/0.1706, allocations: 0 / 0.5891 GB, free: 15.52 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.541e-05/0.1707, allocations: 21.75 kB / 0.5891 GB, free: 15.49 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 9.566e-05/0.1708, allocations: 318.8 kB / 0.5894 GB, free: 15.17 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002191/0.171, allocations: 39.95 kB / 0.5894 GB, free: 15.13 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002028/0.1712, allocations: 51.95 kB / 0.5895 GB, free: 15.08 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003931/0.1716, allocations: 88.83 kB / 0.5896 GB, free: 14.99 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.753e-06/0.1716, allocations: 0 / 0.5896 GB, free: 14.99 MB / 0.4981 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0004715/0.1721, allocations: 129.4 kB / 0.5897 GB, free: 14.86 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.388e-05/0.1721, allocations: 4 kB / 0.5897 GB, free: 14.85 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.278e-06/0.1721, allocations: 0 / 0.5897 GB, free: 14.85 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.181e-05/0.1722, allocations: 0 / 0.5897 GB, free: 14.85 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001702/0.1723, allocations: 28 kB / 0.5897 GB, free: 14.82 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.668e-06/0.1723, allocations: 3.938 kB / 0.5897 GB, free: 14.82 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001141/0.1725, allocations: 11.98 kB / 0.5897 GB, free: 14.81 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.065e-05/0.1725, allocations: 7.984 kB / 0.5897 GB, free: 14.8 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.424e-05/0.1726, allocations: 113.8 kB / 0.5898 GB, free: 14.68 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.832e-05/0.1726, allocations: 4 kB / 0.5899 GB, free: 14.68 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.248e-05/0.1726, allocations: 7.125 kB / 0.5899 GB, free: 14.67 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.393e-06/0.1726, allocations: 0 / 0.5899 GB, free: 14.67 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.206e-06/0.1726, allocations: 0 / 0.5899 GB, free: 14.67 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.265e-06/0.1727, allocations: 0 / 0.5899 GB, free: 14.67 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001883/0.1728, allocations: 173.6 kB / 0.59 GB, free: 14.45 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.794e-06/0.1729, allocations: 0 / 0.59 GB, free: 14.45 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001603/0.173, allocations: 23.97 kB / 0.59 GB, free: 14.43 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.034e-06/0.173, allocations: 4 kB / 0.5901 GB, free: 14.42 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.518e-06/0.1731, allocations: 256 / 0.5901 GB, free: 14.42 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.473e-06/0.1731, allocations: 0 / 0.5901 GB, free: 14.42 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.845e-06/0.1731, allocations: 4 kB / 0.5901 GB, free: 14.42 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005035/0.1736, allocations: 223.3 kB / 0.5903 GB, free: 14.18 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 3.473e-05/0.1736, allocations: 81.02 kB / 0.5903 GB, free: 14.09 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.792e-05/0.1736, allocations: 7.938 kB / 0.5904 GB, free: 14.08 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001463/0.1738, allocations: 20 kB / 0.5904 GB, free: 14.06 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.57e-05/0.1738, allocations: 4 kB / 0.5904 GB, free: 14.05 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.354e-06/0.1738, allocations: 4 kB / 0.5904 GB, free: 14.05 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 4.296e-05/0.1739, allocations: 83.27 kB / 0.5905 GB, free: 13.97 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.41e-07/0.1739, allocations: 0 / 0.5905 GB, free: 13.97 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002432/0.1741, allocations: 16 kB / 0.5905 GB, free: 13.95 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.000823/0.175, allocations: 0.7553 MB / 0.5912 GB, free: 13.17 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0004647/0.1755, allocations: 103.9 kB / 0.5913 GB, free: 13.07 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.884e-06/0.1755, allocations: 0 / 0.5913 GB, free: 13.07 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0002159/0.1757, allocations: 47.95 kB / 0.5914 GB, free: 13.02 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002843/0.176, allocations: 6.469 kB / 0.5914 GB, free: 13.02 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007842/0.1768, allocations: 199 kB / 0.5916 GB, free: 12.78 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002979/0.1771, allocations: 0.6806 MB / 0.5922 GB, free: 12.07 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 8.084e-05/0.1772, allocations: 11.98 kB / 0.5922 GB, free: 12.06 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.183e-05/0.1772, allocations: 11.44 kB / 0.5922 GB, free: 12.05 MB / 0.4981 GB Notification: Performance of SimCode: time 2.61e-07/0.1772, allocations: 3.938 kB / 0.5922 GB, free: 12.05 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02505/0.2023, allocations: 1.649 MB / 0.5939 GB, free: 10.49 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.185/9.388, allocations: 10.67 kB / 0.5939 GB, free: 10.48 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/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)