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.001332/0.001332, allocations: 104.8 kB / 16.37 MB, free: 6.457 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.001195/0.001195, allocations: 195.8 kB / 17.31 MB, free: 5.812 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.341/1.341, allocations: 222.9 MB / 241 MB, free: 15.18 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTestOverdetermined 4.0.0+maint.om/package.mo): time 0.004384/0.004384, allocations: 0.556 MB / 291.7 MB, free: 14.2 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00151/0.00151, allocations: 63.89 kB / 353 MB, free: 0.8984 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2455/0.247, allocations: 49.6 MB / 402.6 MB, free: 35.87 MB / 302.1 MB Notification: Performance of NFInst.instantiate(ModelicaTestOverdetermined.InconsistentInitialization.Mechanical.TwoMassesEquationsFullInitialInconsistent): time 0.002795/0.2499, allocations: 0.5298 MB / 403.1 MB, free: 35.36 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002261/0.2501, allocations: 27.89 kB / 403.1 MB, free: 35.34 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.806e-05/0.2502, allocations: 0 / 403.1 MB, free: 35.34 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 1.489e-05/0.2503, allocations: 0 / 403.1 MB, free: 35.34 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 4.279e-05/0.2503, allocations: 3.938 kB / 403.2 MB, free: 35.33 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001593/0.2505, allocations: 11.36 kB / 403.2 MB, free: 35.32 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 8.111e-05/0.2506, allocations: 19.92 kB / 403.2 MB, free: 35.3 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.45e-05/0.2507, allocations: 3.984 kB / 403.2 MB, free: 35.3 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.724e-05/0.2507, allocations: 8 kB / 403.2 MB, free: 35.29 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.246e-05/0.2508, allocations: 11.92 kB / 403.2 MB, free: 35.28 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 1.72e-05/0.2508, allocations: 0 / 403.2 MB, free: 35.28 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.212e-05/0.2509, allocations: 4 kB / 403.2 MB, free: 35.28 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 2.002e-05/0.2509, allocations: 4 kB / 403.2 MB, free: 35.27 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 3.088e-05/0.2509, allocations: 15.86 kB / 403.2 MB, free: 35.26 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 6.484e-05/0.251, allocations: 19.92 kB / 403.2 MB, free: 35.24 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.809e-06/0.251, allocations: 0 / 403.2 MB, free: 35.24 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.054e-06/0.251, allocations: 0 / 403.2 MB, free: 35.24 MB / 302.1 MB Notification: Performance of Transformations before backend: time 5.931e-06/0.2511, allocations: 3.938 kB / 403.3 MB, free: 35.23 MB / 302.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.0004245/0.2515, allocations: 335.5 kB / 403.6 MB, free: 34.86 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.247e-05/0.2516, allocations: 11.89 kB / 403.6 MB, free: 34.84 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.063e-05/0.2516, allocations: 4.938 kB / 403.6 MB, free: 34.84 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.423e-05/0.2517, allocations: 162.2 kB / 403.8 MB, free: 34.64 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.506e-05/0.2517, allocations: 4.375 kB / 403.8 MB, free: 34.64 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.269e-05/0.2518, allocations: 8.375 kB / 403.8 MB, free: 34.63 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001277/0.2519, allocations: 46.25 kB / 403.8 MB, free: 34.58 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.456e-05/0.252, allocations: 192 / 403.8 MB, free: 34.58 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.207e-05/0.252, allocations: 3.938 kB / 403.8 MB, free: 34.58 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.993e-06/0.252, allocations: 3.984 kB / 403.8 MB, free: 34.57 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.976e-05/0.2521, allocations: 15.94 kB / 403.8 MB, free: 34.56 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003279/0.2524, allocations: 252.6 kB / 404.1 MB, free: 34.27 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001441/0.2526, allocations: 54.62 kB / 404.1 MB, free: 34.2 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.368e-05/0.2527, allocations: 24.91 kB / 404.2 MB, free: 34.18 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.577e-05/0.2527, allocations: 4 kB / 404.2 MB, free: 34.17 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.378e-05/0.2527, allocations: 38.44 kB / 404.2 MB, free: 34.12 MB / 302.1 MB Notification: Performance of pre-optimization done (n=6): time 2.244e-06/0.2527, allocations: 0 / 404.2 MB, free: 34.12 MB / 302.1 MB Notification: Performance of matching and sorting (n=8): time 0.0009274/0.2537, allocations: 0.4947 MB / 404.7 MB, free: 33.54 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.514e-05/0.2537, allocations: 51.41 kB / 404.7 MB, free: 33.47 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.102e-05/0.2538, allocations: 101.8 kB / 404.8 MB, free: 33.36 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.348e-05/0.2538, allocations: 29.7 kB / 404.9 MB, free: 33.33 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.479e-05/0.2539, allocations: 80.14 kB / 405 MB, free: 33.25 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.991e-05/0.2539, allocations: 27.56 kB / 405 MB, free: 33.22 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.022e-05/0.254, allocations: 25.7 kB / 405 MB, free: 33.19 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 5.564e-05/0.2541, allocations: 322.8 kB / 405.3 MB, free: 32.86 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.194e-05/0.2541, allocations: 15.98 kB / 405.3 MB, free: 32.85 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.905e-05/0.2542, allocations: 33.7 kB / 405.4 MB, free: 32.81 MB / 302.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.0004677/0.2547, allocations: 252.2 kB / 405.6 MB, free: 32.52 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.104e-06/0.2547, allocations: 0 / 405.6 MB, free: 32.52 MB / 302.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002423/0.255, allocations: 102.4 kB / 405.7 MB, free: 32.41 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.728e-05/0.255, allocations: 4 kB / 405.7 MB, free: 32.41 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.921e-06/0.255, allocations: 0 / 405.7 MB, free: 32.41 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001557/0.2552, allocations: 28.78 kB / 405.7 MB, free: 32.38 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.717e-05/0.2553, allocations: 8 kB / 405.8 MB, free: 32.37 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009215/0.2563, allocations: 1.387 MB / 407.1 MB, free: 30.83 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.002e-05/0.2563, allocations: 0 / 407.1 MB, free: 30.83 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.314e-06/0.2563, allocations: 4.125 kB / 407.1 MB, free: 30.83 MB / 302.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 7.405e-05/0.2564, allocations: 121.8 kB / 407.3 MB, free: 30.7 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.687e-05/0.2564, allocations: 4 kB / 407.3 MB, free: 30.7 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.365e-05/0.2565, allocations: 7.969 kB / 407.3 MB, free: 30.68 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.134e-06/0.2565, allocations: 192 / 407.3 MB, free: 30.68 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.078e-06/0.2565, allocations: 7.984 kB / 407.3 MB, free: 30.68 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.487e-06/0.2565, allocations: 4.234 kB / 407.3 MB, free: 30.67 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003893/0.2569, allocations: 381.7 kB / 407.7 MB, free: 30.23 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.356e-06/0.2569, allocations: 4 kB / 407.7 MB, free: 30.23 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.676e-05/0.257, allocations: 4 kB / 407.7 MB, free: 30.22 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.552e-05/0.257, allocations: 24.78 kB / 407.7 MB, free: 30.2 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.055e-05/0.2571, allocations: 11.94 kB / 407.7 MB, free: 30.18 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005971/0.2577, allocations: 1.375 MB / 409.1 MB, free: 28.67 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.493e-06/0.2577, allocations: 0 / 409.1 MB, free: 28.67 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001662/0.2578, allocations: 230.8 kB / 409.3 MB, free: 28.42 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.827e-05/0.2579, allocations: 81.14 kB / 409.4 MB, free: 28.32 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.138e-06/0.2579, allocations: 0 / 409.4 MB, free: 28.32 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.037e-05/0.258, allocations: 7.938 kB / 409.4 MB, free: 28.31 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.639e-05/0.258, allocations: 11.98 kB / 409.4 MB, free: 28.3 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.458e-06/0.258, allocations: 0 / 409.4 MB, free: 28.3 MB / 302.1 MB Notification: Performance of sorting global known variables: time 2.229e-05/0.258, allocations: 91.47 kB / 409.5 MB, free: 28.21 MB / 302.1 MB Notification: Performance of sort global known variables: time 9e-08/0.258, allocations: 0 / 409.5 MB, free: 28.21 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002467/0.2583, allocations: 12 kB / 409.5 MB, free: 28.2 MB / 302.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.365e-05/0.2584, allocations: 103.1 kB / 409.6 MB, free: 28.09 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0002523/0.2586, allocations: 170.5 kB / 409.8 MB, free: 27.91 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.765e-06/0.2586, allocations: 0 / 409.8 MB, free: 27.91 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001352/0.2588, allocations: 142.8 kB / 409.9 MB, free: 27.76 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002292/0.259, allocations: 12.75 kB / 409.9 MB, free: 27.75 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002781/0.2593, allocations: 177 kB / 410.1 MB, free: 27.54 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001365/0.2595, allocations: 0.6851 MB / 410.8 MB, free: 26.83 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 2.067e-05/0.2595, allocations: 8.047 kB / 410.8 MB, free: 26.82 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.857e-05/0.2595, allocations: 11.44 kB / 410.8 MB, free: 26.81 MB / 302.1 MB Notification: Performance of SimCode: time 3e-07/0.2595, allocations: 0 / 410.8 MB, free: 26.81 MB / 302.1 MB Notification: Performance of Templates: time 0.002672/0.2622, allocations: 0.6867 MB / 411.5 MB, free: 26.18 MB / 302.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 -s cvode -lv LOG_STATS > ModelicaTestOverdetermined_ModelicaTestOverdetermined.InconsistentInitialization.Mechanical.TwoMassesEquationsFullInitialInconsistent.pipe 2>&1)