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.001503/0.001503, allocations: 106.9 kB / 16.37 MB, free: 6.477 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.001692/0.001692, allocations: 193.8 kB / 17.31 MB, free: 5.824 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: 222.9 MB / 241 MB, free: 15.18 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7858/0.7858, allocations: 135.1 MB / 426.3 MB, free: 4.113 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001167/0.001167, allocations: 63.91 kB / 0.5068 GB, free: 7.648 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3443/0.3455, allocations: 80.91 MB / 0.5858 GB, free: 25.51 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.InverseXRegularized): time 0.00264/0.3481, allocations: 1.424 MB / 0.5872 GB, free: 24.41 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.001031/0.3492, allocations: 0.7947 MB / 0.5879 GB, free: 23.78 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.702e-05/0.3493, allocations: 0 / 0.5879 GB, free: 23.78 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 2.63e-05/0.3493, allocations: 3.984 kB / 0.5879 GB, free: 23.77 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 3.842e-05/0.3494, allocations: 9.156 kB / 0.588 GB, free: 23.77 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003818/0.3497, allocations: 131.6 kB / 0.5881 GB, free: 23.68 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 6.556e-05/0.3498, allocations: 38.39 kB / 0.5881 GB, free: 23.65 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.694e-05/0.3499, allocations: 3.812 kB / 0.5881 GB, free: 23.65 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.88e-05/0.35, allocations: 15.02 kB / 0.5881 GB, free: 23.64 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.028e-05/0.35, allocations: 23.28 kB / 0.5882 GB, free: 23.63 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.294e-05/0.35, allocations: 4 kB / 0.5882 GB, free: 23.63 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003677/0.3504, allocations: 313.1 kB / 0.5885 GB, free: 23.45 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 1.348e-05/0.3504, allocations: 8.734 kB / 0.5885 GB, free: 23.44 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 2.684e-05/0.3505, allocations: 15.14 kB / 0.5885 GB, free: 23.43 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002746/0.3508, allocations: 197.3 kB / 0.5887 GB, free: 23.32 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.177e-06/0.3508, allocations: 0 / 0.5887 GB, free: 23.32 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.393e-06/0.3508, allocations: 1.438 kB / 0.5887 GB, free: 23.32 MB / 446.1 MB Notification: Performance of Transformations before backend: time 4.809e-06/0.3508, allocations: 0.9688 kB / 0.5887 GB, free: 23.32 MB / 446.1 MB 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.0004373/0.3512, allocations: 374.1 kB / 0.589 GB, free: 22.94 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.852e-05/0.3513, allocations: 10.95 kB / 0.589 GB, free: 22.94 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004316/0.3517, allocations: 67.41 kB / 0.5891 GB, free: 22.91 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.362e-05/0.3518, allocations: 166.7 kB / 0.5893 GB, free: 22.71 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.429e-05/0.3518, allocations: 5.469 kB / 0.5893 GB, free: 22.71 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.349e-05/0.3518, allocations: 1.5 kB / 0.5893 GB, free: 22.71 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002689/0.3521, allocations: 93.55 kB / 0.5894 GB, free: 22.64 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.536e-06/0.3521, allocations: 0 / 0.5894 GB, free: 22.64 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.189e-05/0.3521, allocations: 5.188 kB / 0.5894 GB, free: 22.64 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.049e-06/0.3522, allocations: 1.125 kB / 0.5894 GB, free: 22.64 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003609/0.3525, allocations: 94.08 kB / 0.5895 GB, free: 22.6 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004292/0.353, allocations: 292.9 kB / 0.5897 GB, free: 22.3 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000324/0.3533, allocations: 101.7 kB / 0.5898 GB, free: 22.22 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001703/0.3535, allocations: 56.88 kB / 0.5899 GB, free: 22.17 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.503e-05/0.3535, allocations: 0 / 0.5899 GB, free: 22.17 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.472e-05/0.3535, allocations: 34.56 kB / 0.5899 GB, free: 22.12 MB / 446.1 MB Notification: Performance of pre-optimization done (n=2): time 7.52e-07/0.3535, allocations: 0 / 0.5899 GB, free: 22.12 MB / 446.1 MB Notification: Performance of matching and sorting (n=2): time 0.0006105/0.3541, allocations: 169 kB / 0.5901 GB, free: 21.96 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.88e-05/0.3542, allocations: 55.34 kB / 0.5901 GB, free: 21.89 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.844e-05/0.3542, allocations: 101.9 kB / 0.5902 GB, free: 21.79 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 9.077e-06/0.3542, allocations: 25.7 kB / 0.5902 GB, free: 21.75 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.402e-05/0.3543, allocations: 89.88 kB / 0.5903 GB, free: 21.66 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.427e-05/0.3543, allocations: 0 / 0.5903 GB, free: 21.66 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.308e-05/0.3543, allocations: 17.72 kB / 0.5904 GB, free: 21.64 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 3.469e-05/0.3544, allocations: 310.8 kB / 0.5906 GB, free: 21.33 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001734/0.3545, allocations: 50.22 kB / 0.5907 GB, free: 21.28 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001597/0.3547, allocations: 46.55 kB / 0.5907 GB, free: 21.24 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003081/0.355, allocations: 93.14 kB / 0.5908 GB, free: 21.15 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.713e-06/0.355, allocations: 5.5 kB / 0.5908 GB, free: 21.14 MB / 446.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0003527/0.3554, allocations: 120.7 kB / 0.591 GB, free: 21.02 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.208e-05/0.3554, allocations: 7.984 kB / 0.591 GB, free: 21.02 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.27e-06/0.3554, allocations: 9.125 kB / 0.591 GB, free: 21.01 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.193e-05/0.3554, allocations: 0 / 0.591 GB, free: 21.01 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000138/0.3556, allocations: 21.5 kB / 0.591 GB, free: 20.99 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.949e-06/0.3556, allocations: 0 / 0.591 GB, free: 20.99 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.785e-05/0.3557, allocations: 17.11 kB / 0.591 GB, free: 20.97 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.284e-06/0.3557, allocations: 0.5312 kB / 0.591 GB, free: 20.97 MB / 446.1 MB 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 4.829e-05/0.3558, allocations: 117 kB / 0.5911 GB, free: 20.85 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.619e-05/0.3558, allocations: 7.984 kB / 0.5911 GB, free: 20.84 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.486e-05/0.3558, allocations: 3.125 kB / 0.5911 GB, free: 20.84 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.003e-06/0.3558, allocations: 0 / 0.5911 GB, free: 20.84 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.336e-06/0.3558, allocations: 3.938 kB / 0.5911 GB, free: 20.84 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.984e-06/0.3558, allocations: 1.094 kB / 0.5911 GB, free: 20.84 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001154/0.356, allocations: 177.5 kB / 0.5913 GB, free: 20.62 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.252e-06/0.356, allocations: 4 kB / 0.5913 GB, free: 20.61 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001191/0.3561, allocations: 17.92 kB / 0.5913 GB, free: 20.6 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.164e-06/0.3561, allocations: 3.984 kB / 0.5913 GB, free: 20.59 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.197e-06/0.3561, allocations: 0 / 0.5913 GB, free: 20.59 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.092e-06/0.3561, allocations: 2.156 kB / 0.5913 GB, free: 20.59 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.593e-06/0.3561, allocations: 4 kB / 0.5913 GB, free: 20.59 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000387/0.3565, allocations: 219.6 kB / 0.5915 GB, free: 20.36 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.695e-05/0.3566, allocations: 85.02 kB / 0.5916 GB, free: 20.26 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.597e-05/0.3566, allocations: 2.562 kB / 0.5916 GB, free: 20.26 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001281/0.3567, allocations: 15.98 kB / 0.5916 GB, free: 20.25 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.905e-05/0.3568, allocations: 7.984 kB / 0.5916 GB, free: 20.24 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.853e-06/0.3568, allocations: 4.719 kB / 0.5917 GB, free: 20.23 MB / 446.1 MB Notification: Performance of sorting global known variables: time 2.117e-05/0.3568, allocations: 79.28 kB / 0.5917 GB, free: 20.16 MB / 446.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3568, allocations: 1.625 kB / 0.5917 GB, free: 20.16 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002267/0.357, allocations: 15.98 kB / 0.5917 GB, free: 20.14 MB / 446.1 MB 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.0001296/0.3572, allocations: 108.2 kB / 0.5918 GB, free: 20.03 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0003849/0.3576, allocations: 99.8 kB / 0.5919 GB, free: 19.93 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.774e-06/0.3576, allocations: 0 / 0.5919 GB, free: 19.93 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000174/0.3577, allocations: 50.98 kB / 0.592 GB, free: 19.89 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002744/0.358, allocations: 14.28 kB / 0.592 GB, free: 19.88 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004461/0.3585, allocations: 154.7 kB / 0.5922 GB, free: 19.7 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.504e-05/0.3586, allocations: 0.6768 MB / 0.5928 GB, free: 19 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 5.831e-05/0.3586, allocations: 8.906 kB / 0.5928 GB, free: 19 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.965e-05/0.3587, allocations: 12.69 kB / 0.5928 GB, free: 18.98 MB / 446.1 MB Notification: Performance of SimCode: time 2.3e-07/0.3587, allocations: 0 / 0.5928 GB, free: 18.98 MB / 446.1 MB Notification: Performance of Templates: time 0.002423/0.3611, allocations: 0.811 MB / 0.5936 GB, free: 18.19 MB / 446.1 MB 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 -s cvode -lv LOG_STATS > IDEAS_dev_IDEAS.Utilities.Math.Examples.InverseXRegularized.pipe 2>&1)