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: translateModel(IDEAS.Utilities.Math.Examples.InverseXRegularized,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Utilities.Math.Examples.InverseXRegularized") translateModel(IDEAS.Utilities.Math.Examples.InverseXRegularized,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Utilities.Math.Examples.InverseXRegularized") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001313/0.001313, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.00152/0.00152, allocations: 193.7 kB / 16.25 MB, free: 6.621 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.404/1.404, allocations: 222.9 MB / 239.9 MB, free: 4.508 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9671/0.9671, allocations: 135.1 MB / 425.2 MB, free: 12.01 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001408/0.001408, allocations: 68.36 kB / 0.5049 GB, free: 5.645 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2329/0.2344, allocations: 80.93 MB / 0.5839 GB, free: 4.883 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.InverseXRegularized): time 0.004296/0.2387, allocations: 1.491 MB / 0.5853 GB, free: 3.375 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.002059/0.2408, allocations: 0.7876 MB / 0.5861 GB, free: 2.578 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.407e-05/0.2409, allocations: 8 kB / 0.5861 GB, free: 2.57 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 4.636e-05/0.2409, allocations: 0 / 0.5861 GB, free: 2.57 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 6.406e-05/0.2411, allocations: 0 / 0.5861 GB, free: 2.57 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006665/0.2417, allocations: 102.3 kB / 0.5862 GB, free: 2.473 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 9.708e-05/0.2419, allocations: 39.84 kB / 0.5862 GB, free: 2.434 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001074/0.242, allocations: 15.98 kB / 0.5863 GB, free: 2.418 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.938e-05/0.2421, allocations: 11.98 kB / 0.5863 GB, free: 2.406 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.92e-05/0.2421, allocations: 19.92 kB / 0.5863 GB, free: 2.387 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 2.015e-05/0.2422, allocations: 7.938 kB / 0.5863 GB, free: 2.379 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007495/0.2429, allocations: 319.3 kB / 0.5866 GB, free: 2.066 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 2.308e-05/0.243, allocations: 7.984 kB / 0.5866 GB, free: 2.059 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 3.291e-05/0.243, allocations: 7.938 kB / 0.5866 GB, free: 2.051 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004388/0.2435, allocations: 199.6 kB / 0.5868 GB, free: 1.855 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.67e-05/0.2435, allocations: 4 kB / 0.5868 GB, free: 1.852 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.413e-06/0.2435, allocations: 0 / 0.5868 GB, free: 1.852 MB / 494.1 MB Notification: Performance of Transformations before backend: time 7.614e-06/0.2435, allocations: 4 kB / 0.5868 GB, free: 1.848 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.0007543/0.2443, allocations: 375.6 kB / 0.5872 GB, free: 1.434 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.221e-05/0.2444, allocations: 8.031 kB / 0.5872 GB, free: 1.426 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007781/0.2452, allocations: 68.84 kB / 0.5873 GB, free: 1.359 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001726/0.2454, allocations: 168.3 kB / 0.5874 GB, free: 1.156 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.765e-05/0.2454, allocations: 4.375 kB / 0.5874 GB, free: 1.152 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.484e-05/0.2454, allocations: 384 / 0.5874 GB, free: 1.152 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004913/0.2459, allocations: 89.94 kB / 0.5875 GB, free: 1.059 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.236e-06/0.246, allocations: 0 / 0.5875 GB, free: 1.059 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.677e-05/0.246, allocations: 0 / 0.5875 GB, free: 1.059 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.062e-06/0.246, allocations: 0 / 0.5875 GB, free: 1.059 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007387/0.2468, allocations: 87.91 kB / 0.5876 GB, free: 0.9727 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007949/0.2476, allocations: 316.7 kB / 0.5879 GB, free: 0.6133 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006456/0.2482, allocations: 94.5 kB / 0.588 GB, free: 0.5117 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003818/0.2486, allocations: 44.88 kB / 0.588 GB, free: 476 kB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.12e-05/0.2487, allocations: 4 kB / 0.588 GB, free: 472 kB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.554e-05/0.2487, allocations: 42.48 kB / 0.5881 GB, free: 420 kB / 494.1 MB Notification: Performance of pre-optimization done (n=2): time 1.883e-06/0.2487, allocations: 4 kB / 0.5881 GB, free: 416 kB / 494.1 MB Notification: Performance of matching and sorting (n=2): time 0.001245/0.25, allocations: 157.5 kB / 0.5882 GB, free: 252 kB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.563e-05/0.2501, allocations: 59.53 kB / 0.5883 GB, free: 180 kB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001035/0.2502, allocations: 101.8 kB / 0.5884 GB, free: 68 kB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 2.109e-05/0.2502, allocations: 25.7 kB / 0.5884 GB, free: 36 kB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.151e-05/0.2503, allocations: 88.14 kB / 0.5885 GB, free: 15.95 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 2.636e-05/0.2504, allocations: 3.906 kB / 0.5885 GB, free: 15.94 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.003e-05/0.2504, allocations: 17.7 kB / 0.5885 GB, free: 15.92 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001555/0.2506, allocations: 314.8 kB / 0.5888 GB, free: 15.6 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003668/0.251, allocations: 43.95 kB / 0.5888 GB, free: 15.56 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003623/0.2514, allocations: 43.95 kB / 0.5889 GB, free: 15.52 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007177/0.2521, allocations: 96.77 kB / 0.589 GB, free: 15.42 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.605e-06/0.2521, allocations: 0 / 0.589 GB, free: 15.42 MB / 0.4981 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0008387/0.253, allocations: 133.4 kB / 0.5891 GB, free: 15.28 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 2.033e-05/0.253, allocations: 6.188 kB / 0.5891 GB, free: 15.28 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.291e-06/0.253, allocations: 0 / 0.5891 GB, free: 15.28 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.457e-05/0.2531, allocations: 0 / 0.5891 GB, free: 15.28 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002439/0.2533, allocations: 23.97 kB / 0.5891 GB, free: 15.25 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.072e-06/0.2533, allocations: 3.938 kB / 0.5891 GB, free: 15.25 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001946/0.2536, allocations: 20 kB / 0.5892 GB, free: 15.23 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.758e-05/0.2536, allocations: 4 kB / 0.5892 GB, free: 15.23 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 0.0001102/0.2537, allocations: 109.8 kB / 0.5893 GB, free: 15.11 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.968e-05/0.2538, allocations: 0 / 0.5893 GB, free: 15.11 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.366e-05/0.2538, allocations: 11.12 kB / 0.5893 GB, free: 15.1 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.846e-06/0.2538, allocations: 0 / 0.5893 GB, free: 15.1 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.865e-06/0.2539, allocations: 0 / 0.5893 GB, free: 15.1 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.551e-06/0.2539, allocations: 7.984 kB / 0.5893 GB, free: 15.09 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002852/0.2542, allocations: 169.6 kB / 0.5894 GB, free: 14.88 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.225e-06/0.2542, allocations: 0 / 0.5894 GB, free: 14.88 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002486/0.2544, allocations: 20.22 kB / 0.5895 GB, free: 14.86 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.747e-06/0.2545, allocations: 4 kB / 0.5895 GB, free: 14.85 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.617e-05/0.2545, allocations: 4 kB / 0.5895 GB, free: 14.85 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.851e-06/0.2545, allocations: 0 / 0.5895 GB, free: 14.85 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.138e-06/0.2545, allocations: 7.875 kB / 0.5895 GB, free: 14.84 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008813/0.2554, allocations: 223.4 kB / 0.5897 GB, free: 14.61 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 9.084e-05/0.2555, allocations: 81.02 kB / 0.5898 GB, free: 14.51 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.131e-05/0.2556, allocations: 7.984 kB / 0.5898 GB, free: 14.5 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002296/0.2558, allocations: 11.98 kB / 0.5898 GB, free: 14.49 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.634e-05/0.2559, allocations: 3.984 kB / 0.5898 GB, free: 14.48 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.187e-06/0.2559, allocations: 4 kB / 0.5898 GB, free: 14.48 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 4.805e-05/0.2559, allocations: 87.31 kB / 0.5899 GB, free: 14.39 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.5e-07/0.256, allocations: 0 / 0.5899 GB, free: 14.39 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0003776/0.2563, allocations: 12 kB / 0.5899 GB, free: 14.38 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.0001615/0.2565, allocations: 107.2 kB / 0.59 GB, free: 14.27 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0004787/0.257, allocations: 95.84 kB / 0.5901 GB, free: 14.17 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.363e-06/0.257, allocations: 0 / 0.5901 GB, free: 14.17 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0002182/0.2572, allocations: 52 kB / 0.5901 GB, free: 14.12 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002748/0.2575, allocations: 7.938 kB / 0.5901 GB, free: 14.11 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004825/0.258, allocations: 173.5 kB / 0.5903 GB, free: 13.92 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002035/0.2582, allocations: 0.6768 MB / 0.591 GB, free: 13.21 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 7.838e-05/0.2583, allocations: 12 kB / 0.591 GB, free: 13.2 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.264e-05/0.2583, allocations: 7.438 kB / 0.591 GB, free: 13.2 MB / 0.4981 GB Notification: Performance of SimCode: time 2.41e-07/0.2583, allocations: 0 / 0.591 GB, free: 13.2 MB / 0.4981 GB Notification: Performance of Templates: time 0.00252/0.2609, allocations: 0.7588 MB / 0.5917 GB, free: 12.45 MB / 0.4981 GB make -j1 -f IDEAS_dev_IDEAS.Utilities.Math.Examples.InverseXRegularized.makefile (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 & ./IDEAS_dev_IDEAS.Utilities.Math.Examples.InverseXRegularized -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Utilities.Math.Examples.InverseXRegularized.pipe 2>&1)