Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_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/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: translateModel(IDEAS.Utilities.Math.Examples.InverseXRegularized,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Utilities.Math.Examples.InverseXRegularized") translateModel(IDEAS.Utilities.Math.Examples.InverseXRegularized,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_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.001181/0.001181, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001547/0.001547, allocations: 196.8 kB / 16.53 MB, free: 6.664 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.322/1.322, allocations: 222.9 MB / 240.2 MB, free: 4.391 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7337/0.7337, allocations: 132.2 MB / 422.6 MB, free: 1.789 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001361/0.001361, allocations: 63.78 kB / 0.5018 GB, free: 3.895 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4484/0.4497, allocations: 80.2 MB / 0.5801 GB, free: 4.57 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.InverseXRegularized): time 0.003681/0.4535, allocations: 1.428 MB / 0.5815 GB, free: 3.57 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.001564/0.4551, allocations: 0.8048 MB / 0.5823 GB, free: 3.004 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.837e-05/0.4552, allocations: 0 / 0.5823 GB, free: 3.004 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 3.298e-05/0.4552, allocations: 4.734 kB / 0.5823 GB, free: 3 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 4.823e-05/0.4553, allocations: 4.922 kB / 0.5823 GB, free: 2.996 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006348/0.4559, allocations: 129 kB / 0.5824 GB, free: 2.938 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 9.214e-05/0.456, allocations: 35.59 kB / 0.5824 GB, free: 2.922 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001077/0.4561, allocations: 3.984 kB / 0.5824 GB, free: 2.922 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.061e-05/0.4562, allocations: 18.48 kB / 0.5825 GB, free: 2.914 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.948e-05/0.4563, allocations: 20.92 kB / 0.5825 GB, free: 2.906 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 1.717e-05/0.4563, allocations: 3.969 kB / 0.5825 GB, free: 2.906 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000645/0.457, allocations: 315.2 kB / 0.5828 GB, free: 2.82 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 2.566e-05/0.457, allocations: 7.609 kB / 0.5828 GB, free: 2.816 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 3.715e-05/0.457, allocations: 17.7 kB / 0.5828 GB, free: 2.805 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004511/0.4575, allocations: 196.2 kB / 0.583 GB, free: 2.75 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.288e-06/0.4575, allocations: 0.625 kB / 0.583 GB, free: 2.75 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.104e-06/0.4575, allocations: 0.75 kB / 0.583 GB, free: 2.75 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.162e-05/0.4575, allocations: 0.5938 kB / 0.583 GB, free: 2.75 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0005439/0.4581, allocations: 374.8 kB / 0.5833 GB, free: 2.371 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.992e-05/0.4581, allocations: 8.562 kB / 0.5834 GB, free: 2.371 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005233/0.4587, allocations: 75.12 kB / 0.5834 GB, free: 2.359 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.369e-05/0.4588, allocations: 163.3 kB / 0.5836 GB, free: 2.164 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.695e-05/0.4588, allocations: 5.688 kB / 0.5836 GB, free: 2.16 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.433e-05/0.4588, allocations: 1.469 kB / 0.5836 GB, free: 2.16 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003168/0.4591, allocations: 85.92 kB / 0.5837 GB, free: 2.117 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.13e-05/0.4592, allocations: 0.6094 kB / 0.5837 GB, free: 2.117 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.44e-05/0.4592, allocations: 1.094 kB / 0.5837 GB, free: 2.117 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.36e-06/0.4592, allocations: 4 kB / 0.5837 GB, free: 2.113 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004419/0.4596, allocations: 94.05 kB / 0.5838 GB, free: 2.098 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005207/0.4602, allocations: 298.1 kB / 0.5841 GB, free: 1.809 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00038/0.4606, allocations: 94.22 kB / 0.5841 GB, free: 1.773 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002136/0.4608, allocations: 54.52 kB / 0.5842 GB, free: 1.754 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.014e-05/0.4608, allocations: 1.156 kB / 0.5842 GB, free: 1.754 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.89e-05/0.4608, allocations: 32.25 kB / 0.5842 GB, free: 1.715 MB / 430.1 MB Notification: Performance of pre-optimization done (n=2): time 1.133e-06/0.4608, allocations: 0 / 0.5842 GB, free: 1.715 MB / 430.1 MB Notification: Performance of matching and sorting (n=2): time 0.0007389/0.4616, allocations: 168.1 kB / 0.5844 GB, free: 1.66 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.78e-05/0.4616, allocations: 56.38 kB / 0.5844 GB, free: 1.594 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.74e-05/0.4617, allocations: 98.33 kB / 0.5845 GB, free: 1.496 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 1.163e-05/0.4617, allocations: 30.45 kB / 0.5846 GB, free: 1.461 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.751e-05/0.4617, allocations: 90.33 kB / 0.5846 GB, free: 1.371 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.935e-05/0.4618, allocations: 1.062 kB / 0.5847 GB, free: 1.371 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.948e-05/0.4618, allocations: 22.14 kB / 0.5847 GB, free: 1.348 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 4.76e-05/0.4619, allocations: 313.5 kB / 0.585 GB, free: 1.035 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002104/0.4621, allocations: 42.69 kB / 0.585 GB, free: 1.031 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001999/0.4623, allocations: 45.84 kB / 0.5851 GB, free: 1.023 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003993/0.4627, allocations: 97.91 kB / 0.5851 GB, free: 0.9961 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.335e-06/0.4627, allocations: 0 / 0.5851 GB, free: 0.9961 MB / 430.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0004592/0.4632, allocations: 131.2 kB / 0.5853 GB, free: 0.9414 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.644e-05/0.4632, allocations: 5.531 kB / 0.5853 GB, free: 0.9414 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.739e-06/0.4632, allocations: 0 / 0.5853 GB, free: 0.9414 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.474e-05/0.4632, allocations: 1.344 kB / 0.5853 GB, free: 0.9414 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001661/0.4634, allocations: 24.92 kB / 0.5853 GB, free: 0.9375 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.12e-06/0.4634, allocations: 0.75 kB / 0.5853 GB, free: 0.9375 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001144/0.4635, allocations: 17.16 kB / 0.5853 GB, free: 0.9375 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.334e-06/0.4635, allocations: 1.25 kB / 0.5853 GB, free: 0.9375 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 (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.285e-05/0.4636, allocations: 115.8 kB / 0.5854 GB, free: 0.8164 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.793e-05/0.4636, allocations: 6.953 kB / 0.5854 GB, free: 0.8125 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.917e-05/0.4637, allocations: 3.828 kB / 0.5854 GB, free: 0.8086 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.076e-06/0.4637, allocations: 5.203 kB / 0.5854 GB, free: 0.8047 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.22e-06/0.4637, allocations: 0.75 kB / 0.5854 GB, free: 0.8047 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.375e-06/0.4637, allocations: 1.594 kB / 0.5854 GB, free: 0.8047 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001303/0.4638, allocations: 179.5 kB / 0.5856 GB, free: 0.5977 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.52e-07/0.4638, allocations: 1.562 kB / 0.5856 GB, free: 0.5977 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001326/0.464, allocations: 19.36 kB / 0.5856 GB, free: 0.5977 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.595e-06/0.464, allocations: 5.312 kB / 0.5856 GB, free: 0.5938 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.969e-06/0.464, allocations: 1.5 kB / 0.5856 GB, free: 0.5938 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.763e-06/0.464, allocations: 0.75 kB / 0.5856 GB, free: 0.5938 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.022e-06/0.464, allocations: 0 / 0.5856 GB, free: 0.5938 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004572/0.4645, allocations: 226.3 kB / 0.5859 GB, free: 448 kB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.866e-05/0.4645, allocations: 79.94 kB / 0.5859 GB, free: 352 kB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.802e-05/0.4645, allocations: 0.7031 kB / 0.5859 GB, free: 352 kB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001444/0.4647, allocations: 25.53 kB / 0.586 GB, free: 344 kB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.237e-05/0.4647, allocations: 2.359 kB / 0.586 GB, free: 344 kB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.085e-06/0.4647, allocations: 2.312 kB / 0.586 GB, free: 344 kB / 430.1 MB Notification: Performance of sorting global known variables: time 2.53e-05/0.4648, allocations: 87.86 kB / 0.5861 GB, free: 260 kB / 430.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.4648, allocations: 0 / 0.5861 GB, free: 260 kB / 430.1 MB Notification: Performance of remove unused functions: time 0.000247/0.465, allocations: 16.05 kB / 0.5861 GB, free: 256 kB / 430.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.0001456/0.4652, allocations: 101.2 kB / 0.5862 GB, free: 168 kB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0004826/0.4657, allocations: 104.6 kB / 0.5863 GB, free: 144 kB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 1.884e-06/0.4657, allocations: 0 / 0.5863 GB, free: 144 kB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002228/0.4659, allocations: 45.42 kB / 0.5863 GB, free: 140 kB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003204/0.4662, allocations: 16.83 kB / 0.5863 GB, free: 128 kB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000554/0.4668, allocations: 158.5 kB / 0.5865 GB, free: 12 kB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000239/0.467, allocations: 0.6804 MB / 0.5871 GB, free: 15.31 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 7.499e-05/0.4671, allocations: 8 kB / 0.5871 GB, free: 15.31 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.426e-05/0.4672, allocations: 9.75 kB / 0.5872 GB, free: 15.3 MB / 446.1 MB Notification: Performance of SimCode: time 2.41e-07/0.4672, allocations: 0 / 0.5872 GB, free: 15.3 MB / 446.1 MB Notification: Performance of Templates: time 0.003095/0.4703, allocations: 0.8141 MB / 0.588 GB, free: 15.22 MB / 446.1 MB make -j1 -f IDEAS_IDEAS.Utilities.Math.Examples.InverseXRegularized.makefile (rm -f IDEAS_IDEAS.Utilities.Math.Examples.InverseXRegularized.pipe ; mkfifo IDEAS_IDEAS.Utilities.Math.Examples.InverseXRegularized.pipe ; head -c 1048576 < IDEAS_IDEAS.Utilities.Math.Examples.InverseXRegularized.pipe >> ../files/IDEAS_IDEAS.Utilities.Math.Examples.InverseXRegularized.sim & ./IDEAS_IDEAS.Utilities.Math.Examples.InverseXRegularized -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Utilities.Math.Examples.InverseXRegularized.pipe 2>&1)