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.001226/0.001226, allocations: 106.2 kB / 15.98 MB, free: 6.355 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.001132/0.001132, allocations: 196.8 kB / 16.91 MB, free: 6.188 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.351/1.351, allocations: 222.9 MB / 240.6 MB, free: 15.38 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8175/0.8175, allocations: 135.1 MB / 425.9 MB, free: 4.328 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001856/0.001856, allocations: 67.88 kB / 0.5055 GB, free: 8.727 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3613/0.3632, allocations: 80.92 MB / 0.5846 GB, free: 25.13 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.InverseXRegularized): time 0.002495/0.3657, allocations: 1.495 MB / 0.586 GB, free: 23.97 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.001179/0.367, allocations: 0.7853 MB / 0.5868 GB, free: 23.34 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.103e-05/0.367, allocations: 2.438 kB / 0.5868 GB, free: 23.34 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 3.669e-05/0.3671, allocations: 0 / 0.5868 GB, free: 23.34 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 5.211e-05/0.3671, allocations: 0 / 0.5868 GB, free: 23.34 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004838/0.3676, allocations: 109.6 kB / 0.5869 GB, free: 23.28 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 6.745e-05/0.3677, allocations: 29.86 kB / 0.5869 GB, free: 23.26 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001028/0.3678, allocations: 8.5 kB / 0.5869 GB, free: 23.26 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.063e-05/0.3679, allocations: 18.36 kB / 0.587 GB, free: 23.25 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.138e-05/0.368, allocations: 16.3 kB / 0.587 GB, free: 23.24 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.525e-05/0.368, allocations: 7.938 kB / 0.587 GB, free: 23.23 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004015/0.3684, allocations: 320.8 kB / 0.5873 GB, free: 23.05 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 1.405e-05/0.3684, allocations: 5.203 kB / 0.5873 GB, free: 23.04 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 2.416e-05/0.3684, allocations: 10.25 kB / 0.5873 GB, free: 23.04 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002346/0.3687, allocations: 142.5 kB / 0.5874 GB, free: 22.97 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.47e-06/0.3687, allocations: 5.344 kB / 0.5874 GB, free: 22.97 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.333e-06/0.3687, allocations: 0 / 0.5874 GB, free: 22.97 MB / 446.1 MB Notification: Performance of Transformations before backend: time 5.47e-06/0.3687, allocations: 0.5938 kB / 0.5874 GB, free: 22.97 MB / 446.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.0004775/0.3692, allocations: 374.5 kB / 0.5878 GB, free: 22.58 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.096e-05/0.3692, allocations: 11.73 kB / 0.5878 GB, free: 22.58 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004522/0.3697, allocations: 75.44 kB / 0.5879 GB, free: 22.55 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.213e-05/0.3698, allocations: 170.7 kB / 0.588 GB, free: 22.34 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.489e-05/0.3698, allocations: 1.844 kB / 0.588 GB, free: 22.34 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.518e-05/0.3698, allocations: 1.812 kB / 0.588 GB, free: 22.34 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000288/0.3701, allocations: 92.02 kB / 0.5881 GB, free: 22.28 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.338e-06/0.3701, allocations: 1.312 kB / 0.5881 GB, free: 22.28 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.315e-05/0.3702, allocations: 0.5 kB / 0.5881 GB, free: 22.28 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.369e-06/0.3702, allocations: 0 / 0.5881 GB, free: 22.28 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003695/0.3706, allocations: 92.11 kB / 0.5882 GB, free: 22.24 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004717/0.371, allocations: 300.3 kB / 0.5885 GB, free: 21.93 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003465/0.3714, allocations: 96.22 kB / 0.5886 GB, free: 21.88 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001898/0.3716, allocations: 48.47 kB / 0.5886 GB, free: 21.85 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.742e-05/0.3716, allocations: 2 kB / 0.5886 GB, free: 21.85 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.75e-05/0.3716, allocations: 39.17 kB / 0.5887 GB, free: 21.8 MB / 446.1 MB Notification: Performance of pre-optimization done (n=2): time 1.022e-06/0.3716, allocations: 3.062 kB / 0.5887 GB, free: 21.8 MB / 446.1 MB Notification: Performance of matching and sorting (n=2): time 0.0006783/0.3723, allocations: 161.7 kB / 0.5888 GB, free: 21.72 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.635e-05/0.3724, allocations: 52.47 kB / 0.5889 GB, free: 21.66 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.124e-05/0.3724, allocations: 104.6 kB / 0.589 GB, free: 21.55 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.271e-05/0.3725, allocations: 26.8 kB / 0.589 GB, free: 21.52 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.062e-05/0.3725, allocations: 90.39 kB / 0.5891 GB, free: 21.43 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.993e-05/0.3725, allocations: 0 / 0.5891 GB, free: 21.43 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.922e-05/0.3726, allocations: 19.3 kB / 0.5891 GB, free: 21.41 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 4.966e-05/0.3726, allocations: 316 kB / 0.5894 GB, free: 21.1 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001937/0.3728, allocations: 46.14 kB / 0.5895 GB, free: 21.08 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001787/0.373, allocations: 41.11 kB / 0.5895 GB, free: 21.07 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003483/0.3734, allocations: 93.42 kB / 0.5896 GB, free: 21.02 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.545e-06/0.3734, allocations: 1.781 kB / 0.5896 GB, free: 21.02 MB / 446.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.000401/0.3738, allocations: 131.6 kB / 0.5897 GB, free: 20.95 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.789e-05/0.3738, allocations: 8.312 kB / 0.5897 GB, free: 20.95 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.17e-06/0.3738, allocations: 1.281 kB / 0.5897 GB, free: 20.95 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.492e-05/0.3738, allocations: 0 / 0.5897 GB, free: 20.95 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001606/0.374, allocations: 23.41 kB / 0.5898 GB, free: 20.94 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.282e-06/0.374, allocations: 0 / 0.5898 GB, free: 20.94 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001121/0.3741, allocations: 19.84 kB / 0.5898 GB, free: 20.93 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.756e-06/0.3741, allocations: 1.094 kB / 0.5898 GB, free: 20.93 MB / 446.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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 5.615e-05/0.3742, allocations: 113.8 kB / 0.5899 GB, free: 20.81 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.606e-05/0.3742, allocations: 1.5 kB / 0.5899 GB, free: 20.81 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.687e-05/0.3743, allocations: 11.06 kB / 0.5899 GB, free: 20.8 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.825e-06/0.3743, allocations: 2.906 kB / 0.5899 GB, free: 20.8 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.258e-06/0.3743, allocations: 0 / 0.5899 GB, free: 20.8 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.557e-06/0.3743, allocations: 3.984 kB / 0.5899 GB, free: 20.8 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001318/0.3744, allocations: 178.6 kB / 0.5901 GB, free: 20.59 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.132e-06/0.3744, allocations: 1.188 kB / 0.5901 GB, free: 20.59 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001333/0.3746, allocations: 27 kB / 0.5901 GB, free: 20.57 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.693e-06/0.3746, allocations: 3.938 kB / 0.5901 GB, free: 20.57 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.137e-05/0.3746, allocations: 3.312 kB / 0.5901 GB, free: 20.57 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.232e-06/0.3746, allocations: 0 / 0.5901 GB, free: 20.57 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.864e-06/0.3746, allocations: 1.312 kB / 0.5901 GB, free: 20.57 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004253/0.375, allocations: 222.7 kB / 0.5903 GB, free: 20.39 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.812e-05/0.3751, allocations: 82.33 kB / 0.5904 GB, free: 20.3 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.9e-05/0.3751, allocations: 6.953 kB / 0.5904 GB, free: 20.29 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001331/0.3752, allocations: 14.77 kB / 0.5904 GB, free: 20.29 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.99e-05/0.3753, allocations: 5.391 kB / 0.5904 GB, free: 20.29 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.472e-06/0.3753, allocations: 1.125 kB / 0.5904 GB, free: 20.29 MB / 446.1 MB Notification: Performance of sorting global known variables: time 2.49e-05/0.3753, allocations: 85.06 kB / 0.5905 GB, free: 20.21 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3753, allocations: 0 / 0.5905 GB, free: 20.21 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.000238/0.3756, allocations: 14.97 kB / 0.5905 GB, free: 20.2 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 (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.0001469/0.3757, allocations: 108.7 kB / 0.5906 GB, free: 20.11 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0004455/0.3762, allocations: 98.75 kB / 0.5907 GB, free: 20.07 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.763e-06/0.3762, allocations: 0.5312 kB / 0.5907 GB, free: 20.07 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001938/0.3764, allocations: 50.94 kB / 0.5908 GB, free: 20.05 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000312/0.3767, allocations: 6.75 kB / 0.5908 GB, free: 20.05 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005059/0.3772, allocations: 190 kB / 0.591 GB, free: 19.87 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.998e-05/0.3773, allocations: 0.6768 MB / 0.5916 GB, free: 19.17 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.327e-05/0.3774, allocations: 11.44 kB / 0.5916 GB, free: 19.16 MB / 446.1 MB Notification: Performance of SimCode: time 2.4e-07/0.3774, allocations: 1.438 kB / 0.5916 GB, free: 19.16 MB / 446.1 MB Notification: Performance of Templates: time 0.002184/0.3796, allocations: 0.8968 MB / 0.5925 GB, free: 18.28 MB / 446.1 MB 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)