Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesEquationsFullInitial.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/ModelicaTestOverdetermined 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTestOverdetermined with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTestOverdetermined 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 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(ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesEquationsFullInitial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesEquationsFullInitial") translateModel(ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesEquationsFullInitial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesEquationsFullInitial") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.005522/0.005522, allocations: 95.38 kB / 15.73 MB, free: 6.043 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.001156/0.001156, allocations: 193.2 kB / 16.67 MB, free: 5.969 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.36/1.36, allocations: 222.9 MB / 240.4 MB, free: 4.309 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTestOverdetermined 4.0.0+maint.om/package.mo): time 0.002936/0.002936, allocations: 0.5585 MB / 291.1 MB, free: 1.609 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001224/0.001224, allocations: 68.11 kB / 402.4 MB, free: 9.324 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08836/0.0896, allocations: 49.6 MB / 452 MB, free: 5.305 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesEquationsFullInitial): time 0.001584/0.09123, allocations: 0.5107 MB / 452.5 MB, free: 4.797 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.000172/0.09141, allocations: 30.95 kB / 452.6 MB, free: 4.77 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.473e-05/0.09145, allocations: 0 / 452.6 MB, free: 4.77 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 1.668e-05/0.09148, allocations: 7.938 kB / 452.6 MB, free: 4.762 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 3.394e-05/0.09152, allocations: 4 kB / 452.6 MB, free: 4.758 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001197/0.09164, allocations: 3.984 kB / 452.6 MB, free: 4.754 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 5.78e-05/0.09171, allocations: 19.92 kB / 452.6 MB, free: 4.734 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.48e-05/0.09177, allocations: 7.938 kB / 452.6 MB, free: 4.727 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.14e-05/0.0918, allocations: 15.92 kB / 452.6 MB, free: 4.711 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.749e-05/0.09186, allocations: 7.922 kB / 452.6 MB, free: 4.703 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 1.636e-05/0.09188, allocations: 4 kB / 452.6 MB, free: 4.699 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.336e-06/0.09189, allocations: 0 / 452.6 MB, free: 4.699 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 1.785e-05/0.09192, allocations: 4 kB / 452.6 MB, free: 4.695 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 2.663e-05/0.09195, allocations: 11.94 kB / 452.6 MB, free: 4.684 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 5.88e-05/0.09201, allocations: 19.91 kB / 452.7 MB, free: 4.664 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.936e-06/0.09202, allocations: 0 / 452.7 MB, free: 4.664 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.863e-06/0.09203, allocations: 0 / 452.7 MB, free: 4.664 MB / 318.1 MB Notification: Performance of Transformations before backend: time 5.791e-06/0.09204, allocations: 3.984 kB / 452.7 MB, free: 4.66 MB / 318.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0003756/0.09242, allocations: 333.7 kB / 453 MB, free: 4.285 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.591e-05/0.09246, allocations: 15.89 kB / 453 MB, free: 4.27 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.353e-05/0.0925, allocations: 8.828 kB / 453 MB, free: 4.262 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001254/0.09263, allocations: 168.3 kB / 453.2 MB, free: 4.059 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.067e-05/0.09265, allocations: 4.375 kB / 453.2 MB, free: 4.055 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.363e-05/0.09268, allocations: 8.375 kB / 453.2 MB, free: 4.047 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001021/0.09278, allocations: 50.17 kB / 453.2 MB, free: 3.992 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.478e-06/0.0928, allocations: 192 / 453.2 MB, free: 3.992 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.538e-06/0.09281, allocations: 3.938 kB / 453.2 MB, free: 3.988 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.258e-06/0.09282, allocations: 0 / 453.2 MB, free: 3.988 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.714e-05/0.09286, allocations: 12 kB / 453.3 MB, free: 3.977 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002579/0.09313, allocations: 244.9 kB / 453.5 MB, free: 3.688 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.849e-05/0.09323, allocations: 58.56 kB / 453.5 MB, free: 3.621 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.681e-05/0.09328, allocations: 32.91 kB / 453.6 MB, free: 3.586 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.037e-05/0.09329, allocations: 0 / 453.6 MB, free: 3.586 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.205e-05/0.09332, allocations: 30.56 kB / 453.6 MB, free: 3.547 MB / 318.1 MB Notification: Performance of pre-optimization done (n=6): time 9.32e-07/0.09333, allocations: 0 / 453.6 MB, free: 3.547 MB / 318.1 MB Notification: Performance of matching and sorting (n=8): time 0.0006886/0.09402, allocations: 0.4982 MB / 454.1 MB, free: 2.953 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.11e-05/0.09406, allocations: 59.34 kB / 454.2 MB, free: 2.883 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.622e-05/0.09413, allocations: 97.84 kB / 454.3 MB, free: 2.777 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.837e-05/0.09416, allocations: 29.7 kB / 454.3 MB, free: 2.742 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.324e-05/0.09423, allocations: 80.14 kB / 454.4 MB, free: 2.66 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.025e-05/0.09426, allocations: 27.75 kB / 454.4 MB, free: 2.633 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.207e-05/0.09431, allocations: 33.7 kB / 454.4 MB, free: 2.594 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001082/0.09442, allocations: 314.8 kB / 454.7 MB, free: 2.277 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.975e-05/0.09446, allocations: 15.98 kB / 454.8 MB, free: 2.262 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.828e-05/0.09454, allocations: 33.7 kB / 454.8 MB, free: 2.223 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002923/0.09484, allocations: 240 kB / 455 MB, free: 1.945 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.61e-07/0.09485, allocations: 0 / 455 MB, free: 1.945 MB / 318.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001544/0.09501, allocations: 103.3 kB / 455.1 MB, free: 1.836 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.434e-05/0.09504, allocations: 4 kB / 455.1 MB, free: 1.832 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.342e-06/0.09505, allocations: 4.219 kB / 455.1 MB, free: 1.828 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000111/0.09516, allocations: 25.03 kB / 455.2 MB, free: 1.801 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.392e-05/0.09524, allocations: 11.98 kB / 455.2 MB, free: 1.789 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001015/0.09626, allocations: 1.394 MB / 456.6 MB, free: 256 kB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.434e-05/0.0963, allocations: 4 kB / 456.6 MB, free: 252 kB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.685e-06/0.09631, allocations: 4.031 kB / 456.6 MB, free: 248 kB / 318.1 MB Warning: The initial conditions are over specified. The following 2 initial equations are redundant, so they are removed from the initialization system: x1 = 0.0 v1 = 0.0. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (8): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.000155/0.09647, allocations: 122.4 kB / 456.7 MB, free: 116 kB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.122e-05/0.09651, allocations: 4.094 kB / 456.7 MB, free: 112 kB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.009e-05/0.09653, allocations: 11.91 kB / 456.7 MB, free: 100 kB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.403e-06/0.09654, allocations: 0 / 456.7 MB, free: 100 kB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.246e-06/0.09655, allocations: 4 kB / 456.7 MB, free: 96 kB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.917e-06/0.09656, allocations: 3.984 kB / 456.7 MB, free: 92 kB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004039/0.09697, allocations: 373.8 kB / 457.1 MB, free: 15.66 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.186e-06/0.09698, allocations: 4 kB / 457.1 MB, free: 15.65 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.51e-05/0.09703, allocations: 4 kB / 457.1 MB, free: 15.65 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.1e-05/0.09711, allocations: 24.78 kB / 457.1 MB, free: 15.62 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.716e-06/0.09713, allocations: 4 kB / 457.1 MB, free: 15.62 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00097/0.0981, allocations: 1.387 MB / 458.5 MB, free: 14.09 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.826e-06/0.09812, allocations: 0 / 458.5 MB, free: 14.09 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002136/0.09834, allocations: 238.9 kB / 458.7 MB, free: 13.83 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.511e-05/0.09838, allocations: 85.14 kB / 458.8 MB, free: 13.73 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.335e-06/0.09839, allocations: 0 / 458.8 MB, free: 13.73 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.023e-05/0.09846, allocations: 7.938 kB / 458.8 MB, free: 13.72 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.17e-05/0.09849, allocations: 15.92 kB / 458.8 MB, free: 13.7 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.918e-06/0.0985, allocations: 0 / 458.8 MB, free: 13.7 MB / 334.1 MB Notification: Performance of sorting global known variables: time 3.085e-05/0.09853, allocations: 83.34 kB / 458.9 MB, free: 13.62 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.09854, allocations: 0 / 458.9 MB, free: 13.62 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002401/0.09878, allocations: 12 kB / 458.9 MB, free: 13.61 MB / 334.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 2 (x2,v2) * 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 (6): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 7.144e-05/0.09886, allocations: 95.25 kB / 459 MB, free: 13.51 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0002684/0.09913, allocations: 166.6 kB / 459.2 MB, free: 13.33 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.314e-06/0.09915, allocations: 0 / 459.2 MB, free: 13.33 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001704/0.09932, allocations: 154.6 kB / 459.3 MB, free: 13.17 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002187/0.09955, allocations: 0 / 459.3 MB, free: 13.17 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003046/0.09986, allocations: 176.4 kB / 459.5 MB, free: 12.96 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002345/0.1001, allocations: 0.6846 MB / 460.2 MB, free: 12.25 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 1.687e-05/0.1001, allocations: 4.125 kB / 460.2 MB, free: 12.24 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.12e-05/0.1002, allocations: 11.44 kB / 460.2 MB, free: 12.23 MB / 334.1 MB Notification: Performance of SimCode: time 4.3e-07/0.1002, allocations: 0 / 460.2 MB, free: 12.23 MB / 334.1 MB Notification: Performance of Templates: time 0.002644/0.1028, allocations: 0.6904 MB / 460.9 MB, free: 11.59 MB / 334.1 MB make -j1 -f ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesEquationsFullInitial.makefile (rm -f ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesEquationsFullInitial.pipe ; mkfifo ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesEquationsFullInitial.pipe ; head -c 1048576 < ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesEquationsFullInitial.pipe >> ../files/ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesEquationsFullInitial.sim & ./ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesEquationsFullInitial -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesEquationsFullInitial.pipe 2>&1)