Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_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/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/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_IDEAS.Utilities.Math.Examples.InverseXRegularized") translateModel(IDEAS.Utilities.Math.Examples.InverseXRegularized,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_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.001515/0.001515, allocations: 189.2 kB / 7.458 MB, free: 1.543 MB / 6.77 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7352/0.7352, allocations: 130.6 MB / 138.5 MB, free: 7.598 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.431/1.431, allocations: 221.3 MB / 391.4 MB, free: 1.082 MB / 306.8 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009681/0.0009681, allocations: 103.7 kB / 473.4 MB, free: 15.17 MB / 402.8 MB Notification: Performance of FrontEnd - loaded program: time 8.066e-06/8.086e-06, allocations: 7.938 kB / 0.5479 GB, free: 53.27 MB / 402.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1847/0.1847, allocations: 81.59 MB / 0.6276 GB, free: 3.641 MB / 434.8 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5237/0.7084, allocations: 111.4 MB / 0.7364 GB, free: 10.38 MB / 0.5027 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002502/0.7087, allocations: 75.95 kB / 0.7365 GB, free: 10.3 MB / 0.5027 GB Notification: Performance of FrontEnd: time 0.01197/0.7207, allocations: 3.521 MB / 0.7399 GB, free: 6.789 MB / 0.5027 GB Notification: Performance of Transformations before backend: time 7.925e-06/0.7208, allocations: 0 / 0.7399 GB, free: 6.789 MB / 0.5027 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.0004444/0.7212, allocations: 382.2 kB / 0.7403 GB, free: 6.371 MB / 0.5027 GB Notification: Performance of prepare preOptimizeDAE: time 3.905e-05/0.7213, allocations: 11.97 kB / 0.7403 GB, free: 6.359 MB / 0.5027 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003873/0.7217, allocations: 75.83 kB / 0.7404 GB, free: 6.285 MB / 0.5027 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001382/0.7218, allocations: 175.1 kB / 0.7405 GB, free: 6.074 MB / 0.5027 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.213e-05/0.7219, allocations: 3.906 kB / 0.7405 GB, free: 6.07 MB / 0.5027 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.357e-05/0.7219, allocations: 0 / 0.7405 GB, free: 6.07 MB / 0.5027 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 9.122e-05/0.722, allocations: 23.98 kB / 0.7405 GB, free: 6.047 MB / 0.5027 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001039/0.7221, allocations: 49.67 kB / 0.7406 GB, free: 5.992 MB / 0.5027 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.923e-06/0.7221, allocations: 4 kB / 0.7406 GB, free: 5.988 MB / 0.5027 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.236e-05/0.7221, allocations: 3.984 kB / 0.7406 GB, free: 5.984 MB / 0.5027 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.977e-06/0.7221, allocations: 0 / 0.7406 GB, free: 5.984 MB / 0.5027 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004577/0.7226, allocations: 277.3 kB / 0.7409 GB, free: 5.676 MB / 0.5027 GB Notification: Performance of preOpt comSubExp (simulation): time 8.428e-05/0.7227, allocations: 38.58 kB / 0.7409 GB, free: 5.629 MB / 0.5027 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.096e-05/0.7227, allocations: 20.91 kB / 0.7409 GB, free: 5.605 MB / 0.5027 GB Notification: Performance of preOpt evalFunc (simulation): time 1.456e-05/0.7228, allocations: 0 / 0.7409 GB, free: 5.605 MB / 0.5027 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.327e-05/0.7228, allocations: 30.56 kB / 0.741 GB, free: 5.566 MB / 0.5027 GB Notification: Performance of pre-optimization done (n=2): time 1.002e-06/0.7228, allocations: 0 / 0.741 GB, free: 5.566 MB / 0.5027 GB Notification: Performance of matching and sorting (n=2): time 0.0003102/0.7231, allocations: 73.66 kB / 0.741 GB, free: 5.488 MB / 0.5027 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.327e-05/0.7232, allocations: 59.25 kB / 0.7411 GB, free: 5.418 MB / 0.5027 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.023e-05/0.7232, allocations: 97 kB / 0.7412 GB, free: 5.316 MB / 0.5027 GB Notification: Performance of collectPreVariables (initialization): time 2.914e-05/0.7233, allocations: 25.7 kB / 0.7412 GB, free: 5.285 MB / 0.5027 GB Notification: Performance of collectInitialEqns (initialization): time 3.451e-05/0.7233, allocations: 80.14 kB / 0.7413 GB, free: 5.203 MB / 0.5027 GB Notification: Performance of collectInitialBindings (initialization): time 1.954e-05/0.7233, allocations: 7.906 kB / 0.7413 GB, free: 5.195 MB / 0.5027 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.262e-06/0.7234, allocations: 0 / 0.7413 GB, free: 5.195 MB / 0.5027 GB Notification: Performance of setup shared object (initialization): time 0.0001111/0.7235, allocations: 315.8 kB / 0.7416 GB, free: 4.879 MB / 0.5027 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.969e-05/0.7235, allocations: 16.03 kB / 0.7416 GB, free: 4.863 MB / 0.5027 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.644e-05/0.7235, allocations: 12 kB / 0.7416 GB, free: 4.852 MB / 0.5027 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001188/0.7237, allocations: 23.97 kB / 0.7416 GB, free: 4.828 MB / 0.5027 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.644e-06/0.7237, allocations: 0 / 0.7416 GB, free: 4.828 MB / 0.5027 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002116/0.7239, allocations: 77.66 kB / 0.7417 GB, free: 4.746 MB / 0.5027 GB Notification: Performance of prepare postOptimizeDAE: time 1.162e-05/0.7239, allocations: 8.094 kB / 0.7417 GB, free: 4.738 MB / 0.5027 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.01e-06/0.7239, allocations: 0 / 0.7417 GB, free: 4.738 MB / 0.5027 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.279e-05/0.7239, allocations: 0 / 0.7417 GB, free: 4.738 MB / 0.5027 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001919/0.7241, allocations: 35.88 kB / 0.7417 GB, free: 4.703 MB / 0.5027 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.288e-06/0.7242, allocations: 7.875 kB / 0.7418 GB, free: 4.695 MB / 0.5027 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001307/0.7243, allocations: 27.97 kB / 0.7418 GB, free: 4.668 MB / 0.5027 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.847e-06/0.7243, allocations: 4 kB / 0.7418 GB, free: 4.664 MB / 0.5027 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 8.03e-05/0.7244, allocations: 104.9 kB / 0.7419 GB, free: 4.555 MB / 0.5027 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.051e-05/0.7244, allocations: 7.906 kB / 0.7419 GB, free: 4.547 MB / 0.5027 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.327e-05/0.7245, allocations: 3.312 kB / 0.7419 GB, free: 4.543 MB / 0.5027 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.894e-06/0.7245, allocations: 0 / 0.7419 GB, free: 4.543 MB / 0.5027 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.119e-06/0.7245, allocations: 0 / 0.7419 GB, free: 4.543 MB / 0.5027 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.005e-06/0.7245, allocations: 0 / 0.7419 GB, free: 4.543 MB / 0.5027 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001532/0.7246, allocations: 150.2 kB / 0.742 GB, free: 4.359 MB / 0.5027 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.72e-07/0.7246, allocations: 0 / 0.742 GB, free: 4.359 MB / 0.5027 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001602/0.7248, allocations: 31.97 kB / 0.7421 GB, free: 4.328 MB / 0.5027 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.844e-06/0.7248, allocations: 0 / 0.7421 GB, free: 4.328 MB / 0.5027 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.42e-05/0.7248, allocations: 7.906 kB / 0.7421 GB, free: 4.32 MB / 0.5027 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.052e-06/0.7249, allocations: 4.25 kB / 0.7421 GB, free: 4.316 MB / 0.5027 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.734e-06/0.7249, allocations: 0 / 0.7421 GB, free: 4.316 MB / 0.5027 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.000243/0.7251, allocations: 167.5 kB / 0.7422 GB, free: 4.137 MB / 0.5027 GB Notification: Performance of postOpt removeConstants (simulation): time 5.391e-05/0.7252, allocations: 85.02 kB / 0.7423 GB, free: 4.035 MB / 0.5027 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.022e-05/0.7252, allocations: 0 / 0.7423 GB, free: 4.035 MB / 0.5027 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001651/0.7254, allocations: 28 kB / 0.7423 GB, free: 4.008 MB / 0.5027 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.342e-05/0.7254, allocations: 4 kB / 0.7424 GB, free: 4.004 MB / 0.5027 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.983e-06/0.7254, allocations: 0 / 0.7424 GB, free: 4.004 MB / 0.5027 GB Notification: Performance of sort global known variables: time 3.684e-05/0.7255, allocations: 91.2 kB / 0.7424 GB, free: 3.914 MB / 0.5027 GB Notification: Performance of remove unused functions: time 0.0002332/0.7257, allocations: 16 kB / 0.7425 GB, free: 3.898 MB / 0.5027 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.0002001/0.7259, allocations: 107.2 kB / 0.7426 GB, free: 3.781 MB / 0.5027 GB Notification: Performance of simCode: created initialization part: time 0.0001166/0.726, allocations: 31.98 kB / 0.7426 GB, free: 3.75 MB / 0.5027 GB Notification: Performance of simCode: created event and clocks part: time 1.763e-06/0.7261, allocations: 0 / 0.7426 GB, free: 3.75 MB / 0.5027 GB Notification: Performance of simCode: created simulation system equations: time 3.867e-05/0.7261, allocations: 12 kB / 0.7426 GB, free: 3.738 MB / 0.5027 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001966/0.7263, allocations: 3.906 kB / 0.7426 GB, free: 3.734 MB / 0.5027 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004381/0.7267, allocations: 119.9 kB / 0.7427 GB, free: 3.594 MB / 0.5027 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003614/0.7271, allocations: 0.6919 MB / 0.7434 GB, free: 2.875 MB / 0.5027 GB Notification: Performance of SimCode: time 1.563e-06/0.7271, allocations: 0 / 0.7434 GB, free: 2.875 MB / 0.5027 GB Notification: Performance of Templates: time 0.003024/0.7302, allocations: 0.9438 MB / 0.7443 GB, free: 1.934 MB / 0.5027 GB make -j1 -f IDEAS_IDEAS.Utilities.Math.Examples.InverseXRegularized.makefile (rm -f IDEAS_IDEAS.Utilities.Math.Examples.InverseXRegularized.pipe ; mkfifo IDEAS_IDEAS.Utilities.Math.Examples.InverseXRegularized.pipe ; head -c 1048576 < IDEAS_IDEAS.Utilities.Math.Examples.InverseXRegularized.pipe >> ../files/IDEAS_IDEAS.Utilities.Math.Examples.InverseXRegularized.sim & ./IDEAS_IDEAS.Utilities.Math.Examples.InverseXRegularized -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Utilities.Math.Examples.InverseXRegularized.pipe 2>&1)