Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTestOverdetermined_ModelicaTestOverdetermined.InconsistentInitialization.Mechanical.TwoMassesEquationsFullInitialInconsistent.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.InconsistentInitialization.Mechanical.TwoMassesEquationsFullInitialInconsistent,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTestOverdetermined_ModelicaTestOverdetermined.InconsistentInitialization.Mechanical.TwoMassesEquationsFullInitialInconsistent") translateModel(ModelicaTestOverdetermined.InconsistentInitialization.Mechanical.TwoMassesEquationsFullInitialInconsistent,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTestOverdetermined_ModelicaTestOverdetermined.InconsistentInitialization.Mechanical.TwoMassesEquationsFullInitialInconsistent") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001157/0.001157, allocations: 97.56 kB / 15.36 MB, free: 0.7344 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.00992/0.00992, allocations: 170.5 kB / 16.27 MB, free: 6.652 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.522/1.522, allocations: 223.3 MB / 240.3 MB, free: 5.352 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.003381/0.003381, allocations: 0.5582 MB / 292 MB, free: 1.59 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003221/0.0003221, allocations: 8 kB / 353.3 MB, free: 2.516 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3714/0.3717, allocations: 50.57 MB / 403.9 MB, free: 9.977 MB / 286.1 MB Notification: Performance of NFInst.instantiate(ModelicaTestOverdetermined.InconsistentInitialization.Mechanical.TwoMassesEquationsFullInitialInconsistent): time 0.0007704/0.3725, allocations: 255.6 kB / 404.1 MB, free: 9.973 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.000161/0.3727, allocations: 26.97 kB / 404.1 MB, free: 9.969 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.452e-05/0.3727, allocations: 0 / 404.1 MB, free: 9.969 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 1.622e-05/0.3728, allocations: 3.75 kB / 404.1 MB, free: 9.969 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 2.743e-05/0.3728, allocations: 3.938 kB / 404.1 MB, free: 9.965 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001451/0.3729, allocations: 12.09 kB / 404.2 MB, free: 9.965 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 7.065e-05/0.373, allocations: 15.09 kB / 404.2 MB, free: 9.965 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.117e-05/0.3731, allocations: 1.953 kB / 404.2 MB, free: 9.965 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.006e-05/0.3731, allocations: 10.48 kB / 404.2 MB, free: 9.965 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.112e-05/0.3732, allocations: 12.75 kB / 404.2 MB, free: 9.965 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 2.453e-05/0.3732, allocations: 1.5 kB / 404.2 MB, free: 9.965 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.034e-05/0.3732, allocations: 2.125 kB / 404.2 MB, free: 9.965 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 2.375e-05/0.3733, allocations: 7.047 kB / 404.2 MB, free: 9.965 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 4.883e-05/0.3733, allocations: 35.53 kB / 404.2 MB, free: 9.93 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 6.148e-05/0.3734, allocations: 18.8 kB / 404.3 MB, free: 9.922 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.277e-06/0.3734, allocations: 0.6875 kB / 404.3 MB, free: 9.922 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.513e-06/0.3734, allocations: 0 / 404.3 MB, free: 9.922 MB / 286.1 MB Notification: Performance of Transformations before backend: time 3.256e-06/0.3734, allocations: 1.25 kB / 404.3 MB, free: 9.922 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.0003293/0.3738, allocations: 328.7 kB / 404.6 MB, free: 9.574 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.902e-05/0.3738, allocations: 8.5 kB / 404.6 MB, free: 9.574 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.293e-05/0.3739, allocations: 6.969 kB / 404.6 MB, free: 9.57 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.328e-05/0.3739, allocations: 168.6 kB / 404.8 MB, free: 9.371 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.194e-05/0.374, allocations: 3.781 kB / 404.8 MB, free: 9.371 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.718e-05/0.374, allocations: 10.94 kB / 404.8 MB, free: 9.367 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001237/0.3741, allocations: 42.33 kB / 404.8 MB, free: 9.336 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.362e-05/0.3741, allocations: 0.9375 kB / 404.8 MB, free: 9.336 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.102e-05/0.3742, allocations: 4.969 kB / 404.8 MB, free: 9.332 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.56e-06/0.3742, allocations: 0.5938 kB / 404.8 MB, free: 9.332 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.616e-05/0.3742, allocations: 14.2 kB / 404.8 MB, free: 9.332 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003126/0.3745, allocations: 253.9 kB / 405.1 MB, free: 9.062 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001155/0.3747, allocations: 54.58 kB / 405.1 MB, free: 9.035 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.515e-05/0.3747, allocations: 23.12 kB / 405.2 MB, free: 9.023 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.227e-05/0.3747, allocations: 1.031 kB / 405.2 MB, free: 9.023 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.117e-05/0.3748, allocations: 32.08 kB / 405.2 MB, free: 8.984 MB / 286.1 MB Notification: Performance of pre-optimization done (n=6): time 1.112e-06/0.3748, allocations: 0 / 405.2 MB, free: 8.984 MB / 286.1 MB Notification: Performance of matching and sorting (n=8): time 0.0007897/0.3756, allocations: 0.5001 MB / 405.7 MB, free: 8.539 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.727e-05/0.3756, allocations: 52.56 kB / 405.7 MB, free: 8.477 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.606e-05/0.3757, allocations: 103.5 kB / 405.8 MB, free: 8.375 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 9.839e-06/0.3757, allocations: 29.64 kB / 405.9 MB, free: 8.34 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.533e-05/0.3757, allocations: 85.44 kB / 406 MB, free: 8.258 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.361e-05/0.3757, allocations: 29.03 kB / 406 MB, free: 8.238 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.614e-05/0.3758, allocations: 21.03 kB / 406 MB, free: 8.219 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 5.973e-05/0.3758, allocations: 324.2 kB / 406.3 MB, free: 7.898 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.657e-05/0.3759, allocations: 14.62 kB / 406.3 MB, free: 7.898 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.404e-05/0.3759, allocations: 29.41 kB / 406.4 MB, free: 7.883 MB / 286.1 MB Error: The initialization problem is inconsistent due to the following equation: x1 = 0.0 (1.0 = 0.0) Notification: Performance of analyzeInitialSystem (initialization): time 0.0003625/0.3763, allocations: 249.5 kB / 406.6 MB, free: 7.676 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.385e-06/0.3763, allocations: 0.5938 kB / 406.6 MB, free: 7.676 MB / 286.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001666/0.3765, allocations: 103 kB / 406.7 MB, free: 7.625 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.993e-05/0.3765, allocations: 10.53 kB / 406.7 MB, free: 7.621 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.702e-06/0.3765, allocations: 2.062 kB / 406.7 MB, free: 7.621 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000132/0.3767, allocations: 25.95 kB / 406.7 MB, free: 7.609 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.215e-05/0.3768, allocations: 15.91 kB / 406.8 MB, free: 7.605 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007868/0.3776, allocations: 1.285 MB / 408 MB, free: 6.332 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.972e-05/0.3776, allocations: 1.188 kB / 408 MB, free: 6.332 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.985e-06/0.3776, allocations: 5.25 kB / 408.1 MB, free: 6.332 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 7.833e-05/0.3777, allocations: 114.8 kB / 408.2 MB, free: 6.219 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.537e-05/0.3777, allocations: 13.19 kB / 408.2 MB, free: 6.207 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.213e-05/0.3777, allocations: 9.141 kB / 408.2 MB, free: 6.195 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.036e-06/0.3777, allocations: 2.172 kB / 408.2 MB, free: 6.195 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.958e-06/0.3778, allocations: 0 / 408.2 MB, free: 6.195 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.348e-06/0.3778, allocations: 2 kB / 408.2 MB, free: 6.195 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003972/0.3782, allocations: 364.1 kB / 408.5 MB, free: 5.859 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.148e-06/0.3782, allocations: 5.188 kB / 408.6 MB, free: 5.855 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.4e-05/0.3782, allocations: 8.906 kB / 408.6 MB, free: 5.855 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.024e-05/0.3783, allocations: 26.38 kB / 408.6 MB, free: 5.844 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.458e-06/0.3783, allocations: 2.406 kB / 408.6 MB, free: 5.844 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006797/0.379, allocations: 1.299 MB / 409.9 MB, free: 4.57 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.367e-06/0.379, allocations: 1.891 kB / 409.9 MB, free: 4.57 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002297/0.3793, allocations: 231 kB / 410.1 MB, free: 4.395 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.321e-05/0.3793, allocations: 81 kB / 410.2 MB, free: 4.301 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.062e-05/0.3793, allocations: 3.609 kB / 410.2 MB, free: 4.301 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.308e-05/0.3794, allocations: 6 kB / 410.2 MB, free: 4.297 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.22e-05/0.3794, allocations: 9.984 kB / 410.2 MB, free: 4.297 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.454e-06/0.3794, allocations: 3.547 kB / 410.2 MB, free: 4.297 MB / 286.1 MB Notification: Performance of sorting global known variables: time 2.639e-05/0.3795, allocations: 84.47 kB / 410.3 MB, free: 4.219 MB / 286.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3795, allocations: 0 / 410.3 MB, free: 4.219 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0002527/0.3797, allocations: 15.91 kB / 410.3 MB, free: 4.215 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 8.216e-05/0.3798, allocations: 101.4 kB / 410.4 MB, free: 4.121 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.0002847/0.3801, allocations: 164.4 kB / 410.6 MB, free: 4.008 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 8.156e-06/0.3801, allocations: 0 / 410.6 MB, free: 4.008 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001628/0.3803, allocations: 148.2 kB / 410.7 MB, free: 3.891 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002211/0.3805, allocations: 10.89 kB / 410.7 MB, free: 3.887 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003098/0.3808, allocations: 187.1 kB / 410.9 MB, free: 3.727 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001358/0.381, allocations: 0.6839 MB / 411.6 MB, free: 3.031 MB / 286.1 MB Notification: Performance of simCode: alias equations: time 2.112e-05/0.381, allocations: 11.17 kB / 411.6 MB, free: 3.023 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.991e-05/0.381, allocations: 10.03 kB / 411.6 MB, free: 3.02 MB / 286.1 MB Notification: Performance of SimCode: time 2.3e-07/0.381, allocations: 0 / 411.6 MB, free: 3.02 MB / 286.1 MB Notification: Performance of Templates: time 0.003498/0.3845, allocations: 0.6508 MB / 412.3 MB, free: 2.988 MB / 286.1 MB make -j1 -f ModelicaTestOverdetermined_ModelicaTestOverdetermined.InconsistentInitialization.Mechanical.TwoMassesEquationsFullInitialInconsistent.makefile (rm -f ModelicaTestOverdetermined_ModelicaTestOverdetermined.InconsistentInitialization.Mechanical.TwoMassesEquationsFullInitialInconsistent.pipe ; mkfifo ModelicaTestOverdetermined_ModelicaTestOverdetermined.InconsistentInitialization.Mechanical.TwoMassesEquationsFullInitialInconsistent.pipe ; head -c 1048576 < ModelicaTestOverdetermined_ModelicaTestOverdetermined.InconsistentInitialization.Mechanical.TwoMassesEquationsFullInitialInconsistent.pipe >> ../files/ModelicaTestOverdetermined_ModelicaTestOverdetermined.InconsistentInitialization.Mechanical.TwoMassesEquationsFullInitialInconsistent.sim & ./ModelicaTestOverdetermined_ModelicaTestOverdetermined.InconsistentInitialization.Mechanical.TwoMassesEquationsFullInitialInconsistent -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTestOverdetermined_ModelicaTestOverdetermined.InconsistentInitialization.Mechanical.TwoMassesEquationsFullInitialInconsistent.pipe 2>&1)