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.001067/0.001067, allocations: 98.88 kB / 16.02 MB, free: 76 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001575/0.001575, allocations: 182.9 kB / 16.92 MB, free: 6.672 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.531/1.531, allocations: 223.3 MB / 241 MB, free: 5.344 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.002919/0.002919, allocations: 0.5544 MB / 292.6 MB, free: 1.586 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003643/0.0003644, allocations: 8 kB / 353.9 MB, free: 2.504 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.304/0.3044, allocations: 50.57 MB / 404.5 MB, free: 10.03 MB / 286.1 MB Notification: Performance of NFInst.instantiate(ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesEquationsFullInitial): time 0.0006074/0.3051, allocations: 244.8 kB / 404.8 MB, free: 10.03 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.0001414/0.3052, allocations: 27.83 kB / 404.8 MB, free: 10.02 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.067e-05/0.3052, allocations: 0.6875 kB / 404.8 MB, free: 10.02 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 1.485e-05/0.3053, allocations: 3.656 kB / 404.8 MB, free: 10.02 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 2.59e-05/0.3053, allocations: 4.812 kB / 404.8 MB, free: 10.02 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001146/0.3054, allocations: 6.516 kB / 404.8 MB, free: 10.02 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 5.267e-05/0.3055, allocations: 18.8 kB / 404.8 MB, free: 10.02 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.64e-05/0.3055, allocations: 1.922 kB / 404.8 MB, free: 10.02 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.218e-05/0.3056, allocations: 10.73 kB / 404.8 MB, free: 10.02 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.303e-05/0.3056, allocations: 12.7 kB / 404.8 MB, free: 10.01 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 1.454e-05/0.3056, allocations: 1.469 kB / 404.8 MB, free: 10.01 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.957e-06/0.3057, allocations: 1.406 kB / 404.8 MB, free: 10.01 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 1.966e-05/0.3057, allocations: 11.69 kB / 404.9 MB, free: 10.01 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 3.162e-05/0.3057, allocations: 34.75 kB / 404.9 MB, free: 9.973 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 4.175e-05/0.3058, allocations: 7.047 kB / 404.9 MB, free: 9.973 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.359e-06/0.3058, allocations: 0.6094 kB / 404.9 MB, free: 9.973 MB / 286.1 MB Notification: Performance of FrontEnd: time 2.044e-06/0.3058, allocations: 0 / 404.9 MB, free: 9.973 MB / 286.1 MB Notification: Performance of Transformations before backend: time 3.908e-06/0.3058, allocations: 1.094 kB / 404.9 MB, free: 9.973 MB / 286.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.0002852/0.3061, allocations: 325.5 kB / 405.2 MB, free: 9.621 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.296e-05/0.3061, allocations: 9.547 kB / 405.2 MB, free: 9.621 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.077e-05/0.3062, allocations: 7.469 kB / 405.2 MB, free: 9.617 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.174e-05/0.3063, allocations: 175.1 kB / 405.4 MB, free: 9.41 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.303e-05/0.3063, allocations: 5.203 kB / 405.4 MB, free: 9.41 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.521e-05/0.3063, allocations: 3.594 kB / 405.4 MB, free: 9.41 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.804e-05/0.3064, allocations: 46.33 kB / 405.5 MB, free: 9.379 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.047e-06/0.3064, allocations: 2.531 kB / 405.5 MB, free: 9.379 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.01e-05/0.3064, allocations: 5.578 kB / 405.5 MB, free: 9.375 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.853e-06/0.3065, allocations: 0.875 kB / 405.5 MB, free: 9.375 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.08e-05/0.3065, allocations: 13.69 kB / 405.5 MB, free: 9.375 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002287/0.3067, allocations: 257.6 kB / 405.7 MB, free: 9.098 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001082/0.3068, allocations: 50.81 kB / 405.8 MB, free: 9.074 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.091e-05/0.3069, allocations: 26.41 kB / 405.8 MB, free: 9.062 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.528e-06/0.3069, allocations: 4.844 kB / 405.8 MB, free: 9.059 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.453e-05/0.3069, allocations: 31.89 kB / 405.8 MB, free: 9.02 MB / 286.1 MB Notification: Performance of pre-optimization done (n=6): time 1.122e-06/0.3069, allocations: 0 / 405.8 MB, free: 9.02 MB / 286.1 MB Notification: Performance of matching and sorting (n=8): time 0.0006384/0.3076, allocations: 0.4999 MB / 406.3 MB, free: 8.574 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.047e-05/0.3076, allocations: 53.09 kB / 406.4 MB, free: 8.512 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.636e-05/0.3077, allocations: 96.47 kB / 406.5 MB, free: 8.414 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 9.758e-06/0.3077, allocations: 30.16 kB / 406.5 MB, free: 8.383 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.169e-05/0.3077, allocations: 80.92 kB / 406.6 MB, free: 8.301 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.414e-05/0.3077, allocations: 36.16 kB / 406.6 MB, free: 8.277 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.322e-05/0.3078, allocations: 19.73 kB / 406.7 MB, free: 8.258 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 4.787e-05/0.3078, allocations: 317.9 kB / 407 MB, free: 7.941 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.239e-05/0.3079, allocations: 16.59 kB / 407 MB, free: 7.941 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.243e-05/0.3079, allocations: 31.17 kB / 407 MB, free: 7.926 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002545/0.3082, allocations: 242.8 kB / 407.2 MB, free: 7.719 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.583e-06/0.3082, allocations: 4.562 kB / 407.3 MB, free: 7.715 MB / 286.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001577/0.3084, allocations: 101.3 kB / 407.3 MB, free: 7.668 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.404e-05/0.3084, allocations: 10.38 kB / 407.4 MB, free: 7.664 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.819e-06/0.3084, allocations: 0.5625 kB / 407.4 MB, free: 7.664 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001137/0.3085, allocations: 25.69 kB / 407.4 MB, free: 7.652 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.772e-05/0.3086, allocations: 10.73 kB / 407.4 MB, free: 7.652 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007479/0.3093, allocations: 1.286 MB / 408.7 MB, free: 6.383 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.104e-05/0.3094, allocations: 2 kB / 408.7 MB, free: 6.383 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.204e-06/0.3094, allocations: 2.531 kB / 408.7 MB, free: 6.383 MB / 286.1 MB Warning: The initial conditions are over specified. The following 2 initial equations are redundant, so they are removed from the initialization sytem: 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.0001192/0.3095, allocations: 118.9 kB / 408.8 MB, free: 6.266 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.549e-05/0.3095, allocations: 9.938 kB / 408.8 MB, free: 6.258 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.033e-05/0.3096, allocations: 9.922 kB / 408.8 MB, free: 6.246 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.635e-06/0.3096, allocations: 1.969 kB / 408.8 MB, free: 6.246 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.285e-06/0.3096, allocations: 3.938 kB / 408.8 MB, free: 6.242 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.467e-06/0.3096, allocations: 2.016 kB / 408.8 MB, free: 6.242 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004013/0.31, allocations: 368.9 kB / 409.2 MB, free: 5.902 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.527e-06/0.31, allocations: 1.281 kB / 409.2 MB, free: 5.902 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.261e-05/0.3101, allocations: 8.938 kB / 409.2 MB, free: 5.902 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.04e-05/0.3101, allocations: 26.09 kB / 409.2 MB, free: 5.891 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.847e-06/0.3102, allocations: 7.391 kB / 409.2 MB, free: 5.887 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006534/0.3108, allocations: 1.297 MB / 410.5 MB, free: 4.617 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.302e-06/0.3108, allocations: 1.156 kB / 410.5 MB, free: 4.617 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002171/0.3111, allocations: 230.7 kB / 410.8 MB, free: 4.441 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.222e-05/0.3111, allocations: 81.3 kB / 410.8 MB, free: 4.348 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.084e-05/0.3111, allocations: 3.953 kB / 410.8 MB, free: 4.348 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.561e-05/0.3112, allocations: 2.594 kB / 410.8 MB, free: 4.348 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.435e-05/0.3112, allocations: 8.172 kB / 410.8 MB, free: 4.348 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.322e-06/0.3112, allocations: 4.062 kB / 410.9 MB, free: 4.348 MB / 286.1 MB Notification: Performance of sorting global known variables: time 2.366e-05/0.3112, allocations: 79.78 kB / 410.9 MB, free: 4.273 MB / 286.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3112, allocations: 0 / 410.9 MB, free: 4.273 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0002453/0.3115, allocations: 21.22 kB / 411 MB, free: 4.266 MB / 286.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.643e-05/0.3116, allocations: 94 kB / 411 MB, free: 4.18 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.0002813/0.3119, allocations: 166 kB / 411.2 MB, free: 4.062 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 2.816e-06/0.3119, allocations: 0 / 411.2 MB, free: 4.062 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001478/0.312, allocations: 149.2 kB / 411.4 MB, free: 3.945 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002245/0.3123, allocations: 11.36 kB / 411.4 MB, free: 3.941 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002967/0.3126, allocations: 210.3 kB / 411.6 MB, free: 3.75 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001292/0.3127, allocations: 0.6896 MB / 412.3 MB, free: 3.051 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.124e-05/0.3127, allocations: 17.41 kB / 412.3 MB, free: 3.039 MB / 286.1 MB Notification: Performance of SimCode: time 2.91e-07/0.3127, allocations: 0.8438 kB / 412.3 MB, free: 3.039 MB / 286.1 MB Notification: Performance of Templates: time 0.002789/0.3155, allocations: 0.925 MB / 413.2 MB, free: 3 MB / 286.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)