Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.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.Functions.Examples.InverseXDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.InverseXDerivativeCheck") translateModel(IDEAS.Utilities.Math.Functions.Examples.InverseXDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.InverseXDerivativeCheck") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001109/0.001109, allocations: 109.9 kB / 16.41 MB, free: 6.492 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.001185/0.001185, allocations: 185.5 kB / 17.34 MB, free: 5.766 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.296/1.296, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7784/0.7784, allocations: 135.1 MB / 426.3 MB, free: 4.105 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001163/0.001163, allocations: 63.62 kB / 0.5863 GB, free: 21.66 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1272/0.1284, allocations: 80.93 MB / 0.6653 GB, free: 5.742 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.InverseXDerivativeCheck): time 0.001573/0.13, allocations: 0.5788 MB / 0.6659 GB, free: 5.168 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.001702/0.1317, allocations: 1.461 MB / 0.6673 GB, free: 3.691 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.173e-05/0.1317, allocations: 0 / 0.6673 GB, free: 3.691 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 1.302e-05/0.1317, allocations: 3.938 kB / 0.6673 GB, free: 3.688 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 2.655e-05/0.1318, allocations: 0 / 0.6673 GB, free: 3.688 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004927/0.1323, allocations: 147.4 kB / 0.6675 GB, free: 3.543 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 6.782e-05/0.1323, allocations: 27.92 kB / 0.6675 GB, free: 3.516 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 4.012e-05/0.1324, allocations: 7.969 kB / 0.6675 GB, free: 3.508 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 4.176e-05/0.1324, allocations: 19.98 kB / 0.6675 GB, free: 3.488 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 8.322e-05/0.1325, allocations: 23.91 kB / 0.6676 GB, free: 3.465 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.539e-05/0.1326, allocations: 4 kB / 0.6676 GB, free: 3.461 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004297/0.133, allocations: 311.3 kB / 0.6679 GB, free: 3.156 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 1.833e-05/0.133, allocations: 7.984 kB / 0.6679 GB, free: 3.148 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 2.718e-05/0.133, allocations: 12 kB / 0.6679 GB, free: 3.137 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0002784/0.1333, allocations: 191.6 kB / 0.6681 GB, free: 2.949 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.218e-06/0.1333, allocations: 3.938 kB / 0.6681 GB, free: 2.945 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.242e-06/0.1334, allocations: 0 / 0.6681 GB, free: 2.945 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 5.209e-06/0.1334, allocations: 0 / 0.6681 GB, free: 2.945 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0005333/0.1339, allocations: 367.5 kB / 0.6684 GB, free: 2.539 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.425e-05/0.1339, allocations: 9.109 kB / 0.6684 GB, free: 2.531 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004453/0.1344, allocations: 68.84 kB / 0.6685 GB, free: 2.465 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001107/0.1345, allocations: 164.3 kB / 0.6686 GB, free: 2.266 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.044e-05/0.1346, allocations: 8.312 kB / 0.6687 GB, free: 2.258 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.564e-05/0.1346, allocations: 8.281 kB / 0.6687 GB, free: 2.25 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002589/0.1348, allocations: 81.94 kB / 0.6687 GB, free: 2.164 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.181e-06/0.1349, allocations: 0 / 0.6687 GB, free: 2.164 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.28e-05/0.1349, allocations: 0 / 0.6687 GB, free: 2.164 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.195e-06/0.1349, allocations: 0 / 0.6687 GB, free: 2.164 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000301/0.1352, allocations: 67.88 kB / 0.6688 GB, free: 2.098 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001818/0.1354, allocations: 161.7 kB / 0.669 GB, free: 1.891 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006149/0.136, allocations: 126.6 kB / 0.6691 GB, free: 1.758 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001612/0.1362, allocations: 44.92 kB / 0.6691 GB, free: 1.711 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004488/0.1366, allocations: 157 kB / 0.6693 GB, free: 1.539 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.825e-05/0.1367, allocations: 34.5 kB / 0.6693 GB, free: 1.496 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=4): time 1.092e-06/0.1367, allocations: 0 / 0.6693 GB, free: 1.496 MB / 0.4981 GB Notification: Performance of matching and sorting (n=5): time 0.001114/0.1378, allocations: 406.2 kB / 0.6697 GB, free: 1.047 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.221e-05/0.1378, allocations: 55.41 kB / 0.6697 GB, free: 0.9805 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.178e-05/0.1379, allocations: 93.86 kB / 0.6698 GB, free: 0.8789 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.722e-05/0.1379, allocations: 33.77 kB / 0.6699 GB, free: 0.8398 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 3.619e-05/0.138, allocations: 80.14 kB / 0.6699 GB, free: 0.7578 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 2.973e-05/0.138, allocations: 23.73 kB / 0.67 GB, free: 0.7344 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.085e-05/0.1381, allocations: 13.72 kB / 0.67 GB, free: 0.7148 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001146/0.1382, allocations: 322.8 kB / 0.6703 GB, free: 400 kB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001593/0.1383, allocations: 35.97 kB / 0.6703 GB, free: 364 kB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001585/0.1385, allocations: 35.97 kB / 0.6704 GB, free: 328 kB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002979/0.1388, allocations: 72.8 kB / 0.6704 GB, free: 252 kB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.102e-06/0.1388, allocations: 0 / 0.6704 GB, free: 252 kB / 0.4981 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0003584/0.1392, allocations: 117.6 kB / 0.6705 GB, free: 128 kB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.159e-05/0.1392, allocations: 4 kB / 0.6705 GB, free: 124 kB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.236e-06/0.1392, allocations: 4 kB / 0.6705 GB, free: 120 kB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.628e-06/0.1392, allocations: 0 / 0.6705 GB, free: 120 kB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001479/0.1394, allocations: 23.92 kB / 0.6706 GB, free: 96 kB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.528e-06/0.1394, allocations: 4 kB / 0.6706 GB, free: 92 kB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000102/0.1395, allocations: 15.97 kB / 0.6706 GB, free: 76 kB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.257e-06/0.1395, allocations: 3.984 kB / 0.6706 GB, free: 72 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 (6): * Single equations (assignments): 6 * 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 8.634e-05/0.1396, allocations: 115.2 kB / 0.6707 GB, free: 15.95 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.783e-05/0.1396, allocations: 11.78 kB / 0.6707 GB, free: 15.94 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004555/0.1401, allocations: 133.2 kB / 0.6708 GB, free: 15.8 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.707e-06/0.1401, allocations: 4 kB / 0.6708 GB, free: 15.79 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.917e-06/0.1401, allocations: 3.938 kB / 0.6708 GB, free: 15.79 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.134e-06/0.1401, allocations: 3.938 kB / 0.6709 GB, free: 15.79 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001325/0.1403, allocations: 170 kB / 0.671 GB, free: 15.57 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.222e-06/0.1403, allocations: 0 / 0.671 GB, free: 15.57 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001616/0.1404, allocations: 31.92 kB / 0.671 GB, free: 15.54 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.729e-06/0.1405, allocations: 4 kB / 0.671 GB, free: 15.54 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.134e-05/0.1405, allocations: 3.984 kB / 0.6711 GB, free: 15.53 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.353e-06/0.1405, allocations: 0 / 0.6711 GB, free: 15.53 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.022e-06/0.1405, allocations: 0 / 0.6711 GB, free: 15.53 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005482/0.141, allocations: 177 kB / 0.6712 GB, free: 15.34 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 6.299e-05/0.1411, allocations: 89.03 kB / 0.6713 GB, free: 15.23 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.557e-05/0.1411, allocations: 8.094 kB / 0.6713 GB, free: 15.23 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001162/0.1413, allocations: 11.98 kB / 0.6713 GB, free: 15.21 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.074e-05/0.1413, allocations: 3.984 kB / 0.6713 GB, free: 15.21 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.072e-05/0.1413, allocations: 7.938 kB / 0.6713 GB, free: 15.2 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 4.824e-05/0.1414, allocations: 79.28 kB / 0.6714 GB, free: 15.12 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.21e-07/0.1414, allocations: 0 / 0.6714 GB, free: 15.12 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0002216/0.1416, allocations: 31.98 kB / 0.6714 GB, free: 15.09 MB / 0.5137 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (y_comp) * 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 (6): * Single equations (assignments): 6 * 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.000194/0.1418, allocations: 131.3 kB / 0.6716 GB, free: 14.95 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0003754/0.1422, allocations: 83.92 kB / 0.6716 GB, free: 14.87 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 2.024e-06/0.1422, allocations: 4 kB / 0.6717 GB, free: 14.87 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0001625/0.1424, allocations: 43.91 kB / 0.6717 GB, free: 14.82 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000141/0.1425, allocations: 1.719 kB / 0.6717 GB, free: 14.82 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006165/0.1431, allocations: 223.1 kB / 0.6719 GB, free: 14.57 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002373/0.1434, allocations: 0.6768 MB / 0.6726 GB, free: 13.87 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.328e-05/0.1434, allocations: 19.44 kB / 0.6726 GB, free: 13.85 MB / 0.5137 GB Notification: Performance of SimCode: time 2.8e-07/0.1434, allocations: 0 / 0.6726 GB, free: 13.85 MB / 0.5137 GB Notification: Performance of Templates: time 0.002544/0.146, allocations: 1.128 MB / 0.6737 GB, free: 12.72 MB / 0.5137 GB make -j1 -f IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.makefile (rm -f IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.pipe ; mkfifo IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.pipe >> ../files/IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.sim & ./IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.InverseXDerivativeCheck -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.pipe 2>&1)