Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.InverseXRegularized.conf.json 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/IDEAS 3.0.0-master/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/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) Running command: "" <> buildModelFMU(IDEAS.Utilities.Math.Functions.Examples.InverseXRegularized,fileNamePrefix="IDEAS_dev_IDEAS_Utilities_Math_Functions_Examples_InverseXRegularized",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Utilities.Math.Functions.Examples.InverseXRegularized,fileNamePrefix="IDEAS_dev_IDEAS_Utilities_Math_Functions_Examples_InverseXRegularized",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001096/0.001096, allocations: 180.9 kB / 7.65 MB, free: 1.422 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 1.004/1.004, allocations: 133.6 MB / 141.6 MB, free: 2.902 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.42/1.42, allocations: 221.5 MB / 395.4 MB, free: 10.77 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001162/0.001162, allocations: 101 kB / 478.2 MB, free: 1.297 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 3.369e-05/3.377e-05, allocations: 4 kB / 0.5536 GB, free: 8.945 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5306/0.5306, allocations: 82.31 MB / 0.6339 GB, free: 40.77 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1465/0.6772, allocations: 111.3 MB / 0.7426 GB, free: 11.34 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002364/0.6774, allocations: 83.94 kB / 0.7427 GB, free: 11.26 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 0.01235/0.6898, allocations: 4.161 MB / 0.7468 GB, free: 7.098 MB / 0.5261 GB Notification: Performance of FrontEnd: time 1.984e-06/0.6899, allocations: 0 / 0.7468 GB, free: 7.098 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 8.135e-06/0.6899, allocations: 0 / 0.7468 GB, free: 7.098 MB / 0.5261 GB 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.000457/0.6903, allocations: 384.1 kB / 0.7472 GB, free: 6.68 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 5.625e-05/0.6904, allocations: 12.03 kB / 0.7472 GB, free: 6.668 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003179/0.6907, allocations: 55.94 kB / 0.7472 GB, free: 6.613 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001723/0.6909, allocations: 178.9 kB / 0.7474 GB, free: 6.398 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.74e-05/0.6909, allocations: 0 / 0.7474 GB, free: 6.398 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.133e-05/0.691, allocations: 7.906 kB / 0.7474 GB, free: 6.391 MB / 0.5261 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 7.621e-05/0.691, allocations: 19.98 kB / 0.7474 GB, free: 6.371 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.674e-05/0.6911, allocations: 41.69 kB / 0.7475 GB, free: 6.324 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.045e-05/0.6911, allocations: 0 / 0.7475 GB, free: 6.324 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.094e-05/0.6912, allocations: 0 / 0.7475 GB, free: 6.324 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.692e-06/0.6912, allocations: 7.984 kB / 0.7475 GB, free: 6.316 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001699/0.6914, allocations: 154.2 kB / 0.7476 GB, free: 6.129 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 8.786e-05/0.6914, allocations: 46.56 kB / 0.7477 GB, free: 6.074 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.06e-05/0.6915, allocations: 20.92 kB / 0.7477 GB, free: 6.051 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 1.811e-05/0.6915, allocations: 0 / 0.7477 GB, free: 6.051 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.145e-05/0.6915, allocations: 35.03 kB / 0.7477 GB, free: 6.008 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=5): time 9.12e-07/0.6916, allocations: 3.938 kB / 0.7477 GB, free: 6.004 MB / 0.5261 GB Notification: Performance of matching and sorting (n=9): time 0.002419/0.694, allocations: 468.9 kB / 0.7482 GB, free: 5.539 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.54e-05/0.694, allocations: 55.41 kB / 0.7482 GB, free: 5.473 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.426e-05/0.6941, allocations: 105 kB / 0.7483 GB, free: 5.363 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 2.709e-05/0.6942, allocations: 29.69 kB / 0.7483 GB, free: 5.328 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 4.003e-05/0.6942, allocations: 84.14 kB / 0.7484 GB, free: 5.242 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 4.356e-05/0.6943, allocations: 31.56 kB / 0.7485 GB, free: 5.211 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.417e-05/0.6943, allocations: 0 / 0.7485 GB, free: 5.211 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0001028/0.6944, allocations: 318.8 kB / 0.7488 GB, free: 4.891 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.271e-05/0.6945, allocations: 39.98 kB / 0.7488 GB, free: 4.852 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.001e-05/0.6945, allocations: 35.92 kB / 0.7488 GB, free: 4.816 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001447/0.6947, allocations: 59.89 kB / 0.7489 GB, free: 4.758 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.32e-07/0.6947, allocations: 0 / 0.7489 GB, free: 4.758 MB / 0.5261 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0002847/0.695, allocations: 145.5 kB / 0.749 GB, free: 4.609 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.512e-05/0.695, allocations: 4 kB / 0.749 GB, free: 4.605 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.015e-05/0.695, allocations: 4 kB / 0.749 GB, free: 4.602 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.315e-05/0.6951, allocations: 3.938 kB / 0.749 GB, free: 4.598 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003828/0.6954, allocations: 71.92 kB / 0.7491 GB, free: 4.527 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.757e-06/0.6955, allocations: 3.938 kB / 0.7491 GB, free: 4.523 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000269/0.6957, allocations: 43.95 kB / 0.7491 GB, free: 4.48 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.188e-05/0.6958, allocations: 7.984 kB / 0.7492 GB, free: 4.473 MB / 0.5261 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 () * 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 8.619e-05/0.6959, allocations: 104.9 kB / 0.7493 GB, free: 4.363 MB / 0.5261 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0002904/0.6962, allocations: 149.8 kB / 0.7494 GB, free: 4.211 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.265e-05/0.6962, allocations: 11.89 kB / 0.7494 GB, free: 4.199 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.857e-05/0.6962, allocations: 8.625 kB / 0.7494 GB, free: 4.191 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.456e-06/0.6962, allocations: 4 kB / 0.7494 GB, free: 4.188 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.247e-06/0.6962, allocations: 0 / 0.7494 GB, free: 4.188 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.227e-06/0.6963, allocations: 4 kB / 0.7494 GB, free: 4.184 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001153/0.6974, allocations: 0.5061 MB / 0.7499 GB, free: 3.629 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.643e-06/0.6974, allocations: 0 / 0.7499 GB, free: 3.629 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000381/0.6978, allocations: 71.92 kB / 0.75 GB, free: 3.559 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.44e-06/0.6978, allocations: 4 kB / 0.75 GB, free: 3.555 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.68e-05/0.6979, allocations: 3.984 kB / 0.75 GB, free: 3.551 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.717e-06/0.6979, allocations: 4 kB / 0.75 GB, free: 3.547 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.709e-06/0.6979, allocations: 3.953 kB / 0.75 GB, free: 3.543 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003255/0.6982, allocations: 260.5 kB / 0.7503 GB, free: 3.254 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 4.137e-05/0.6983, allocations: 81.02 kB / 0.7503 GB, free: 3.156 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.853e-05/0.6983, allocations: 7.953 kB / 0.7503 GB, free: 3.148 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002874/0.6986, allocations: 44.33 kB / 0.7504 GB, free: 3.105 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.791e-05/0.6986, allocations: 15.97 kB / 0.7504 GB, free: 3.09 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.397e-05/0.6987, allocations: 4 kB / 0.7504 GB, free: 3.086 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 3.97e-05/0.6987, allocations: 87.27 kB / 0.7505 GB, free: 3 MB / 0.5261 GB Notification: Performance of sort global known variables: time 1.4e-07/0.6987, allocations: 0 / 0.7505 GB, free: 3 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.0002736/0.699, allocations: 39.94 kB / 0.7505 GB, free: 2.961 MB / 0.5261 GB 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 () * 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.0006998/0.6997, allocations: 0.9602 MB / 0.7515 GB, free: 1.957 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.0001984/0.6999, allocations: 87.89 kB / 0.7515 GB, free: 1.871 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 3.657e-06/0.6999, allocations: 4.469 kB / 0.7515 GB, free: 1.867 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 8.004e-05/0.7, allocations: 39.92 kB / 0.7516 GB, free: 1.828 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001574/0.7002, allocations: 9.859 kB / 0.7516 GB, free: 1.82 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001479/0.7017, allocations: 399.1 kB / 0.752 GB, free: 1.383 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002334/0.7019, allocations: 0.6885 MB / 0.7526 GB, free: 0.668 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.0001389/0.7021, allocations: 24.67 kB / 0.7527 GB, free: 0.6445 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001434/0.7022, allocations: 31.39 kB / 0.7527 GB, free: 0.6133 MB / 0.5261 GB Notification: Performance of SimCode: time 3.51e-07/0.7022, allocations: 0 / 0.7527 GB, free: 0.6133 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02146/0.7237, allocations: 2.273 MB / 0.7549 GB, free: 14.34 MB / 0.5417 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001987/0.7239, allocations: 145.4 kB / 0.7551 GB, free: 14.15 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.409/2.133, allocations: 7.281 kB / 0.7551 GB, free: 14.15 MB / 0.5417 GB (rm -f IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.InverseXRegularized.pipe ; mkfifo IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.InverseXRegularized.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.InverseXRegularized.pipe >> ../files/IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.InverseXRegularized.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Utilities_Math_Functions_Examples_InverseXRegularized_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Utilities_Math_Functions_Examples_InverseXRegularized.fmu > IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.InverseXRegularized.pipe 2>&1)