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/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.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") [:1:1-1:32:writable] Error: Class GC_set_max_heap_size not found in scope (looking for a function or record). Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009129/0.000913, allocations: 185.4 kB / 7.462 MB, free: 1.547 MB / 6.77 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.5876/0.5876, allocations: 133.5 MB / 141.4 MB, free: 4.863 MB / 114.8 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.098/1.098, allocations: 221.3 MB / 395 MB, free: 13.84 MB / 322.8 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000811/0.000811, allocations: 89.8 kB / 477.8 MB, free: 11.14 MB / 402.8 MB Notification: Performance of FrontEnd - loaded program: time 6.132e-06/6.152e-06, allocations: 4 kB / 0.5528 GB, free: 50.01 MB / 402.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2944/0.2944, allocations: 82.3 MB / 0.6332 GB, free: 5.645 MB / 434.8 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1247/0.4191, allocations: 111.7 MB / 0.7423 GB, free: 9.902 MB / 0.5183 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001811/0.4193, allocations: 75.95 kB / 0.7423 GB, free: 9.828 MB / 0.5183 GB Notification: Performance of FrontEnd: time 0.01109/0.4305, allocations: 3.526 MB / 0.7458 GB, free: 6.309 MB / 0.5183 GB Notification: Performance of Transformations before backend: time 6.282e-06/0.4305, allocations: 4 kB / 0.7458 GB, free: 6.305 MB / 0.5183 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.0003951/0.4309, allocations: 374.3 kB / 0.7461 GB, free: 5.895 MB / 0.5183 GB Notification: Performance of prepare preOptimizeDAE: time 3.521e-05/0.4309, allocations: 8.031 kB / 0.7462 GB, free: 5.887 MB / 0.5183 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003685/0.4313, allocations: 79.83 kB / 0.7462 GB, free: 5.809 MB / 0.5183 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001068/0.4314, allocations: 171.1 kB / 0.7464 GB, free: 5.602 MB / 0.5183 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.41e-05/0.4315, allocations: 3.906 kB / 0.7464 GB, free: 5.598 MB / 0.5183 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.542e-05/0.4315, allocations: 0 / 0.7464 GB, free: 5.598 MB / 0.5183 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 8.172e-05/0.4316, allocations: 23.94 kB / 0.7464 GB, free: 5.574 MB / 0.5183 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.064e-05/0.4317, allocations: 45.67 kB / 0.7465 GB, free: 5.523 MB / 0.5183 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.544e-06/0.4317, allocations: 0 / 0.7465 GB, free: 5.523 MB / 0.5183 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.129e-05/0.4317, allocations: 4 kB / 0.7465 GB, free: 5.52 MB / 0.5183 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.248e-06/0.4317, allocations: 0 / 0.7465 GB, free: 5.52 MB / 0.5183 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004055/0.4321, allocations: 273.3 kB / 0.7467 GB, free: 5.215 MB / 0.5183 GB Notification: Performance of preOpt comSubExp (simulation): time 7.874e-05/0.4322, allocations: 47.31 kB / 0.7468 GB, free: 5.16 MB / 0.5183 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.226e-05/0.4322, allocations: 20.86 kB / 0.7468 GB, free: 5.137 MB / 0.5183 GB Notification: Performance of preOpt evalFunc (simulation): time 1.173e-05/0.4323, allocations: 0 / 0.7468 GB, free: 5.137 MB / 0.5183 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.701e-05/0.4323, allocations: 30.56 kB / 0.7468 GB, free: 5.098 MB / 0.5183 GB Notification: Performance of pre-optimization done (n=2): time 8.32e-07/0.4323, allocations: 0 / 0.7468 GB, free: 5.098 MB / 0.5183 GB Notification: Performance of matching and sorting (n=2): time 0.0002812/0.4326, allocations: 73.64 kB / 0.7469 GB, free: 5.02 MB / 0.5183 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.487e-05/0.4326, allocations: 59.34 kB / 0.7469 GB, free: 4.949 MB / 0.5183 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.252e-05/0.4327, allocations: 93 kB / 0.747 GB, free: 4.852 MB / 0.5183 GB Notification: Performance of collectPreVariables (initialization): time 1.645e-05/0.4327, allocations: 29.64 kB / 0.7471 GB, free: 4.816 MB / 0.5183 GB Notification: Performance of collectInitialEqns (initialization): time 2.76e-05/0.4328, allocations: 84.14 kB / 0.7471 GB, free: 4.73 MB / 0.5183 GB Notification: Performance of collectInitialBindings (initialization): time 1.775e-05/0.4328, allocations: 7.906 kB / 0.7472 GB, free: 4.723 MB / 0.5183 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.971e-06/0.4328, allocations: 0 / 0.7472 GB, free: 4.723 MB / 0.5183 GB Notification: Performance of setup shared object (initialization): time 9.486e-05/0.4329, allocations: 314.8 kB / 0.7475 GB, free: 4.406 MB / 0.5183 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.943e-05/0.4329, allocations: 15.94 kB / 0.7475 GB, free: 4.391 MB / 0.5183 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.124e-05/0.433, allocations: 12 kB / 0.7475 GB, free: 4.379 MB / 0.5183 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001142/0.4331, allocations: 27.97 kB / 0.7475 GB, free: 4.352 MB / 0.5183 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.635e-06/0.4331, allocations: 0 / 0.7475 GB, free: 4.352 MB / 0.5183 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001844/0.4333, allocations: 77.59 kB / 0.7476 GB, free: 4.27 MB / 0.5183 GB Notification: Performance of prepare postOptimizeDAE: time 1.002e-05/0.4333, allocations: 8 kB / 0.7476 GB, free: 4.262 MB / 0.5183 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.058e-06/0.4333, allocations: 0 / 0.7476 GB, free: 4.262 MB / 0.5183 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.239e-05/0.4333, allocations: 96 / 0.7476 GB, free: 4.262 MB / 0.5183 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001749/0.4335, allocations: 35.88 kB / 0.7476 GB, free: 4.227 MB / 0.5183 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.506e-06/0.4335, allocations: 0 / 0.7476 GB, free: 4.227 MB / 0.5183 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001307/0.4337, allocations: 27.97 kB / 0.7476 GB, free: 4.199 MB / 0.5183 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.055e-06/0.4337, allocations: 4 kB / 0.7477 GB, free: 4.195 MB / 0.5183 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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 5.82e-05/0.4337, allocations: 107.7 kB / 0.7478 GB, free: 4.086 MB / 0.5183 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.695e-05/0.4338, allocations: 3.906 kB / 0.7478 GB, free: 4.082 MB / 0.5183 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.968e-05/0.4338, allocations: 7.312 kB / 0.7478 GB, free: 4.07 MB / 0.5183 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.182e-06/0.4338, allocations: 0 / 0.7478 GB, free: 4.07 MB / 0.5183 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.647e-06/0.4338, allocations: 0 / 0.7478 GB, free: 4.07 MB / 0.5183 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.044e-06/0.4338, allocations: 0 / 0.7478 GB, free: 4.07 MB / 0.5183 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001319/0.434, allocations: 150.2 kB / 0.7479 GB, free: 3.887 MB / 0.5183 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.51e-07/0.434, allocations: 0 / 0.7479 GB, free: 3.887 MB / 0.5183 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001555/0.4341, allocations: 31.97 kB / 0.7479 GB, free: 3.855 MB / 0.5183 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.443e-06/0.4341, allocations: 0 / 0.7479 GB, free: 3.855 MB / 0.5183 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.165e-05/0.4341, allocations: 4.156 kB / 0.7479 GB, free: 3.852 MB / 0.5183 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.076e-06/0.4342, allocations: 8 kB / 0.748 GB, free: 3.844 MB / 0.5183 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.623e-06/0.4342, allocations: 3.938 kB / 0.748 GB, free: 3.84 MB / 0.5183 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002194/0.4344, allocations: 167.5 kB / 0.7481 GB, free: 3.66 MB / 0.5183 GB Notification: Performance of postOpt removeConstants (simulation): time 2.762e-05/0.4344, allocations: 81.02 kB / 0.7482 GB, free: 3.562 MB / 0.5183 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.678e-05/0.4344, allocations: 4 kB / 0.7482 GB, free: 3.559 MB / 0.5183 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001582/0.4346, allocations: 28 kB / 0.7482 GB, free: 3.531 MB / 0.5183 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.143e-05/0.4346, allocations: 0 / 0.7482 GB, free: 3.531 MB / 0.5183 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.127e-06/0.4347, allocations: 7.984 kB / 0.7482 GB, free: 3.523 MB / 0.5183 GB Notification: Performance of sort global known variables: time 3.238e-05/0.4347, allocations: 79.28 kB / 0.7483 GB, free: 3.445 MB / 0.5183 GB Notification: Performance of remove unused functions: time 0.00021/0.4349, allocations: 12 kB / 0.7483 GB, free: 3.434 MB / 0.5183 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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001383/0.4351, allocations: 115.2 kB / 0.7484 GB, free: 3.309 MB / 0.5183 GB Notification: Performance of simCode: created initialization part: time 0.0001026/0.4352, allocations: 27.98 kB / 0.7485 GB, free: 3.281 MB / 0.5183 GB Notification: Performance of simCode: created event and clocks part: time 1.112e-06/0.4352, allocations: 11.88 kB / 0.7485 GB, free: 3.27 MB / 0.5183 GB Notification: Performance of simCode: created simulation system equations: time 4.157e-05/0.4352, allocations: 12 kB / 0.7485 GB, free: 3.258 MB / 0.5183 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001497/0.4354, allocations: 7.844 kB / 0.7485 GB, free: 3.25 MB / 0.5183 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003766/0.4358, allocations: 116 kB / 0.7486 GB, free: 3.113 MB / 0.5183 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002384/0.436, allocations: 0.6997 MB / 0.7493 GB, free: 2.387 MB / 0.5183 GB Notification: Performance of SimCode: time 2.4e-07/0.436, allocations: 0 / 0.7493 GB, free: 2.387 MB / 0.5183 GB Notification: Performance of Templates: time 0.002448/0.4385, allocations: 0.9397 MB / 0.7502 GB, free: 1.453 MB / 0.5183 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)