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.008476/0.008476, allocations: 101.7 kB / 15.73 MB, free: 5.969 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.001662/0.001662, allocations: 195.8 kB / 16.67 MB, free: 5.906 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.634/1.634, allocations: 205.1 MB / 222.5 MB, free: 4.531 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo): time 0.4459/0.4459, allocations: 54.94 MB / 324.8 MB, free: 15.93 MB / 270.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.001554/0.001554, allocations: 69.06 kB / 456.2 MB, free: 38.14 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1329/0.1345, allocations: 59.59 MB / 0.5037 GB, free: 9.707 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Annex60.Utilities.Math.Examples.InverseXRegularized): time 0.00215/0.1367, allocations: 1.402 MB / 0.5051 GB, free: 8.605 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009897/0.1377, allocations: 0.815 MB / 0.5059 GB, free: 7.957 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.82e-05/0.1377, allocations: 0 / 0.5059 GB, free: 7.957 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 3.07e-05/0.1378, allocations: 5.312 kB / 0.5059 GB, free: 7.953 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 4.064e-05/0.1378, allocations: 7.938 kB / 0.5059 GB, free: 7.945 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000424/0.1383, allocations: 126 kB / 0.506 GB, free: 7.859 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 6.535e-05/0.1383, allocations: 35.03 kB / 0.506 GB, free: 7.84 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.721e-05/0.1384, allocations: 6.734 kB / 0.506 GB, free: 7.836 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.267e-05/0.1385, allocations: 14.88 kB / 0.5061 GB, free: 7.828 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.175e-05/0.1385, allocations: 22.78 kB / 0.5061 GB, free: 7.812 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.27e-05/0.1386, allocations: 2.75 kB / 0.5061 GB, free: 7.812 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003975/0.139, allocations: 322 kB / 0.5064 GB, free: 7.625 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 1.377e-05/0.139, allocations: 5.375 kB / 0.5064 GB, free: 7.621 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 2.535e-05/0.139, allocations: 14.67 kB / 0.5064 GB, free: 7.609 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002605/0.1393, allocations: 191.6 kB / 0.5066 GB, free: 7.508 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.999e-06/0.1393, allocations: 0 / 0.5066 GB, free: 7.508 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.743e-06/0.1393, allocations: 5.312 kB / 0.5066 GB, free: 7.504 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.18e-06/0.1393, allocations: 0 / 0.5066 GB, free: 7.504 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.0004654/0.1398, allocations: 383.9 kB / 0.507 GB, free: 7.102 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.407e-05/0.1398, allocations: 9.625 kB / 0.507 GB, free: 7.102 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004563/0.1403, allocations: 63.36 kB / 0.507 GB, free: 7.078 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.311e-05/0.1404, allocations: 173.7 kB / 0.5072 GB, free: 6.871 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.436e-05/0.1404, allocations: 1.75 kB / 0.5072 GB, free: 6.871 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.16e-05/0.1404, allocations: 5.312 kB / 0.5072 GB, free: 6.867 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003026/0.1407, allocations: 85.12 kB / 0.5073 GB, free: 6.805 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.081e-05/0.1407, allocations: 0 / 0.5073 GB, free: 6.805 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.374e-05/0.1408, allocations: 1.375 kB / 0.5073 GB, free: 6.805 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.128e-06/0.1408, allocations: 0 / 0.5073 GB, free: 6.805 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004075/0.1412, allocations: 87.94 kB / 0.5074 GB, free: 6.77 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005025/0.1417, allocations: 309.2 kB / 0.5077 GB, free: 6.445 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003773/0.1421, allocations: 95.88 kB / 0.5078 GB, free: 6.387 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002109/0.1423, allocations: 47.25 kB / 0.5078 GB, free: 6.363 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.846e-05/0.1423, allocations: 0 / 0.5078 GB, free: 6.363 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.307e-05/0.1424, allocations: 36.41 kB / 0.5078 GB, free: 6.32 MB / 382.1 MB Notification: Performance of pre-optimization done (n=2): time 8.62e-07/0.1424, allocations: 0 / 0.5078 GB, free: 6.32 MB / 382.1 MB Notification: Performance of matching and sorting (n=2): time 0.0007442/0.1431, allocations: 168.7 kB / 0.508 GB, free: 6.227 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.321e-05/0.1432, allocations: 55.34 kB / 0.5081 GB, free: 6.16 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.128e-05/0.1432, allocations: 105.4 kB / 0.5082 GB, free: 6.055 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.183e-05/0.1432, allocations: 29.83 kB / 0.5082 GB, free: 6.02 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.482e-05/0.1433, allocations: 85.39 kB / 0.5083 GB, free: 5.934 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.996e-05/0.1433, allocations: 7.844 kB / 0.5083 GB, free: 5.926 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.54e-05/0.1434, allocations: 17.77 kB / 0.5083 GB, free: 5.906 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 4.566e-05/0.1434, allocations: 314.8 kB / 0.5086 GB, free: 5.59 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002033/0.1436, allocations: 50.55 kB / 0.5086 GB, free: 5.566 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001915/0.1438, allocations: 41.86 kB / 0.5087 GB, free: 5.551 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003945/0.1442, allocations: 89.23 kB / 0.5088 GB, free: 5.508 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.214e-06/0.1442, allocations: 0 / 0.5088 GB, free: 5.508 MB / 382.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0004509/0.1447, allocations: 124 kB / 0.5089 GB, free: 5.434 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.775e-05/0.1447, allocations: 9.656 kB / 0.5089 GB, free: 5.43 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.14e-06/0.1447, allocations: 0 / 0.5089 GB, free: 5.43 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.796e-05/0.1447, allocations: 5.312 kB / 0.5089 GB, free: 5.426 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001711/0.1449, allocations: 20.59 kB / 0.5089 GB, free: 5.418 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.192e-06/0.1449, allocations: 1.719 kB / 0.5089 GB, free: 5.418 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001187/0.1451, allocations: 25.91 kB / 0.5089 GB, free: 5.402 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.526e-06/0.1451, allocations: 5.344 kB / 0.5089 GB, free: 5.398 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 6.245e-05/0.1451, allocations: 111.2 kB / 0.509 GB, free: 5.281 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.756e-05/0.1452, allocations: 1.344 kB / 0.5091 GB, free: 5.281 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.002e-05/0.1452, allocations: 8.625 kB / 0.5091 GB, free: 5.273 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.613e-06/0.1452, allocations: 0 / 0.5091 GB, free: 5.273 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.01e-06/0.1452, allocations: 0 / 0.5091 GB, free: 5.273 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.697e-06/0.1452, allocations: 1 kB / 0.5091 GB, free: 5.273 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001599/0.1454, allocations: 169.6 kB / 0.5092 GB, free: 5.066 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.002e-06/0.1454, allocations: 0 / 0.5092 GB, free: 5.066 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001386/0.1456, allocations: 29.47 kB / 0.5092 GB, free: 5.051 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.018e-06/0.1456, allocations: 5.109 kB / 0.5093 GB, free: 5.047 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.109e-05/0.1456, allocations: 0 / 0.5093 GB, free: 5.047 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.874e-06/0.1456, allocations: 5.188 kB / 0.5093 GB, free: 5.043 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.573e-06/0.1456, allocations: 0 / 0.5093 GB, free: 5.043 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004429/0.146, allocations: 222.7 kB / 0.5095 GB, free: 4.832 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.804e-05/0.1461, allocations: 81.39 kB / 0.5095 GB, free: 4.734 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.886e-05/0.1461, allocations: 0 / 0.5095 GB, free: 4.734 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001405/0.1463, allocations: 23.97 kB / 0.5096 GB, free: 4.711 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.079e-05/0.1463, allocations: 0 / 0.5096 GB, free: 4.711 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.261e-06/0.1463, allocations: 3.984 kB / 0.5096 GB, free: 4.707 MB / 382.1 MB Notification: Performance of sorting global known variables: time 3.206e-05/0.1464, allocations: 79.28 kB / 0.5097 GB, free: 4.629 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1464, allocations: 0 / 0.5097 GB, free: 4.629 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002484/0.1466, allocations: 27.84 kB / 0.5097 GB, free: 4.602 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.0001852/0.1468, allocations: 115.2 kB / 0.5098 GB, free: 4.477 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0004467/0.1473, allocations: 99.78 kB / 0.5099 GB, free: 4.379 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.783e-06/0.1473, allocations: 0 / 0.5099 GB, free: 4.379 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002002/0.1475, allocations: 52.02 kB / 0.5099 GB, free: 4.328 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003408/0.1478, allocations: 7.984 kB / 0.5099 GB, free: 4.32 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005763/0.1484, allocations: 165.5 kB / 0.5101 GB, free: 4.129 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001677/0.1486, allocations: 0.6768 MB / 0.5108 GB, free: 3.426 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 7.085e-05/0.1487, allocations: 11.94 kB / 0.5108 GB, free: 3.414 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.649e-05/0.1487, allocations: 7.438 kB / 0.5108 GB, free: 3.406 MB / 382.1 MB Notification: Performance of SimCode: time 2e-07/0.1487, allocations: 0 / 0.5108 GB, free: 3.406 MB / 382.1 MB Notification: Performance of Templates: time 0.00372/0.1524, allocations: 0.8348 MB / 0.5116 GB, free: 2.582 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)