Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_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/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.Examples.InverseXRegularized,fileNamePrefix="IDEAS_IDEAS_Utilities_Math_Examples_InverseXRegularized",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Utilities.Math.Examples.InverseXRegularized,fileNamePrefix="IDEAS_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.001533/0.001533, 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.002004/0.002004, 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.158/2.158, allocations: 223.2 MB / 239.9 MB, free: 5.438 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 1.28/1.28, allocations: 132.2 MB / 423.2 MB, free: 2.188 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0005991/0.0005992, allocations: 11.94 kB / 0.5033 GB, free: 4.207 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.792/0.7926, allocations: 81.58 MB / 0.583 GB, free: 4.027 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.InverseXRegularized): time 0.003292/0.796, allocations: 1.139 MB / 0.5841 GB, free: 3.195 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.002224/0.7982, allocations: 0.7445 MB / 0.5848 GB, free: 2.676 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.548e-05/0.7984, allocations: 3.75 kB / 0.5848 GB, free: 2.676 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 3.095e-05/0.7984, allocations: 0.6094 kB / 0.5848 GB, free: 2.676 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 9.167e-05/0.7985, allocations: 0.5156 kB / 0.5848 GB, free: 2.676 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008798/0.7994, allocations: 94.84 kB / 0.5849 GB, free: 2.633 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.000131/0.7996, allocations: 34.22 kB / 0.5849 GB, free: 2.613 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001353/0.7997, allocations: 8.078 kB / 0.5849 GB, free: 2.609 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.82e-05/0.7998, allocations: 8.75 kB / 0.585 GB, free: 2.609 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001198/0.7999, allocations: 24.47 kB / 0.585 GB, free: 2.598 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 2.401e-05/0.8, allocations: 1.375 kB / 0.585 GB, free: 2.598 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001187/0.8012, allocations: 305.8 kB / 0.5853 GB, free: 2.52 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 3.33e-05/0.8012, allocations: 4.25 kB / 0.5853 GB, free: 2.52 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 4.74e-05/0.8013, allocations: 34.77 kB / 0.5853 GB, free: 2.48 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006098/0.8019, allocations: 152.8 kB / 0.5855 GB, free: 2.449 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.238e-06/0.8019, allocations: 0 / 0.5855 GB, free: 2.449 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.856e-06/0.802, allocations: 0 / 0.5855 GB, free: 2.449 MB / 430.1 MB Notification: Performance of Transformations before backend: time 8.897e-06/0.802, allocations: 1.25 kB / 0.5855 GB, free: 2.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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0009539/0.803, allocations: 378.3 kB / 0.5858 GB, free: 2.066 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 7.229e-05/0.803, allocations: 9.094 kB / 0.5858 GB, free: 2.066 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.383e-05/0.8031, allocations: 36 kB / 0.5859 GB, free: 2.023 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009222/0.804, allocations: 81.81 kB / 0.5859 GB, free: 2.016 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001798/0.8042, allocations: 165.5 kB / 0.5861 GB, free: 1.816 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.923e-05/0.8043, allocations: 1.188 kB / 0.5861 GB, free: 1.816 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.651e-05/0.8043, allocations: 0.8125 kB / 0.5861 GB, free: 1.816 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006533/0.805, allocations: 97.53 kB / 0.5862 GB, free: 1.773 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.519e-05/0.805, allocations: 3.938 kB / 0.5862 GB, free: 1.77 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.63e-05/0.8051, allocations: 0 / 0.5862 GB, free: 1.77 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.242e-05/0.8051, allocations: 0.6562 kB / 0.5862 GB, free: 1.77 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000876/0.806, allocations: 119.4 kB / 0.5863 GB, free: 1.75 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000875/0.8069, allocations: 306 kB / 0.5866 GB, free: 1.461 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007448/0.8076, allocations: 113.2 kB / 0.5867 GB, free: 1.422 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.161e-05/0.8077, allocations: 0 / 0.5867 GB, free: 1.422 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.586e-05/0.8077, allocations: 36.27 kB / 0.5867 GB, free: 1.379 MB / 430.1 MB Notification: Performance of pre-optimization done (n=2): time 1.563e-06/0.8077, allocations: 0 / 0.5867 GB, free: 1.379 MB / 430.1 MB Notification: Performance of matching and sorting (n=2): time 0.001502/0.8093, allocations: 209.8 kB / 0.5869 GB, free: 1.316 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.382e-05/0.8093, allocations: 51.41 kB / 0.587 GB, free: 1.254 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001101/0.8094, allocations: 103.2 kB / 0.5871 GB, free: 1.152 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 1.911e-05/0.8095, allocations: 25.7 kB / 0.5871 GB, free: 1.121 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.686e-05/0.8095, allocations: 86.47 kB / 0.5872 GB, free: 1.035 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.273e-05/0.8096, allocations: 5.969 kB / 0.5872 GB, free: 1.031 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.177e-06/0.8096, allocations: 0 / 0.5872 GB, free: 1.031 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 8.146e-05/0.8097, allocations: 313.6 kB / 0.5875 GB, free: 0.7188 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004686/0.8102, allocations: 59.94 kB / 0.5876 GB, free: 0.707 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004664/0.8107, allocations: 57.19 kB / 0.5876 GB, free: 0.6992 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004523/0.8111, allocations: 59.36 kB / 0.5877 GB, free: 0.6875 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.597e-06/0.8112, allocations: 0 / 0.5877 GB, free: 0.6875 MB / 430.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0009963/0.8122, allocations: 145.8 kB / 0.5878 GB, free: 0.6406 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.786e-05/0.8122, allocations: 8.438 kB / 0.5878 GB, free: 0.6367 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.477e-05/0.8123, allocations: 0.9062 kB / 0.5878 GB, free: 0.6367 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.639e-05/0.8123, allocations: 3.938 kB / 0.5878 GB, free: 0.6328 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003406/0.8126, allocations: 35.06 kB / 0.5879 GB, free: 0.625 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.498e-05/0.8127, allocations: 4.703 kB / 0.5879 GB, free: 0.6211 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002385/0.8129, allocations: 22.36 kB / 0.5879 GB, free: 0.6211 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.852e-05/0.813, allocations: 6.078 kB / 0.5879 GB, free: 0.6172 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 (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 0.0001127/0.8131, allocations: 112 kB / 0.588 GB, free: 0.5 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.366e-05/0.8132, allocations: 5.375 kB / 0.588 GB, free: 0.4961 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.302e-05/0.8132, allocations: 5.531 kB / 0.588 GB, free: 0.4922 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.579e-06/0.8132, allocations: 0 / 0.588 GB, free: 0.4922 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.015e-06/0.8133, allocations: 0 / 0.588 GB, free: 0.4922 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.747e-06/0.8133, allocations: 5.859 kB / 0.588 GB, free: 500 kB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003004/0.8136, allocations: 171.7 kB / 0.5882 GB, free: 296 kB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.976e-06/0.8136, allocations: 0 / 0.5882 GB, free: 296 kB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002311/0.8139, allocations: 35.25 kB / 0.5882 GB, free: 288 kB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.771e-06/0.8139, allocations: 1.375 kB / 0.5882 GB, free: 288 kB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.544e-05/0.8139, allocations: 0 / 0.5882 GB, free: 288 kB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.097e-06/0.8139, allocations: 2.359 kB / 0.5882 GB, free: 288 kB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.854e-06/0.8139, allocations: 0 / 0.5882 GB, free: 288 kB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001044/0.815, allocations: 244.1 kB / 0.5884 GB, free: 132 kB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.954e-05/0.815, allocations: 79.23 kB / 0.5885 GB, free: 36 kB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.07e-05/0.8151, allocations: 0 / 0.5885 GB, free: 36 kB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002975/0.8154, allocations: 30.53 kB / 0.5885 GB, free: 28 kB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.503e-05/0.8155, allocations: 3.109 kB / 0.5885 GB, free: 28 kB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.506e-05/0.8155, allocations: 2.281 kB / 0.5886 GB, free: 28 kB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0001188/0.8157, allocations: 84.17 kB / 0.5886 GB, free: 15.95 MB / 446.1 MB Notification: Performance of sort global known variables: time 3.21e-07/0.8157, allocations: 0.75 kB / 0.5886 GB, free: 15.95 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.000507/0.8162, allocations: 16.14 kB / 0.5886 GB, free: 15.95 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 (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.001665/0.8179, allocations: 0.7893 MB / 0.5894 GB, free: 15.25 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0009535/0.8188, allocations: 113.6 kB / 0.5895 GB, free: 15.24 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 4.98e-06/0.8189, allocations: 5.281 kB / 0.5895 GB, free: 15.24 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004547/0.8193, allocations: 63.7 kB / 0.5896 GB, free: 15.23 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003822/0.8197, allocations: 2.969 kB / 0.5896 GB, free: 15.23 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001411/0.8212, allocations: 215.4 kB / 0.5898 GB, free: 15.05 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005504/0.8217, allocations: 0.6799 MB / 0.5905 GB, free: 14.36 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0001815/0.8219, allocations: 11.66 kB / 0.5905 GB, free: 14.35 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.045e-05/0.822, allocations: 14.86 kB / 0.5905 GB, free: 14.34 MB / 446.1 MB Notification: Performance of SimCode: time 1.202e-06/0.8221, allocations: 0 / 0.5905 GB, free: 14.34 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02217/0.8442, allocations: 1.374 MB / 0.5918 GB, free: 14.19 MB / 446.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002784/0.8446, allocations: 164.8 kB / 0.592 GB, free: 13.96 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.632/3.476, allocations: 0 / 0.592 GB, free: 13.96 MB / 446.1 MB (rm -f IDEAS_IDEAS.Utilities.Math.Examples.InverseXRegularized.pipe ; mkfifo IDEAS_IDEAS.Utilities.Math.Examples.InverseXRegularized.pipe ; head -c 1048576 < IDEAS_IDEAS.Utilities.Math.Examples.InverseXRegularized.pipe >> ../files/IDEAS_IDEAS.Utilities.Math.Examples.InverseXRegularized.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Utilities_Math_Examples_InverseXRegularized_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Utilities_Math_Examples_InverseXRegularized.fmu > IDEAS_IDEAS.Utilities.Math.Examples.InverseXRegularized.pipe 2>&1) Environment - environmentSimulation: