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.001648/0.001648, allocations: 106 kB / 16.27 MB, free: 6.41 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.001828/0.001828, allocations: 190.3 kB / 17.2 MB, free: 5.953 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.396/1.396, allocations: 222.9 MB / 240.9 MB, free: 15.23 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8537/0.8537, allocations: 135.2 MB / 426.2 MB, free: 4.18 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001973/0.001973, allocations: 63.89 kB / 0.506 GB, free: 8.379 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3399/0.3419, allocations: 80.92 MB / 0.5851 GB, free: 25.21 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.InverseXRegularized): time 0.002545/0.3445, allocations: 1.431 MB / 0.5864 GB, free: 24.09 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.001077/0.3456, allocations: 0.7949 MB / 0.5872 GB, free: 23.46 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.823e-05/0.3456, allocations: 1.156 kB / 0.5872 GB, free: 23.46 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 2.685e-05/0.3457, allocations: 3.938 kB / 0.5872 GB, free: 23.46 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 4.352e-05/0.3457, allocations: 2.844 kB / 0.5872 GB, free: 23.46 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004065/0.3462, allocations: 126.5 kB / 0.5874 GB, free: 23.37 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 7.044e-05/0.3462, allocations: 31.23 kB / 0.5874 GB, free: 23.36 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.236e-05/0.3463, allocations: 8.719 kB / 0.5874 GB, free: 23.35 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.248e-05/0.3464, allocations: 17.77 kB / 0.5874 GB, free: 23.34 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.559e-05/0.3464, allocations: 27.05 kB / 0.5874 GB, free: 23.32 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.605e-05/0.3465, allocations: 4.562 kB / 0.5874 GB, free: 23.32 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000397/0.3469, allocations: 309.6 kB / 0.5877 GB, free: 23.14 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 1.488e-05/0.3469, allocations: 9.141 kB / 0.5877 GB, free: 23.14 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 2.543e-05/0.3469, allocations: 18.44 kB / 0.5878 GB, free: 23.12 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002843/0.3472, allocations: 193.2 kB / 0.5879 GB, free: 23.02 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.178e-06/0.3472, allocations: 0.9062 kB / 0.5879 GB, free: 23.02 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.373e-06/0.3472, allocations: 0 / 0.5879 GB, free: 23.02 MB / 446.1 MB Notification: Performance of Transformations before backend: time 4.688e-06/0.3472, allocations: 0 / 0.5879 GB, free: 23.02 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.0004591/0.3477, allocations: 375 kB / 0.5883 GB, free: 22.63 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.953e-05/0.3478, allocations: 11.11 kB / 0.5883 GB, free: 22.63 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004631/0.3482, allocations: 72 kB / 0.5884 GB, free: 22.6 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.145e-05/0.3483, allocations: 170.7 kB / 0.5885 GB, free: 22.4 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.671e-05/0.3484, allocations: 1.469 kB / 0.5885 GB, free: 22.4 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.387e-05/0.3484, allocations: 1.594 kB / 0.5885 GB, free: 22.4 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002983/0.3487, allocations: 84.38 kB / 0.5886 GB, free: 22.34 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.598e-06/0.3487, allocations: 1.031 kB / 0.5886 GB, free: 22.34 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.434e-05/0.3487, allocations: 8.984 kB / 0.5886 GB, free: 22.33 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.332e-06/0.3487, allocations: 1.094 kB / 0.5886 GB, free: 22.33 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004239/0.3492, allocations: 91.27 kB / 0.5887 GB, free: 22.3 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004588/0.3496, allocations: 300.2 kB / 0.589 GB, free: 21.98 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003662/0.35, allocations: 99.8 kB / 0.5891 GB, free: 21.93 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002033/0.3502, allocations: 50.69 kB / 0.5892 GB, free: 21.9 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.369e-05/0.3502, allocations: 0 / 0.5892 GB, free: 21.9 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.517e-05/0.3503, allocations: 32.78 kB / 0.5892 GB, free: 21.86 MB / 446.1 MB Notification: Performance of pre-optimization done (n=2): time 8.62e-07/0.3503, allocations: 0 / 0.5892 GB, free: 21.86 MB / 446.1 MB Notification: Performance of matching and sorting (n=2): time 0.0007254/0.351, allocations: 172.8 kB / 0.5894 GB, free: 21.77 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.532e-05/0.351, allocations: 51.41 kB / 0.5894 GB, free: 21.71 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.21e-05/0.3511, allocations: 101.2 kB / 0.5895 GB, free: 21.61 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.157e-05/0.3511, allocations: 29.64 kB / 0.5895 GB, free: 21.57 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.337e-05/0.3512, allocations: 90.72 kB / 0.5896 GB, free: 21.48 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.727e-05/0.3512, allocations: 4 kB / 0.5896 GB, free: 21.48 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.735e-05/0.3512, allocations: 15.31 kB / 0.5896 GB, free: 21.46 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 5.593e-05/0.3513, allocations: 310.8 kB / 0.5899 GB, free: 21.15 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000213/0.3515, allocations: 52.09 kB / 0.59 GB, free: 21.13 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001968/0.3517, allocations: 45.02 kB / 0.59 GB, free: 21.11 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003839/0.3521, allocations: 93.14 kB / 0.5901 GB, free: 21.07 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.563e-06/0.3521, allocations: 1.406 kB / 0.5901 GB, free: 21.07 MB / 446.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0004493/0.3526, allocations: 123 kB / 0.5902 GB, free: 21 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.964e-05/0.3526, allocations: 10.92 kB / 0.5902 GB, free: 21 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.271e-06/0.3526, allocations: 6.406 kB / 0.5902 GB, free: 20.99 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.559e-05/0.3526, allocations: 0 / 0.5902 GB, free: 20.99 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001776/0.3528, allocations: 23.31 kB / 0.5903 GB, free: 20.98 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.943e-06/0.3528, allocations: 1.469 kB / 0.5903 GB, free: 20.98 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001181/0.353, allocations: 18.17 kB / 0.5903 GB, free: 20.98 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.137e-06/0.353, allocations: 1.281 kB / 0.5903 GB, free: 20.98 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 6.464e-05/0.353, allocations: 113.6 kB / 0.5904 GB, free: 20.86 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.04e-05/0.3531, allocations: 8.109 kB / 0.5904 GB, free: 20.85 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.278e-05/0.3531, allocations: 7.656 kB / 0.5904 GB, free: 20.85 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.226e-06/0.3531, allocations: 1.844 kB / 0.5904 GB, free: 20.85 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.731e-06/0.3531, allocations: 0 / 0.5904 GB, free: 20.85 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.637e-06/0.3532, allocations: 4 kB / 0.5904 GB, free: 20.84 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001361/0.3533, allocations: 173.5 kB / 0.5906 GB, free: 20.62 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.723e-06/0.3533, allocations: 1.5 kB / 0.5906 GB, free: 20.62 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001304/0.3534, allocations: 23.97 kB / 0.5906 GB, free: 20.6 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.034e-06/0.3534, allocations: 1.156 kB / 0.5906 GB, free: 20.6 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.115e-05/0.3535, allocations: 4 kB / 0.5906 GB, free: 20.6 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.545e-06/0.3535, allocations: 0 / 0.5906 GB, free: 20.6 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.884e-06/0.3535, allocations: 2.219 kB / 0.5906 GB, free: 20.6 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004583/0.3539, allocations: 218.8 kB / 0.5908 GB, free: 20.37 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.434e-05/0.354, allocations: 85.64 kB / 0.5909 GB, free: 20.27 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.854e-05/0.354, allocations: 4 kB / 0.5909 GB, free: 20.27 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001371/0.3541, allocations: 17.59 kB / 0.5909 GB, free: 20.25 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.54e-05/0.3542, allocations: 5 kB / 0.5909 GB, free: 20.25 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.54e-06/0.3542, allocations: 3.938 kB / 0.5909 GB, free: 20.24 MB / 446.1 MB Notification: Performance of sorting global known variables: time 2.579e-05/0.3542, allocations: 80.28 kB / 0.591 GB, free: 20.16 MB / 446.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3542, allocations: 0 / 0.591 GB, free: 20.16 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002474/0.3545, allocations: 23.98 kB / 0.591 GB, free: 20.14 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.0001533/0.3547, allocations: 100.8 kB / 0.5911 GB, free: 20.04 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0004625/0.3551, allocations: 95.67 kB / 0.5912 GB, free: 19.95 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.615e-06/0.3551, allocations: 5.969 kB / 0.5912 GB, free: 19.94 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002076/0.3554, allocations: 49.14 kB / 0.5913 GB, free: 19.89 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003463/0.3557, allocations: 4.969 kB / 0.5913 GB, free: 19.89 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005872/0.3563, allocations: 188.3 kB / 0.5915 GB, free: 19.68 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001136/0.3564, allocations: 0.6768 MB / 0.5921 GB, free: 18.98 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.485e-05/0.3565, allocations: 7.438 kB / 0.5921 GB, free: 18.97 MB / 446.1 MB Notification: Performance of SimCode: time 4.7e-07/0.3565, allocations: 0 / 0.5921 GB, free: 18.97 MB / 446.1 MB Notification: Performance of Templates: time 0.002481/0.359, allocations: 0.9028 MB / 0.593 GB, free: 18.08 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)