Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.Utilities.Math.Functions.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.Functions.Examples.InverseXRegularized,fileNamePrefix="IDEAS_IDEAS_Utilities_Math_Functions_Examples_InverseXRegularized",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Utilities.Math.Functions.Examples.InverseXRegularized,fileNamePrefix="IDEAS_IDEAS_Utilities_Math_Functions_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.001487/0.001487, allocations: 99.23 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.001623/0.001624, 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.34/2.34, allocations: 223.2 MB / 239.9 MB, free: 5.309 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 1.033/1.033, allocations: 132.2 MB / 423.2 MB, free: 2.129 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004105/0.0004106, allocations: 12.75 kB / 0.5033 GB, free: 4.125 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6288/0.6292, allocations: 81.56 MB / 0.583 GB, free: 3.996 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.InverseXRegularized): time 0.001071/0.6304, allocations: 362.6 kB / 0.5833 GB, free: 3.75 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.00241/0.6328, allocations: 1.392 MB / 0.5847 GB, free: 2.742 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.543e-05/0.6328, allocations: 0.75 kB / 0.5847 GB, free: 2.742 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 1.899e-05/0.6329, allocations: 3.938 kB / 0.5847 GB, free: 2.738 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001046/0.633, allocations: 2.641 kB / 0.5847 GB, free: 2.738 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000466/0.6335, allocations: 102.1 kB / 0.5848 GB, free: 2.691 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 6.999e-05/0.6335, allocations: 16.19 kB / 0.5848 GB, free: 2.684 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.359e-05/0.6336, allocations: 2.938 kB / 0.5848 GB, free: 2.684 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.414e-05/0.6337, allocations: 15.97 kB / 0.5848 GB, free: 2.676 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.291e-05/0.6338, allocations: 23.11 kB / 0.5848 GB, free: 2.664 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 1.674e-05/0.6338, allocations: 1.531 kB / 0.5848 GB, free: 2.664 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006415/0.6344, allocations: 306.9 kB / 0.5851 GB, free: 2.586 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 1.697e-05/0.6345, allocations: 7.109 kB / 0.5851 GB, free: 2.582 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 2.621e-05/0.6345, allocations: 31.92 kB / 0.5852 GB, free: 2.547 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003331/0.6348, allocations: 141.4 kB / 0.5853 GB, free: 2.52 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.06e-06/0.6348, allocations: 0.625 kB / 0.5853 GB, free: 2.52 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.813e-06/0.6349, allocations: 0 / 0.5853 GB, free: 2.52 MB / 430.1 MB Notification: Performance of Transformations before backend: time 4.959e-06/0.6349, allocations: 0 / 0.5853 GB, free: 2.52 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.00052/0.6354, allocations: 374.2 kB / 0.5857 GB, free: 2.133 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.135e-05/0.6354, allocations: 8.875 kB / 0.5857 GB, free: 2.133 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.779e-05/0.6355, allocations: 36.73 kB / 0.5857 GB, free: 2.09 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004358/0.6359, allocations: 74.12 kB / 0.5858 GB, free: 2.082 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001528/0.6361, allocations: 177.3 kB / 0.5859 GB, free: 1.875 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.08e-05/0.6361, allocations: 4.969 kB / 0.5859 GB, free: 1.871 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.434e-05/0.6362, allocations: 6 kB / 0.5859 GB, free: 1.867 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003057/0.6365, allocations: 78.3 kB / 0.586 GB, free: 1.828 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.338e-05/0.6365, allocations: 1.312 kB / 0.586 GB, free: 1.828 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.325e-05/0.6365, allocations: 0.75 kB / 0.586 GB, free: 1.828 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.945e-06/0.6365, allocations: 4.625 kB / 0.586 GB, free: 1.824 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004279/0.637, allocations: 87.62 kB / 0.5861 GB, free: 1.812 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002725/0.6372, allocations: 177.5 kB / 0.5863 GB, free: 1.605 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006896/0.6379, allocations: 145.8 kB / 0.5864 GB, free: 1.562 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.391e-05/0.638, allocations: 1.641 kB / 0.5864 GB, free: 1.562 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.305e-05/0.638, allocations: 31.78 kB / 0.5865 GB, free: 1.523 MB / 430.1 MB Notification: Performance of pre-optimization done (n=5): time 1.453e-06/0.638, allocations: 0 / 0.5865 GB, free: 1.523 MB / 430.1 MB Warning: Some equations could not be differentiated for following variables having attribute stateSelect=StateSelect.prefer. They will be treated as if they had stateSelect=StateSelect.default ======================================== 1: x Please use -d=bltdump for more information. Notification: Performance of matching and sorting (n=9): time 0.006917/0.6449, allocations: 0.9507 MB / 0.5874 GB, free: 1.375 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.573e-05/0.645, allocations: 52.25 kB / 0.5874 GB, free: 1.312 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000143/0.6452, allocations: 118.5 kB / 0.5875 GB, free: 1.203 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 2.447e-05/0.6452, allocations: 25.7 kB / 0.5876 GB, free: 1.172 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.075e-05/0.6453, allocations: 86.45 kB / 0.5877 GB, free: 1.086 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.254e-05/0.6453, allocations: 34.52 kB / 0.5877 GB, free: 1.059 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.495e-05/0.6454, allocations: 3.938 kB / 0.5877 GB, free: 1.055 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 9.495e-05/0.6455, allocations: 322.6 kB / 0.588 GB, free: 0.7344 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008581/0.6463, allocations: 118.1 kB / 0.5881 GB, free: 0.7188 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008493/0.6472, allocations: 121.5 kB / 0.5882 GB, free: 0.6992 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008365/0.6481, allocations: 115.7 kB / 0.5883 GB, free: 0.6797 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.256e-06/0.6481, allocations: 0.7969 kB / 0.5883 GB, free: 0.6797 MB / 430.1 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.001843/0.6499, allocations: 279.7 kB / 0.5886 GB, free: 0.6133 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.974e-05/0.65, allocations: 4.125 kB / 0.5886 GB, free: 0.6133 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.729e-05/0.65, allocations: 5.344 kB / 0.5886 GB, free: 0.6094 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.418e-05/0.6501, allocations: 5.031 kB / 0.5886 GB, free: 0.6055 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006324/0.6507, allocations: 64.44 kB / 0.5887 GB, free: 0.6016 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.109e-05/0.6507, allocations: 0.7969 kB / 0.5887 GB, free: 0.6016 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004662/0.6512, allocations: 51.02 kB / 0.5887 GB, free: 0.5938 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.178e-05/0.6513, allocations: 4.766 kB / 0.5887 GB, free: 0.5938 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 (9): * Single equations (assignments): 9 * 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.0001365/0.6514, allocations: 116.7 kB / 0.5888 GB, free: 484 kB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.558e-05/0.6515, allocations: 4.203 kB / 0.5888 GB, free: 484 kB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.733e-05/0.6515, allocations: 10.12 kB / 0.5889 GB, free: 472 kB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.175e-06/0.6516, allocations: 1.875 kB / 0.5889 GB, free: 472 kB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.925e-06/0.6516, allocations: 0 / 0.5889 GB, free: 472 kB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.933e-06/0.6516, allocations: 1.453 kB / 0.5889 GB, free: 472 kB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003176/0.6548, allocations: 0.6665 MB / 0.5895 GB, free: 76 kB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.007e-06/0.6548, allocations: 0 / 0.5895 GB, free: 76 kB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005414/0.6554, allocations: 68.33 kB / 0.5896 GB, free: 68 kB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.238e-06/0.6554, allocations: 2.281 kB / 0.5896 GB, free: 68 kB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.066e-05/0.6554, allocations: 4.547 kB / 0.5896 GB, free: 68 kB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.945e-06/0.6554, allocations: 5.109 kB / 0.5896 GB, free: 64 kB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.843e-06/0.6555, allocations: 1.875 kB / 0.5896 GB, free: 64 kB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002076/0.6575, allocations: 410.4 kB / 0.59 GB, free: 15.84 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001032/0.6577, allocations: 85.39 kB / 0.5901 GB, free: 15.74 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.23e-05/0.6577, allocations: 2.109 kB / 0.5901 GB, free: 15.74 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005043/0.6582, allocations: 50.89 kB / 0.5901 GB, free: 15.73 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.052e-05/0.6583, allocations: 9.094 kB / 0.5901 GB, free: 15.73 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.19e-05/0.6584, allocations: 4.359 kB / 0.5901 GB, free: 15.73 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0001035/0.6585, allocations: 94.36 kB / 0.5902 GB, free: 15.65 MB / 446.1 MB Notification: Performance of sort global known variables: time 3.41e-07/0.6585, allocations: 0 / 0.5902 GB, free: 15.65 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0006609/0.6592, allocations: 41.38 kB / 0.5903 GB, free: 15.64 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (9): * Single equations (assignments): 9 * 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.002641/0.6618, allocations: 1.108 MB / 0.5913 GB, free: 14.73 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.001763/0.6636, allocations: 247.7 kB / 0.5916 GB, free: 14.7 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 4.068e-06/0.6637, allocations: 0 / 0.5916 GB, free: 14.7 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000866/0.6645, allocations: 131.7 kB / 0.5917 GB, free: 14.68 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003158/0.6649, allocations: 2.25 kB / 0.5917 GB, free: 14.68 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006476/0.6714, allocations: 1.142 MB / 0.5928 GB, free: 14.19 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004052/0.6718, allocations: 0.6922 MB / 0.5935 GB, free: 13.49 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0002366/0.6721, allocations: 21 kB / 0.5935 GB, free: 13.48 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00015/0.6722, allocations: 33.34 kB / 0.5935 GB, free: 13.46 MB / 446.1 MB Notification: Performance of SimCode: time 1.102e-06/0.6722, allocations: 3.938 kB / 0.5935 GB, free: 13.46 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02358/0.6958, allocations: 2.412 MB / 0.5959 GB, free: 12.84 MB / 446.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002614/0.6962, allocations: 181.4 kB / 0.5961 GB, free: 12.61 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.571/3.267, allocations: 0 / 0.5961 GB, free: 12.61 MB / 446.1 MB (rm -f IDEAS_IDEAS.Utilities.Math.Functions.Examples.InverseXRegularized.pipe ; mkfifo IDEAS_IDEAS.Utilities.Math.Functions.Examples.InverseXRegularized.pipe ; head -c 1048576 < IDEAS_IDEAS.Utilities.Math.Functions.Examples.InverseXRegularized.pipe >> ../files/IDEAS_IDEAS.Utilities.Math.Functions.Examples.InverseXRegularized.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Utilities_Math_Functions_Examples_InverseXRegularized_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Utilities_Math_Functions_Examples_InverseXRegularized.fmu > IDEAS_IDEAS.Utilities.Math.Functions.Examples.InverseXRegularized.pipe 2>&1) Environment - environmentSimulation: