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.001098/0.001098, allocations: 107.3 kB / 16.41 MB, free: 6.406 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.001055/0.001055, allocations: 191.4 kB / 17.34 MB, free: 5.695 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.206/1.206, allocations: 222.9 MB / 241 MB, free: 15.08 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.002499/0.002499, allocations: 0.5565 MB / 291.8 MB, free: 14.17 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001187/0.001187, allocations: 59.91 kB / 403.1 MB, free: 32.14 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07804/0.07923, allocations: 49.59 MB / 452.7 MB, free: 14.51 MB / 334.1 MB Notification: Performance of NFInst.instantiate(ModelicaTestOverdetermined.InconsistentInitialization.Mechanical.TwoMassesEquationsFullInitialInconsistent): time 0.001538/0.08082, allocations: 0.5163 MB / 453.2 MB, free: 13.99 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0001528/0.081, allocations: 36.17 kB / 453.2 MB, free: 13.96 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.422e-05/0.08103, allocations: 0 / 453.2 MB, free: 13.96 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 1.263e-05/0.08105, allocations: 0 / 453.2 MB, free: 13.96 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 2.735e-05/0.08108, allocations: 7.875 kB / 453.3 MB, free: 13.95 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001105/0.0812, allocations: 7.984 kB / 453.3 MB, free: 13.94 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 5.278e-05/0.08126, allocations: 15.98 kB / 453.3 MB, free: 13.93 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.776e-05/0.08131, allocations: 7.984 kB / 453.3 MB, free: 13.92 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.008e-05/0.08134, allocations: 11.94 kB / 453.3 MB, free: 13.91 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.539e-05/0.0814, allocations: 3.984 kB / 453.3 MB, free: 13.9 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.6e-05/0.08142, allocations: 4 kB / 453.3 MB, free: 13.9 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.196e-06/0.08143, allocations: 3.938 kB / 453.3 MB, free: 13.89 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 1.553e-05/0.08145, allocations: 11.94 kB / 453.3 MB, free: 13.88 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 2.34e-05/0.08148, allocations: 15.92 kB / 453.3 MB, free: 13.87 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 5.16e-05/0.08154, allocations: 11.98 kB / 453.3 MB, free: 13.86 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.457e-06/0.08155, allocations: 0 / 453.3 MB, free: 13.86 MB / 334.1 MB Notification: Performance of FrontEnd: time 2.735e-06/0.08155, allocations: 0 / 453.3 MB, free: 13.86 MB / 334.1 MB Notification: Performance of Transformations before backend: time 4.739e-06/0.08156, allocations: 3.938 kB / 453.4 MB, free: 13.85 MB / 334.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.0003441/0.08191, allocations: 335.5 kB / 453.7 MB, free: 13.47 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.364e-05/0.08195, allocations: 15.89 kB / 453.7 MB, free: 13.45 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.01e-05/0.08198, allocations: 4.844 kB / 453.7 MB, free: 13.45 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.892e-05/0.08209, allocations: 168.4 kB / 453.9 MB, free: 13.25 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.859e-06/0.0821, allocations: 384 / 453.9 MB, free: 13.25 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.298e-05/0.08213, allocations: 8.375 kB / 453.9 MB, free: 13.24 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.578e-05/0.08223, allocations: 50.25 kB / 453.9 MB, free: 13.18 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.608e-06/0.08225, allocations: 192 / 453.9 MB, free: 13.18 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.117e-06/0.08226, allocations: 3.938 kB / 453.9 MB, free: 13.18 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.288e-06/0.08227, allocations: 0 / 453.9 MB, free: 13.18 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.025e-05/0.08231, allocations: 19.92 kB / 453.9 MB, free: 13.16 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002591/0.08258, allocations: 248.9 kB / 454.2 MB, free: 12.87 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 8.637e-05/0.08267, allocations: 50.62 kB / 454.2 MB, free: 12.81 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.157e-05/0.08271, allocations: 24.91 kB / 454.3 MB, free: 12.78 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.939e-06/0.08273, allocations: 4 kB / 454.3 MB, free: 12.78 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.944e-05/0.08275, allocations: 34.5 kB / 454.3 MB, free: 12.73 MB / 334.1 MB Notification: Performance of pre-optimization done (n=6): time 9.92e-07/0.08276, allocations: 0 / 454.3 MB, free: 12.73 MB / 334.1 MB Notification: Performance of matching and sorting (n=8): time 0.0006144/0.08338, allocations: 0.502 MB / 454.8 MB, free: 12.14 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.615e-05/0.08341, allocations: 55.41 kB / 454.9 MB, free: 12.07 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.914e-05/0.08348, allocations: 101.8 kB / 455 MB, free: 11.96 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.554e-05/0.0835, allocations: 29.7 kB / 455 MB, free: 11.93 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.808e-05/0.08353, allocations: 80.14 kB / 455.1 MB, free: 11.84 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.77e-05/0.08357, allocations: 27.62 kB / 455.1 MB, free: 11.82 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.467e-05/0.08361, allocations: 29.7 kB / 455.1 MB, free: 11.78 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 9.673e-05/0.08371, allocations: 314.8 kB / 455.4 MB, free: 11.46 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.949e-05/0.08374, allocations: 15.98 kB / 455.4 MB, free: 11.45 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.636e-05/0.08378, allocations: 33.66 kB / 455.5 MB, free: 11.41 MB / 334.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.0002976/0.08409, allocations: 248.5 kB / 455.7 MB, free: 11.12 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.876e-06/0.0841, allocations: 3.984 kB / 455.7 MB, free: 11.12 MB / 334.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001437/0.08425, allocations: 98.64 kB / 455.8 MB, free: 11.02 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.817e-05/0.08428, allocations: 11.98 kB / 455.8 MB, free: 11 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.921e-06/0.08429, allocations: 3.938 kB / 455.8 MB, free: 11 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.769e-05/0.08439, allocations: 20.8 kB / 455.9 MB, free: 10.98 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.725e-05/0.08446, allocations: 15.98 kB / 455.9 MB, free: 10.96 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008647/0.08533, allocations: 1.375 MB / 457.2 MB, free: 9.441 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.15e-05/0.08536, allocations: 4 kB / 457.2 MB, free: 9.438 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.931e-06/0.08537, allocations: 4.031 kB / 457.3 MB, free: 9.434 MB / 334.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 9.101e-05/0.08547, allocations: 132.8 kB / 457.4 MB, free: 9.297 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.456e-05/0.0855, allocations: 3.906 kB / 457.4 MB, free: 9.293 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.122e-05/0.08552, allocations: 7.969 kB / 457.4 MB, free: 9.285 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.785e-06/0.08553, allocations: 4 kB / 457.4 MB, free: 9.281 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.276e-06/0.08554, allocations: 0 / 457.4 MB, free: 9.281 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.749e-06/0.08555, allocations: 7.922 kB / 457.4 MB, free: 9.273 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003635/0.08591, allocations: 373.8 kB / 457.8 MB, free: 8.84 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.753e-06/0.08593, allocations: 0 / 457.8 MB, free: 8.84 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.405e-05/0.08598, allocations: 8 kB / 457.8 MB, free: 8.832 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.984e-05/0.08604, allocations: 20.78 kB / 457.8 MB, free: 8.809 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.105e-06/0.08606, allocations: 4 kB / 457.8 MB, free: 8.805 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007816/0.08684, allocations: 1.389 MB / 459.2 MB, free: 7.277 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.036e-06/0.08686, allocations: 4.031 kB / 459.2 MB, free: 7.273 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002046/0.08707, allocations: 230.8 kB / 459.4 MB, free: 7.02 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.459e-05/0.08711, allocations: 77.25 kB / 459.5 MB, free: 6.926 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.092e-05/0.08713, allocations: 4 kB / 459.5 MB, free: 6.922 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.719e-05/0.08719, allocations: 7.922 kB / 459.5 MB, free: 6.914 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.03e-05/0.08722, allocations: 16.05 kB / 459.5 MB, free: 6.898 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.779e-06/0.08723, allocations: 4 kB / 459.5 MB, free: 6.895 MB / 334.1 MB Notification: Performance of sorting global known variables: time 3.086e-05/0.08726, allocations: 75.28 kB / 459.6 MB, free: 6.82 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.08727, allocations: 0 / 459.6 MB, free: 6.82 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002306/0.0875, allocations: 16 kB / 459.6 MB, free: 6.805 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.43e-05/0.08758, allocations: 101.6 kB / 459.7 MB, free: 6.699 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.000273/0.08786, allocations: 174.6 kB / 459.9 MB, free: 6.516 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.225e-06/0.08787, allocations: 0 / 459.9 MB, free: 6.516 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001479/0.08803, allocations: 146.7 kB / 460 MB, free: 6.359 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002142/0.08825, allocations: 7.938 kB / 460 MB, free: 6.352 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002819/0.08854, allocations: 202.6 kB / 460.2 MB, free: 6.109 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000207/0.08876, allocations: 0.6885 MB / 460.9 MB, free: 5.395 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.946e-05/0.08878, allocations: 15.38 kB / 460.9 MB, free: 5.379 MB / 334.1 MB Notification: Performance of SimCode: time 2.1e-07/0.08879, allocations: 0 / 460.9 MB, free: 5.379 MB / 334.1 MB Notification: Performance of Templates: time 0.002317/0.09111, allocations: 0.9313 MB / 461.9 MB, free: 4.449 MB / 334.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)