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.001125/0.001125, allocations: 111.2 kB / 16.39 MB, free: 6.434 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.00121/0.00121, allocations: 193.1 kB / 17.32 MB, free: 5.762 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.183/1.183, allocations: 222.9 MB / 241 MB, free: 15.19 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7159/0.7159, allocations: 135.1 MB / 426.3 MB, free: 4.098 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001074/0.001074, allocations: 62.97 kB / 0.5862 GB, free: 21.89 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1212/0.1222, allocations: 80.93 MB / 0.6653 GB, free: 5.906 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.InverseXRegularized): time 0.002216/0.1245, allocations: 1.427 MB / 0.6667 GB, free: 4.473 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.001075/0.1256, allocations: 0.7991 MB / 0.6674 GB, free: 3.664 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.974e-05/0.1256, allocations: 3.938 kB / 0.6674 GB, free: 3.66 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 2.086e-05/0.1257, allocations: 4 kB / 0.6674 GB, free: 3.656 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 4.315e-05/0.1257, allocations: 7.922 kB / 0.6674 GB, free: 3.648 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003881/0.1261, allocations: 127.5 kB / 0.6676 GB, free: 3.523 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 6.191e-05/0.1262, allocations: 31.92 kB / 0.6676 GB, free: 3.492 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 6.974e-05/0.1263, allocations: 4 kB / 0.6676 GB, free: 3.488 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 3.773e-05/0.1263, allocations: 11.98 kB / 0.6676 GB, free: 3.477 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 5.165e-05/0.1264, allocations: 23.91 kB / 0.6676 GB, free: 3.453 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.301e-05/0.1264, allocations: 4 kB / 0.6676 GB, free: 3.449 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003978/0.1268, allocations: 315.4 kB / 0.6679 GB, free: 3.141 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 1.474e-05/0.1268, allocations: 11.98 kB / 0.668 GB, free: 3.129 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 2.893e-05/0.1268, allocations: 15.92 kB / 0.668 GB, free: 3.113 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0002679/0.1271, allocations: 195.6 kB / 0.6682 GB, free: 2.922 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.065e-06/0.1271, allocations: 0 / 0.6682 GB, free: 2.922 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.302e-06/0.1271, allocations: 0 / 0.6682 GB, free: 2.922 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 4.268e-06/0.1271, allocations: 4 kB / 0.6682 GB, free: 2.918 MB / 0.4981 GB 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.0004647/0.1276, allocations: 375.4 kB / 0.6685 GB, free: 2.504 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.071e-05/0.1276, allocations: 9.109 kB / 0.6685 GB, free: 2.496 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00043/0.1281, allocations: 68.84 kB / 0.6686 GB, free: 2.43 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001071/0.1282, allocations: 164.3 kB / 0.6687 GB, free: 2.23 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.711e-05/0.1282, allocations: 4.375 kB / 0.6688 GB, free: 2.227 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.603e-05/0.1282, allocations: 8.375 kB / 0.6688 GB, free: 2.219 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002892/0.1285, allocations: 89.86 kB / 0.6688 GB, free: 2.125 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.643e-06/0.1285, allocations: 0 / 0.6688 GB, free: 2.125 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.033e-05/0.1286, allocations: 0 / 0.6688 GB, free: 2.125 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.757e-06/0.1286, allocations: 4 kB / 0.6688 GB, free: 2.121 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003989/0.129, allocations: 95.89 kB / 0.6689 GB, free: 2.027 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004591/0.1294, allocations: 296.8 kB / 0.6692 GB, free: 1.688 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003643/0.1298, allocations: 98.42 kB / 0.6693 GB, free: 1.582 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000196/0.13, allocations: 56.88 kB / 0.6694 GB, free: 1.523 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.242e-05/0.13, allocations: 3.984 kB / 0.6694 GB, free: 1.52 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.652e-05/0.1301, allocations: 30.56 kB / 0.6694 GB, free: 1.48 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=2): time 1.032e-06/0.1301, allocations: 0 / 0.6694 GB, free: 1.48 MB / 0.4981 GB Notification: Performance of matching and sorting (n=2): time 0.0006878/0.1308, allocations: 169.6 kB / 0.6696 GB, free: 1.309 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.705e-05/0.1308, allocations: 51.41 kB / 0.6696 GB, free: 1.246 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.189e-05/0.1309, allocations: 101.9 kB / 0.6697 GB, free: 1.137 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.549e-05/0.1309, allocations: 29.69 kB / 0.6697 GB, free: 1.102 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 3.46e-05/0.1309, allocations: 80.14 kB / 0.6698 GB, free: 1.02 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 1.941e-05/0.131, allocations: 11.84 kB / 0.6698 GB, free: 1.008 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.671e-05/0.131, allocations: 17.75 kB / 0.6698 GB, free: 0.9844 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 9.848e-05/0.1311, allocations: 318.8 kB / 0.6702 GB, free: 0.6641 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001959/0.1313, allocations: 39.95 kB / 0.6702 GB, free: 0.625 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001877/0.1315, allocations: 55.89 kB / 0.6702 GB, free: 0.5703 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003706/0.1319, allocations: 92.77 kB / 0.6703 GB, free: 488 kB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.653e-06/0.1319, allocations: 0 / 0.6703 GB, free: 488 kB / 0.4981 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0004155/0.1323, allocations: 121.6 kB / 0.6704 GB, free: 360 kB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.227e-05/0.1323, allocations: 4 kB / 0.6704 GB, free: 356 kB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.38e-06/0.1323, allocations: 0 / 0.6704 GB, free: 356 kB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.377e-05/0.1324, allocations: 3.938 kB / 0.6705 GB, free: 352 kB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001511/0.1325, allocations: 27.94 kB / 0.6705 GB, free: 324 kB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.747e-06/0.1325, allocations: 4 kB / 0.6705 GB, free: 320 kB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001053/0.1326, allocations: 11.98 kB / 0.6705 GB, free: 308 kB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.913e-06/0.1326, allocations: 0 / 0.6705 GB, free: 308 kB / 0.4981 GB 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 7.177e-05/0.1327, allocations: 121.8 kB / 0.6706 GB, free: 176 kB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.475e-05/0.1328, allocations: 4 kB / 0.6706 GB, free: 172 kB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.751e-05/0.1328, allocations: 7.125 kB / 0.6706 GB, free: 160 kB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.084e-06/0.1328, allocations: 0 / 0.6706 GB, free: 160 kB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.326e-06/0.1328, allocations: 256 / 0.6706 GB, free: 160 kB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.044e-06/0.1328, allocations: 0 / 0.6706 GB, free: 160 kB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000176/0.133, allocations: 181.5 kB / 0.6708 GB, free: 15.93 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.71e-07/0.133, allocations: 0 / 0.6708 GB, free: 15.93 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001285/0.1331, allocations: 19.97 kB / 0.6708 GB, free: 15.91 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.503e-06/0.1331, allocations: 4 kB / 0.6708 GB, free: 15.91 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.654e-06/0.1332, allocations: 4 kB / 0.6708 GB, free: 15.9 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.022e-06/0.1332, allocations: 0 / 0.6708 GB, free: 15.9 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.51e-07/0.1332, allocations: 0 / 0.6708 GB, free: 15.9 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004531/0.1336, allocations: 223.3 kB / 0.671 GB, free: 15.67 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 2.882e-05/0.1337, allocations: 77.11 kB / 0.6711 GB, free: 15.57 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.344e-05/0.1337, allocations: 0 / 0.6711 GB, free: 15.57 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001429/0.1338, allocations: 24 kB / 0.6711 GB, free: 15.55 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.339e-05/0.1339, allocations: 4 kB / 0.6711 GB, free: 15.55 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.702e-06/0.1339, allocations: 4 kB / 0.6711 GB, free: 15.54 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 3.223e-05/0.1339, allocations: 83.27 kB / 0.6712 GB, free: 15.46 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.1e-07/0.1339, allocations: 0 / 0.6712 GB, free: 15.46 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0002261/0.1342, allocations: 8 kB / 0.6712 GB, free: 15.45 MB / 0.5137 GB 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.0001286/0.1343, allocations: 108.6 kB / 0.6713 GB, free: 15.34 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0004476/0.1347, allocations: 95.89 kB / 0.6714 GB, free: 15.24 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 1.553e-06/0.1348, allocations: 4.062 kB / 0.6714 GB, free: 15.24 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0002011/0.135, allocations: 51.89 kB / 0.6715 GB, free: 15.19 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002577/0.1352, allocations: 7.938 kB / 0.6715 GB, free: 15.18 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004981/0.1357, allocations: 191 kB / 0.6717 GB, free: 14.96 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002037/0.1359, allocations: 0.6806 MB / 0.6723 GB, free: 14.25 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.111e-05/0.136, allocations: 19.38 kB / 0.6723 GB, free: 14.23 MB / 0.5137 GB Notification: Performance of SimCode: time 2.2e-07/0.136, allocations: 0 / 0.6723 GB, free: 14.23 MB / 0.5137 GB Notification: Performance of Templates: time 0.001998/0.138, allocations: 0.8948 MB / 0.6732 GB, free: 13.34 MB / 0.5137 GB 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)