Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.InverseXRegularized.conf.json 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/IDEAS 3.0.0-master/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/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) Running command: translateModel(IDEAS.Utilities.Math.Functions.Examples.InverseXRegularized,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.InverseXRegularized") translateModel(IDEAS.Utilities.Math.Functions.Examples.InverseXRegularized,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.InverseXRegularized") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001255/0.001255, allocations: 183.1 kB / 15.98 MB, free: 5.77 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7107/0.7107, allocations: 133.3 MB / 150.1 MB, free: 11.14 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.456/1.456, allocations: 222.9 MB / 404.7 MB, free: 6.008 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001077/0.001077, allocations: 111.2 kB / 485.9 MB, free: 7.141 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0009659/0.0009659, allocations: 51.92 kB / 0.5636 GB, free: 69.88 MB / 426.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1314/0.1324, allocations: 80.43 MB / 0.6422 GB, free: 5.383 MB / 442.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.InverseXRegularized): time 0.001867/0.1343, allocations: 0.6815 MB / 0.6428 GB, free: 4.691 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.00198/0.1363, allocations: 1.475 MB / 0.6443 GB, free: 3.199 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.973e-05/0.1363, allocations: 0 / 0.6443 GB, free: 3.199 MB / 442.7 MB Notification: Performance of NFTyping.typeComponents: time 2.036e-05/0.1364, allocations: 3.938 kB / 0.6443 GB, free: 3.195 MB / 442.7 MB Notification: Performance of NFTyping.typeBindings: time 7.946e-05/0.1365, allocations: 3.984 kB / 0.6443 GB, free: 3.191 MB / 442.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003389/0.1368, allocations: 96.83 kB / 0.6444 GB, free: 3.098 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 6.795e-05/0.1369, allocations: 27.92 kB / 0.6444 GB, free: 3.07 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.708e-05/0.137, allocations: 0 / 0.6444 GB, free: 3.07 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.754e-05/0.137, allocations: 19.86 kB / 0.6444 GB, free: 3.051 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.922e-05/0.1371, allocations: 15.92 kB / 0.6444 GB, free: 3.035 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 1.75e-05/0.1371, allocations: 4 kB / 0.6444 GB, free: 3.031 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000465/0.1376, allocations: 323.3 kB / 0.6447 GB, free: 2.715 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 1.348e-05/0.1376, allocations: 0 / 0.6447 GB, free: 2.715 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 3.128e-05/0.1376, allocations: 19.86 kB / 0.6447 GB, free: 2.695 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003092/0.1379, allocations: 179.9 kB / 0.6449 GB, free: 2.52 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.15e-06/0.138, allocations: 4 kB / 0.6449 GB, free: 2.516 MB / 442.7 MB Notification: Performance of FrontEnd: time 1.082e-06/0.138, allocations: 0 / 0.6449 GB, free: 2.516 MB / 442.7 MB Notification: Performance of Transformations before backend: time 4.889e-06/0.138, allocations: 0 / 0.6449 GB, free: 2.516 MB / 442.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0005668/0.1385, allocations: 387.3 kB / 0.6453 GB, free: 2.09 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.817e-05/0.1386, allocations: 8.031 kB / 0.6453 GB, free: 2.082 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003932/0.139, allocations: 56.86 kB / 0.6454 GB, free: 2.027 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001506/0.1392, allocations: 184.2 kB / 0.6455 GB, free: 1.809 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.616e-05/0.1392, allocations: 384 / 0.6455 GB, free: 1.809 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.901e-05/0.1392, allocations: 4.375 kB / 0.6455 GB, free: 1.805 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002615/0.1395, allocations: 69.95 kB / 0.6456 GB, free: 1.73 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.275e-05/0.1395, allocations: 4 kB / 0.6456 GB, free: 1.727 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.167e-05/0.1395, allocations: 8 kB / 0.6456 GB, free: 1.719 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.62e-06/0.1395, allocations: 0 / 0.6456 GB, free: 1.719 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003537/0.1399, allocations: 75.84 kB / 0.6457 GB, free: 1.645 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001977/0.1401, allocations: 169.7 kB / 0.6458 GB, free: 1.43 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005354/0.1406, allocations: 130.4 kB / 0.646 GB, free: 1.293 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001792/0.1408, allocations: 44.95 kB / 0.646 GB, free: 1.246 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.581e-05/0.1409, allocations: 0 / 0.646 GB, free: 1.246 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.469e-05/0.1409, allocations: 46.42 kB / 0.6461 GB, free: 1.191 MB / 442.7 MB Notification: Performance of pre-optimization done (n=5): time 1.032e-06/0.1409, allocations: 0 / 0.6461 GB, free: 1.191 MB / 442.7 MB Warning: Some equations could not be differentiated for following variables having attribute stateSelect=StateSelect.prefer. They will be treated as if they had stateSelect=StateSelect.default ======================================== 1: x Please use -d=bltdump for more information. Notification: Performance of matching and sorting (n=9): time 0.003966/0.1449, allocations: 0.784 MB / 0.6468 GB, free: 412 kB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.219e-05/0.1449, allocations: 55.41 kB / 0.6469 GB, free: 344 kB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.07e-05/0.145, allocations: 117.8 kB / 0.647 GB, free: 216 kB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 1.565e-05/0.145, allocations: 25.7 kB / 0.647 GB, free: 184 kB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.048e-05/0.1451, allocations: 84.14 kB / 0.6471 GB, free: 96 kB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.539e-05/0.1451, allocations: 31.55 kB / 0.6471 GB, free: 64 kB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.547e-05/0.1452, allocations: 25.7 kB / 0.6471 GB, free: 32 kB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0001217/0.1453, allocations: 318.8 kB / 0.6475 GB, free: 15.71 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004255/0.1457, allocations: 99.91 kB / 0.6475 GB, free: 15.61 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004147/0.1462, allocations: 95.89 kB / 0.6476 GB, free: 15.52 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008266/0.147, allocations: 192.6 kB / 0.6478 GB, free: 15.33 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.32e-07/0.147, allocations: 0 / 0.6478 GB, free: 15.33 MB / 458.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0009062/0.1479, allocations: 249.6 kB / 0.6481 GB, free: 15.08 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.514e-05/0.1479, allocations: 4 kB / 0.6481 GB, free: 15.07 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.311e-06/0.148, allocations: 320 / 0.6481 GB, free: 15.07 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.309e-05/0.148, allocations: 0 / 0.6481 GB, free: 15.07 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003076/0.1483, allocations: 55.94 kB / 0.6481 GB, free: 15.02 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.831e-06/0.1483, allocations: 0 / 0.6481 GB, free: 15.02 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002237/0.1485, allocations: 43.95 kB / 0.6482 GB, free: 14.98 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.617e-05/0.1486, allocations: 7.969 kB / 0.6482 GB, free: 14.97 MB / 458.7 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 (9): * Single equations (assignments): 9 * 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 9.627e-05/0.1487, allocations: 117.8 kB / 0.6483 GB, free: 14.84 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.122e-05/0.1487, allocations: 7.906 kB / 0.6483 GB, free: 14.84 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.174e-05/0.1487, allocations: 8.375 kB / 0.6483 GB, free: 14.83 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.743e-06/0.1487, allocations: 0 / 0.6483 GB, free: 14.83 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.441e-06/0.1487, allocations: 0 / 0.6483 GB, free: 14.83 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.197e-06/0.1488, allocations: 7.938 kB / 0.6483 GB, free: 14.82 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001646/0.1504, allocations: 0.5974 MB / 0.6489 GB, free: 14.16 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.255e-06/0.1504, allocations: 0.75 kB / 0.6489 GB, free: 14.16 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002597/0.1507, allocations: 56 kB / 0.6489 GB, free: 14.11 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.993e-06/0.1507, allocations: 0 / 0.6489 GB, free: 14.11 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.647e-05/0.1507, allocations: 8 kB / 0.649 GB, free: 14.1 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.563e-06/0.1507, allocations: 3.938 kB / 0.649 GB, free: 14.09 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.667e-06/0.1507, allocations: 7.938 kB / 0.649 GB, free: 14.09 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001589/0.1523, allocations: 0.9831 MB / 0.6499 GB, free: 13.04 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.709e-05/0.1524, allocations: 89.03 kB / 0.65 GB, free: 12.93 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.839e-05/0.1524, allocations: 0 / 0.65 GB, free: 12.93 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002455/0.1527, allocations: 39.95 kB / 0.65 GB, free: 12.89 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.007e-05/0.1527, allocations: 11.98 kB / 0.6501 GB, free: 12.88 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.134e-05/0.1527, allocations: 4 kB / 0.6501 GB, free: 12.88 MB / 458.7 MB Notification: Performance of sorting global known variables: time 4.67e-05/0.1528, allocations: 95.25 kB / 0.6502 GB, free: 12.79 MB / 458.7 MB Notification: Performance of sort global known variables: time 2.375e-06/0.1528, allocations: 0 / 0.6502 GB, free: 12.79 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.0003618/0.1532, allocations: 39.94 kB / 0.6502 GB, free: 12.75 MB / 458.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (9): * Single equations (assignments): 9 * 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.0002023/0.1534, allocations: 123.2 kB / 0.6503 GB, free: 12.62 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.0008997/0.1543, allocations: 215.8 kB / 0.6505 GB, free: 12.41 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 2.114e-06/0.1543, allocations: 0 / 0.6505 GB, free: 12.41 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004336/0.1547, allocations: 108 kB / 0.6506 GB, free: 12.3 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00025/0.155, allocations: 15.88 kB / 0.6506 GB, free: 12.29 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001568/0.1566, allocations: 0.5224 MB / 0.6511 GB, free: 11.72 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002378/0.1568, allocations: 0.6926 MB / 0.6518 GB, free: 11 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.0001113/0.1569, allocations: 24.66 kB / 0.6518 GB, free: 10.97 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.625e-05/0.157, allocations: 19.42 kB / 0.6519 GB, free: 10.95 MB / 458.7 MB Notification: Performance of SimCode: time 2.3e-07/0.157, allocations: 0 / 0.6519 GB, free: 10.95 MB / 458.7 MB Notification: Performance of Templates: time 0.003612/0.1606, allocations: 1.622 MB / 0.6534 GB, free: 9.332 MB / 458.7 MB make -j1 -f IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.InverseXRegularized.makefile (rm -f IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.InverseXRegularized.pipe ; mkfifo IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.InverseXRegularized.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.InverseXRegularized.pipe >> ../files/IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.InverseXRegularized.sim & ./IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.InverseXRegularized -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.InverseXRegularized.pipe 2>&1)