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.001194/0.001194, allocations: 110.7 kB / 16.41 MB, free: 6.488 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.00126/0.00126, allocations: 187 kB / 17.34 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.186/1.186, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7189/0.7189, allocations: 135.1 MB / 426.3 MB, free: 4.105 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00108/0.001081, allocations: 65.12 kB / 0.5863 GB, free: 21.6 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1194/0.1205, allocations: 80.93 MB / 0.6653 GB, free: 5.781 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.InverseXRegularized): time 0.002341/0.1229, allocations: 1.415 MB / 0.6667 GB, free: 4.359 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.001121/0.124, allocations: 0.8068 MB / 0.6675 GB, free: 3.543 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.674e-05/0.1241, allocations: 0 / 0.6675 GB, free: 3.543 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 2.241e-05/0.1241, allocations: 7.938 kB / 0.6675 GB, free: 3.535 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 3.627e-05/0.1242, allocations: 0 / 0.6675 GB, free: 3.535 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004052/0.1246, allocations: 123.5 kB / 0.6676 GB, free: 3.414 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 7.793e-05/0.1247, allocations: 39.84 kB / 0.6676 GB, free: 3.375 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 8.359e-05/0.1248, allocations: 11.98 kB / 0.6676 GB, free: 3.363 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 3.968e-05/0.1248, allocations: 11.98 kB / 0.6677 GB, free: 3.352 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 5.284e-05/0.1249, allocations: 19.92 kB / 0.6677 GB, free: 3.332 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.371e-05/0.1249, allocations: 4 kB / 0.6677 GB, free: 3.328 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004124/0.1253, allocations: 315.3 kB / 0.668 GB, free: 3.02 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 1.455e-05/0.1253, allocations: 7.984 kB / 0.668 GB, free: 3.012 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 2.397e-05/0.1254, allocations: 11.94 kB / 0.668 GB, free: 3 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0002849/0.1256, allocations: 195.6 kB / 0.6682 GB, free: 2.809 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.266e-06/0.1257, allocations: 4 kB / 0.6682 GB, free: 2.805 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.162e-06/0.1257, allocations: 0 / 0.6682 GB, free: 2.805 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 4.699e-06/0.1257, allocations: 4 kB / 0.6682 GB, free: 2.801 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.0004806/0.1262, allocations: 375.4 kB / 0.6686 GB, free: 2.387 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.427e-05/0.1262, allocations: 9.109 kB / 0.6686 GB, free: 2.379 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004378/0.1266, allocations: 76.8 kB / 0.6686 GB, free: 2.305 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001034/0.1268, allocations: 172.3 kB / 0.6688 GB, free: 2.098 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.134e-05/0.1268, allocations: 384 / 0.6688 GB, free: 2.098 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.242e-05/0.1268, allocations: 4.375 kB / 0.6688 GB, free: 2.094 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002839/0.1271, allocations: 89.94 kB / 0.6689 GB, free: 2 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.833e-06/0.1271, allocations: 0 / 0.6689 GB, free: 2 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.151e-05/0.1271, allocations: 0 / 0.6689 GB, free: 2 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.919e-06/0.1271, allocations: 0 / 0.6689 GB, free: 2 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003685/0.1275, allocations: 91.84 kB / 0.669 GB, free: 1.91 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004632/0.128, allocations: 308.7 kB / 0.6693 GB, free: 1.559 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003381/0.1283, allocations: 94.5 kB / 0.6694 GB, free: 1.457 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000185/0.1285, allocations: 52.88 kB / 0.6694 GB, free: 1.402 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.461e-05/0.1285, allocations: 0 / 0.6694 GB, free: 1.402 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.066e-05/0.1286, allocations: 30.56 kB / 0.6694 GB, free: 1.363 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=2): time 8.32e-07/0.1286, allocations: 0 / 0.6694 GB, free: 1.363 MB / 0.4981 GB Notification: Performance of matching and sorting (n=2): time 0.0006719/0.1292, allocations: 169.6 kB / 0.6696 GB, free: 1.191 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.064e-05/0.1293, allocations: 55.44 kB / 0.6697 GB, free: 1.125 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.629e-05/0.1294, allocations: 105.8 kB / 0.6698 GB, free: 1.012 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.402e-05/0.1294, allocations: 25.7 kB / 0.6698 GB, free: 0.9805 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 3.803e-05/0.1294, allocations: 84.14 kB / 0.6699 GB, free: 0.8945 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 1.73e-05/0.1294, allocations: 11.84 kB / 0.6699 GB, free: 0.8828 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.515e-05/0.1295, allocations: 13.7 kB / 0.6699 GB, free: 0.8633 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 9.792e-05/0.1296, allocations: 318.8 kB / 0.6702 GB, free: 0.543 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001988/0.1298, allocations: 43.95 kB / 0.6702 GB, free: 0.5 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001754/0.13, allocations: 47.95 kB / 0.6703 GB, free: 464 kB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003558/0.1303, allocations: 92.77 kB / 0.6704 GB, free: 368 kB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.843e-06/0.1304, allocations: 0 / 0.6704 GB, free: 368 kB / 0.4981 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0003992/0.1308, allocations: 129.5 kB / 0.6705 GB, free: 232 kB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.194e-05/0.1308, allocations: 4 kB / 0.6705 GB, free: 228 kB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.649e-06/0.1308, allocations: 0 / 0.6705 GB, free: 228 kB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.185e-05/0.1308, allocations: 0 / 0.6705 GB, free: 228 kB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001448/0.131, allocations: 19.97 kB / 0.6705 GB, free: 208 kB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.633e-06/0.131, allocations: 4 kB / 0.6705 GB, free: 204 kB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000106/0.1311, allocations: 20 kB / 0.6705 GB, free: 184 kB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.394e-06/0.1311, allocations: 0 / 0.6705 GB, free: 184 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.213e-05/0.1312, allocations: 113.8 kB / 0.6706 GB, free: 60 kB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.613e-05/0.1312, allocations: 0 / 0.6706 GB, free: 60 kB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.873e-05/0.1312, allocations: 7.125 kB / 0.6707 GB, free: 48 kB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.352e-06/0.1312, allocations: 4 kB / 0.6707 GB, free: 44 kB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.566e-06/0.1312, allocations: 4 kB / 0.6707 GB, free: 40 kB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.166e-06/0.1313, allocations: 0 / 0.6707 GB, free: 40 kB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001701/0.1314, allocations: 181.4 kB / 0.6708 GB, free: 15.81 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.333e-06/0.1314, allocations: 256 / 0.6708 GB, free: 15.81 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001343/0.1316, allocations: 23.97 kB / 0.6709 GB, free: 15.79 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.314e-06/0.1316, allocations: 0 / 0.6709 GB, free: 15.79 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.995e-06/0.1316, allocations: 4 kB / 0.6709 GB, free: 15.79 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.163e-06/0.1316, allocations: 0 / 0.6709 GB, free: 15.79 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.163e-06/0.1316, allocations: 0 / 0.6709 GB, free: 15.79 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004444/0.1321, allocations: 227.3 kB / 0.6711 GB, free: 15.55 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 3.026e-05/0.1321, allocations: 77.11 kB / 0.6712 GB, free: 15.45 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.395e-05/0.1321, allocations: 0 / 0.6712 GB, free: 15.45 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001342/0.1323, allocations: 19.97 kB / 0.6712 GB, free: 15.43 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.953e-05/0.1323, allocations: 0 / 0.6712 GB, free: 15.43 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.44e-05/0.1323, allocations: 8.016 kB / 0.6712 GB, free: 15.43 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 3.31e-05/0.1324, allocations: 87.28 kB / 0.6713 GB, free: 15.34 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.3e-07/0.1324, allocations: 0 / 0.6713 GB, free: 15.34 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0002224/0.1326, allocations: 8 kB / 0.6713 GB, free: 15.33 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.0001312/0.1327, allocations: 116.5 kB / 0.6714 GB, free: 15.21 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0004298/0.1332, allocations: 95.84 kB / 0.6715 GB, free: 15.11 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 1.884e-06/0.1332, allocations: 0 / 0.6715 GB, free: 15.11 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0001899/0.1334, allocations: 48.02 kB / 0.6715 GB, free: 15.07 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002568/0.1336, allocations: 21.72 kB / 0.6715 GB, free: 15.05 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004938/0.1341, allocations: 191 kB / 0.6717 GB, free: 14.83 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002091/0.1343, allocations: 0.6806 MB / 0.6724 GB, free: 14.12 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.084e-05/0.1344, allocations: 7.438 kB / 0.6724 GB, free: 14.11 MB / 0.5137 GB Notification: Performance of SimCode: time 2.61e-07/0.1344, allocations: 4 kB / 0.6724 GB, free: 14.11 MB / 0.5137 GB Notification: Performance of Templates: time 0.001983/0.1364, allocations: 0.8978 MB / 0.6733 GB, free: 13.22 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)