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.0007555/0.0007594, allocations: 97.64 kB / 15.36 MB, free: 0.7305 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.0007598/0.0007599, allocations: 173.2 kB / 16.27 MB, free: 6.664 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.27/1.27, allocations: 223.3 MB / 240.3 MB, free: 5.336 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8753/0.8753, allocations: 135.7 MB / 427.1 MB, free: 14.21 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002776/0.0002776, allocations: 8 kB / 0.5081 GB, free: 4.328 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.136/0.1363, allocations: 82.41 MB / 0.5886 GB, free: 2.07 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.InverseXRegularized): time 0.001461/0.1378, allocations: 1.154 MB / 0.5897 GB, free: 0.9023 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.001157/0.139, allocations: 0.7994 MB / 0.5905 GB, free: 96 kB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.911e-05/0.139, allocations: 4 kB / 0.5905 GB, free: 92 kB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 1.528e-05/0.139, allocations: 4 kB / 0.5905 GB, free: 88 kB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 4.203e-05/0.1391, allocations: 7.922 kB / 0.5905 GB, free: 80 kB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003146/0.1394, allocations: 95.69 kB / 0.5906 GB, free: 15.98 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 5.418e-05/0.1394, allocations: 27.98 kB / 0.5906 GB, free: 15.96 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 7.307e-05/0.1395, allocations: 12 kB / 0.5906 GB, free: 15.95 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 3.435e-05/0.1396, allocations: 11.92 kB / 0.5906 GB, free: 15.93 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 5.751e-05/0.1396, allocations: 19.92 kB / 0.5907 GB, free: 15.91 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 9.898e-06/0.1396, allocations: 3.938 kB / 0.5907 GB, free: 15.91 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004189/0.1401, allocations: 315.3 kB / 0.591 GB, free: 15.6 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 1.31e-05/0.1401, allocations: 7.984 kB / 0.591 GB, free: 15.59 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 3.518e-05/0.1401, allocations: 33.64 kB / 0.591 GB, free: 15.55 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0002696/0.1404, allocations: 191.6 kB / 0.5912 GB, free: 15.37 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 2.775e-06/0.1404, allocations: 0 / 0.5912 GB, free: 15.37 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.102e-06/0.1404, allocations: 0 / 0.5912 GB, free: 15.37 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 3.146e-06/0.1404, allocations: 8 kB / 0.5912 GB, free: 15.36 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.0004931/0.1409, allocations: 375.7 kB / 0.5916 GB, free: 14.95 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.081e-05/0.141, allocations: 12.03 kB / 0.5916 GB, free: 14.93 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004314/0.1414, allocations: 80.84 kB / 0.5916 GB, free: 14.86 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001223/0.1415, allocations: 168.3 kB / 0.5918 GB, free: 14.65 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.648e-05/0.1416, allocations: 384 / 0.5918 GB, free: 14.65 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.274e-05/0.1416, allocations: 384 / 0.5918 GB, free: 14.65 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003041/0.1419, allocations: 101.9 kB / 0.5919 GB, free: 14.55 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.873e-06/0.1419, allocations: 0 / 0.5919 GB, free: 14.55 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.259e-05/0.1419, allocations: 3.984 kB / 0.5919 GB, free: 14.54 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.506e-06/0.1419, allocations: 3.938 kB / 0.5919 GB, free: 14.54 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004384/0.1424, allocations: 123.9 kB / 0.592 GB, free: 14.42 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004884/0.1429, allocations: 300.8 kB / 0.5923 GB, free: 14.07 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003731/0.1432, allocations: 110.5 kB / 0.5924 GB, free: 13.96 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002248/0.1435, allocations: 68.86 kB / 0.5925 GB, free: 13.89 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.449e-05/0.1435, allocations: 3.984 kB / 0.5925 GB, free: 13.88 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.163e-05/0.1435, allocations: 34.5 kB / 0.5925 GB, free: 13.84 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=2): time 9.22e-07/0.1435, allocations: 8 kB / 0.5925 GB, free: 13.83 MB / 0.4981 GB Notification: Performance of matching and sorting (n=2): time 0.0007618/0.1443, allocations: 201.6 kB / 0.5927 GB, free: 13.63 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.236e-05/0.1444, allocations: 51.41 kB / 0.5928 GB, free: 13.57 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.02e-05/0.1444, allocations: 93.86 kB / 0.5929 GB, free: 13.46 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.864e-05/0.1445, allocations: 33.64 kB / 0.5929 GB, free: 13.43 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 4.948e-05/0.1445, allocations: 92.16 kB / 0.593 GB, free: 13.33 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 1.502e-05/0.1445, allocations: 3.906 kB / 0.593 GB, free: 13.33 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.732e-05/0.1446, allocations: 13.66 kB / 0.593 GB, free: 13.31 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001222/0.1447, allocations: 314.8 kB / 0.5933 GB, free: 12.99 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000215/0.1449, allocations: 59.95 kB / 0.5934 GB, free: 12.93 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002106/0.1451, allocations: 55.95 kB / 0.5934 GB, free: 12.88 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004058/0.1456, allocations: 120.7 kB / 0.5935 GB, free: 12.76 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.493e-06/0.1456, allocations: 0 / 0.5935 GB, free: 12.76 MB / 0.4981 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0004714/0.146, allocations: 149.6 kB / 0.5937 GB, free: 12.61 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.14e-05/0.1461, allocations: 4.031 kB / 0.5937 GB, free: 12.6 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.557e-06/0.1461, allocations: 4 kB / 0.5937 GB, free: 12.6 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.167e-06/0.1461, allocations: 0 / 0.5937 GB, free: 12.6 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001562/0.1462, allocations: 27.97 kB / 0.5937 GB, free: 12.57 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.617e-06/0.1463, allocations: 0 / 0.5937 GB, free: 12.57 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001207/0.1464, allocations: 31.88 kB / 0.5937 GB, free: 12.54 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.402e-06/0.1464, allocations: 0 / 0.5937 GB, free: 12.54 MB / 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 8.29e-05/0.1465, allocations: 113.8 kB / 0.5938 GB, free: 12.42 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.305e-05/0.1465, allocations: 0 / 0.5938 GB, free: 12.42 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.935e-05/0.1465, allocations: 7.125 kB / 0.5938 GB, free: 12.41 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.343e-06/0.1466, allocations: 3.938 kB / 0.5939 GB, free: 12.41 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.866e-06/0.1466, allocations: 0 / 0.5939 GB, free: 12.41 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.128e-06/0.1466, allocations: 11.98 kB / 0.5939 GB, free: 12.39 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001794/0.1468, allocations: 169.6 kB / 0.594 GB, free: 12.18 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.81e-07/0.1468, allocations: 0 / 0.594 GB, free: 12.18 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001341/0.1469, allocations: 23.97 kB / 0.594 GB, free: 12.16 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.717e-06/0.1469, allocations: 4 kB / 0.5941 GB, free: 12.15 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.725e-06/0.1469, allocations: 256 / 0.5941 GB, free: 12.15 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.665e-06/0.1469, allocations: 8 kB / 0.5941 GB, free: 12.14 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.61e-07/0.1469, allocations: 0 / 0.5941 GB, free: 12.14 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005108/0.1475, allocations: 243.4 kB / 0.5943 GB, free: 11.89 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 4.199e-05/0.1475, allocations: 85.02 kB / 0.5944 GB, free: 11.79 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.463e-05/0.1475, allocations: 3.984 kB / 0.5944 GB, free: 11.79 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001421/0.1477, allocations: 19.98 kB / 0.5944 GB, free: 11.77 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.804e-05/0.1477, allocations: 3.984 kB / 0.5944 GB, free: 11.76 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.973e-06/0.1477, allocations: 7.969 kB / 0.5944 GB, free: 11.75 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 4.959e-05/0.1478, allocations: 87.28 kB / 0.5945 GB, free: 11.67 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.2e-07/0.1478, allocations: 3.938 kB / 0.5945 GB, free: 11.66 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002141/0.148, allocations: 8 kB / 0.5945 GB, free: 11.66 MB / 0.4981 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.0001397/0.1482, allocations: 107.2 kB / 0.5946 GB, free: 11.54 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0004666/0.1486, allocations: 119.9 kB / 0.5947 GB, free: 11.42 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.462e-06/0.1486, allocations: 0 / 0.5947 GB, free: 11.42 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0002199/0.1489, allocations: 64 kB / 0.5948 GB, free: 11.36 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002392/0.1491, allocations: 14.06 kB / 0.5948 GB, free: 11.35 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005116/0.1496, allocations: 180.7 kB / 0.595 GB, free: 11.15 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002808/0.1499, allocations: 0.6809 MB / 0.5956 GB, free: 10.44 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 7.557e-05/0.15, allocations: 8 kB / 0.5956 GB, free: 10.43 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.359e-05/0.15, allocations: 11.42 kB / 0.5956 GB, free: 10.42 MB / 0.4981 GB Notification: Performance of SimCode: time 2.31e-07/0.15, allocations: 0 / 0.5956 GB, free: 10.42 MB / 0.4981 GB Notification: Performance of Templates: time 0.002792/0.1528, allocations: 0.7285 MB / 0.5964 GB, free: 9.703 MB / 0.4981 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)