Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Annex60_1.0.0_Annex60.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo", uses=false) Using package Annex60 with version 1.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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(Annex60.Utilities.Math.Examples.InverseXRegularized,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.Utilities.Math.Examples.InverseXRegularized") translateModel(Annex60.Utilities.Math.Examples.InverseXRegularized,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.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.00816/0.00816, allocations: 100.5 kB / 15.73 MB, free: 6.016 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.001382/0.001382, allocations: 193.1 kB / 16.67 MB, free: 5.934 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.631/1.631, allocations: 205.1 MB / 222.6 MB, free: 4.371 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo): time 0.4346/0.4346, allocations: 54.95 MB / 324.9 MB, free: 40 kB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Annex60 requested package Modelica of version 3.2.2. Modelica 3.2.3 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001532/0.001532, allocations: 73.25 kB / 456.3 MB, free: 38.7 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1393/0.1408, allocations: 59.59 MB / 0.5038 GB, free: 9.797 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Annex60.Utilities.Math.Examples.InverseXRegularized): time 0.002675/0.1435, allocations: 1.404 MB / 0.5051 GB, free: 8.695 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001514/0.1451, allocations: 0.8168 MB / 0.5059 GB, free: 8.047 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.221e-05/0.1451, allocations: 0 / 0.5059 GB, free: 8.047 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 3.24e-05/0.1452, allocations: 0 / 0.5059 GB, free: 8.047 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 6.258e-05/0.1452, allocations: 5.344 kB / 0.5059 GB, free: 8.043 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006403/0.1459, allocations: 133.8 kB / 0.5061 GB, free: 7.949 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.000126/0.146, allocations: 33.66 kB / 0.5061 GB, free: 7.93 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001426/0.1462, allocations: 8.125 kB / 0.5061 GB, free: 7.926 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.062e-05/0.1462, allocations: 9.484 kB / 0.5061 GB, free: 7.922 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.91e-05/0.1463, allocations: 22.8 kB / 0.5061 GB, free: 7.906 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.776e-05/0.1464, allocations: 4.125 kB / 0.5061 GB, free: 7.906 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004678/0.1468, allocations: 316.6 kB / 0.5064 GB, free: 7.723 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 1.763e-05/0.1469, allocations: 13.36 kB / 0.5065 GB, free: 7.711 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 2.745e-05/0.1469, allocations: 10.69 kB / 0.5065 GB, free: 7.703 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003281/0.1472, allocations: 200.8 kB / 0.5067 GB, free: 7.594 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.807e-06/0.1472, allocations: 0 / 0.5067 GB, free: 7.594 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.523e-06/0.1472, allocations: 0 / 0.5067 GB, free: 7.594 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.156e-05/0.1473, allocations: 0 / 0.5067 GB, free: 7.594 MB / 382.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.0005577/0.1478, allocations: 383.5 kB / 0.507 GB, free: 7.191 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.058e-05/0.1479, allocations: 9.625 kB / 0.507 GB, free: 7.191 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004673/0.1484, allocations: 75.23 kB / 0.5071 GB, free: 7.156 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.798e-05/0.1485, allocations: 163.1 kB / 0.5073 GB, free: 6.961 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.75e-05/0.1485, allocations: 4.375 kB / 0.5073 GB, free: 6.957 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.566e-05/0.1485, allocations: 5.312 kB / 0.5073 GB, free: 6.953 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003003/0.1488, allocations: 86.44 kB / 0.5074 GB, free: 6.891 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.325e-06/0.1488, allocations: 0 / 0.5074 GB, free: 6.891 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.203e-05/0.1489, allocations: 0 / 0.5074 GB, free: 6.891 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.402e-06/0.1489, allocations: 5.375 kB / 0.5074 GB, free: 6.887 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004048/0.1493, allocations: 90.64 kB / 0.5074 GB, free: 6.848 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005157/0.1498, allocations: 300.8 kB / 0.5077 GB, free: 6.531 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003747/0.1502, allocations: 96.58 kB / 0.5078 GB, free: 6.473 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000205/0.1504, allocations: 59.36 kB / 0.5079 GB, free: 6.438 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.078e-05/0.1504, allocations: 0 / 0.5079 GB, free: 6.438 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.268e-05/0.1505, allocations: 35.91 kB / 0.5079 GB, free: 6.395 MB / 382.1 MB Notification: Performance of pre-optimization done (n=2): time 9.02e-07/0.1505, allocations: 0 / 0.5079 GB, free: 6.395 MB / 382.1 MB Notification: Performance of matching and sorting (n=2): time 0.0007253/0.1512, allocations: 165.4 kB / 0.5081 GB, free: 6.305 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.48e-05/0.1512, allocations: 51.41 kB / 0.5081 GB, free: 6.242 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.863e-05/0.1513, allocations: 100.5 kB / 0.5082 GB, free: 6.141 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.208e-05/0.1513, allocations: 25.7 kB / 0.5082 GB, free: 6.109 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.311e-05/0.1514, allocations: 85.33 kB / 0.5083 GB, free: 6.023 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.315e-05/0.1514, allocations: 13.06 kB / 0.5083 GB, free: 6.012 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.881e-05/0.1514, allocations: 18.06 kB / 0.5084 GB, free: 5.992 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 7.155e-05/0.1515, allocations: 318.8 kB / 0.5087 GB, free: 5.672 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002017/0.1517, allocations: 45.8 kB / 0.5087 GB, free: 5.652 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001951/0.1519, allocations: 50.66 kB / 0.5088 GB, free: 5.629 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000385/0.1523, allocations: 88.33 kB / 0.5088 GB, free: 5.586 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.495e-06/0.1523, allocations: 0 / 0.5088 GB, free: 5.586 MB / 382.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.000414/0.1528, allocations: 123.7 kB / 0.509 GB, free: 5.473 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.735e-05/0.1528, allocations: 4 kB / 0.509 GB, free: 5.469 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.082e-06/0.1528, allocations: 3.938 kB / 0.509 GB, free: 5.465 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.737e-05/0.1528, allocations: 0 / 0.509 GB, free: 5.465 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001584/0.153, allocations: 28 kB / 0.509 GB, free: 5.438 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.572e-06/0.153, allocations: 0 / 0.509 GB, free: 5.438 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001021/0.1531, allocations: 19.91 kB / 0.509 GB, free: 5.418 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.806e-06/0.1531, allocations: 4 kB / 0.509 GB, free: 5.414 MB / 382.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.733e-05/0.1532, allocations: 109.8 kB / 0.5091 GB, free: 5.297 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.584e-05/0.1532, allocations: 7.953 kB / 0.5091 GB, free: 5.289 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.271e-05/0.1533, allocations: 15.11 kB / 0.5091 GB, free: 5.273 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.234e-06/0.1533, allocations: 0 / 0.5091 GB, free: 5.273 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.328e-06/0.1533, allocations: 0 / 0.5091 GB, free: 5.273 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.825e-06/0.1533, allocations: 0 / 0.5091 GB, free: 5.273 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000149/0.1534, allocations: 173.6 kB / 0.5093 GB, free: 5.055 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.62e-07/0.1534, allocations: 3.938 kB / 0.5093 GB, free: 5.051 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001419/0.1536, allocations: 19.97 kB / 0.5093 GB, free: 5.031 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.824e-06/0.1536, allocations: 4 kB / 0.5093 GB, free: 5.027 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.169e-05/0.1536, allocations: 7.984 kB / 0.5093 GB, free: 5.02 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.263e-06/0.1536, allocations: 0 / 0.5093 GB, free: 5.02 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.102e-06/0.1536, allocations: 0 / 0.5093 GB, free: 5.02 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004238/0.1541, allocations: 215.4 kB / 0.5095 GB, free: 4.793 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.243e-05/0.1541, allocations: 81.34 kB / 0.5096 GB, free: 4.695 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.735e-05/0.1541, allocations: 7.938 kB / 0.5096 GB, free: 4.688 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000134/0.1542, allocations: 20.02 kB / 0.5096 GB, free: 4.668 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.776e-05/0.1543, allocations: 3.984 kB / 0.5097 GB, free: 4.664 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.951e-06/0.1543, allocations: 4 kB / 0.5097 GB, free: 4.66 MB / 382.1 MB Notification: Performance of sorting global known variables: time 2.494e-05/0.1543, allocations: 83.28 kB / 0.5097 GB, free: 4.578 MB / 382.1 MB Notification: Performance of sort global known variables: time 3.61e-07/0.1543, allocations: 0 / 0.5097 GB, free: 4.578 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002471/0.1546, allocations: 19.88 kB / 0.5098 GB, free: 4.559 MB / 382.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.0001301/0.1547, allocations: 103.2 kB / 0.5099 GB, free: 4.445 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0004407/0.1552, allocations: 91.91 kB / 0.5099 GB, free: 4.355 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.425e-06/0.1552, allocations: 4.062 kB / 0.5099 GB, free: 4.352 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000244/0.1554, allocations: 47.94 kB / 0.51 GB, free: 4.305 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003172/0.1558, allocations: 7.938 kB / 0.51 GB, free: 4.297 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005146/0.1563, allocations: 165.4 kB / 0.5102 GB, free: 4.105 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001088/0.1564, allocations: 0.6806 MB / 0.5108 GB, free: 3.398 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 6.423e-05/0.1565, allocations: 15.95 kB / 0.5108 GB, free: 3.383 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.087e-05/0.1565, allocations: 7.438 kB / 0.5108 GB, free: 3.375 MB / 382.1 MB Notification: Performance of SimCode: time 4.01e-07/0.1565, allocations: 0 / 0.5108 GB, free: 3.375 MB / 382.1 MB Notification: Performance of Templates: time 0.002977/0.1595, allocations: 0.8319 MB / 0.5117 GB, free: 2.551 MB / 382.1 MB make -j1 -f Annex60_1.0.0_Annex60.Utilities.Math.Examples.InverseXRegularized.makefile (rm -f Annex60_1.0.0_Annex60.Utilities.Math.Examples.InverseXRegularized.pipe ; mkfifo Annex60_1.0.0_Annex60.Utilities.Math.Examples.InverseXRegularized.pipe ; head -c 1048576 < Annex60_1.0.0_Annex60.Utilities.Math.Examples.InverseXRegularized.pipe >> ../files/Annex60_1.0.0_Annex60.Utilities.Math.Examples.InverseXRegularized.sim & ./Annex60_1.0.0_Annex60.Utilities.Math.Examples.InverseXRegularized -abortSlowSimulation -alarm=480 -lv LOG_STATS > Annex60_1.0.0_Annex60.Utilities.Math.Examples.InverseXRegularized.pipe 2>&1)