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.007483/0.007482, allocations: 102.3 kB / 15.73 MB, free: 5.578 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.001748/0.001748, allocations: 192.9 kB / 16.67 MB, free: 5.52 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.299/1.299, allocations: 222.9 MB / 240.4 MB, free: 15.16 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.002566/0.002566, allocations: 0.5639 MB / 291.1 MB, free: 14.18 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001161/0.001161, allocations: 63.91 kB / 402.4 MB, free: 32.14 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07233/0.0735, allocations: 49.59 MB / 452 MB, free: 14.51 MB / 334.1 MB Notification: Performance of NFInst.instantiate(ModelicaTestOverdetermined.InconsistentInitialization.Mechanical.TwoMassesEquationsFullInitialInconsistent): time 0.001496/0.07503, allocations: 0.528 MB / 452.5 MB, free: 13.98 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0001479/0.0752, allocations: 28.17 kB / 452.6 MB, free: 13.96 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.2e-05/0.07523, allocations: 0 / 452.6 MB, free: 13.96 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 1.474e-05/0.07525, allocations: 0 / 452.6 MB, free: 13.96 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 2.601e-05/0.07529, allocations: 3.938 kB / 452.6 MB, free: 13.95 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000117/0.07542, allocations: 15.92 kB / 452.6 MB, free: 13.94 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 5.315e-05/0.07548, allocations: 19.97 kB / 452.6 MB, free: 13.92 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.695e-05/0.07553, allocations: 8 kB / 452.6 MB, free: 13.91 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.121e-05/0.07556, allocations: 7.938 kB / 452.6 MB, free: 13.9 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.287e-05/0.07562, allocations: 7.984 kB / 452.6 MB, free: 13.89 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.453e-05/0.07564, allocations: 4 kB / 452.6 MB, free: 13.89 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.063e-06/0.07565, allocations: 0 / 452.6 MB, free: 13.89 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 1.506e-05/0.07567, allocations: 3.938 kB / 452.6 MB, free: 13.89 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 2.749e-05/0.0757, allocations: 15.94 kB / 452.7 MB, free: 13.87 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 5.179e-05/0.07576, allocations: 11.97 kB / 452.7 MB, free: 13.86 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.015e-06/0.07577, allocations: 0 / 452.7 MB, free: 13.86 MB / 334.1 MB Notification: Performance of FrontEnd: time 3.085e-06/0.07578, allocations: 0 / 452.7 MB, free: 13.86 MB / 334.1 MB Notification: Performance of Transformations before backend: time 4.558e-06/0.07579, allocations: 3.938 kB / 452.7 MB, free: 13.86 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.0003729/0.07617, allocations: 343.5 kB / 453 MB, free: 13.46 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.537e-05/0.07621, allocations: 15.89 kB / 453 MB, free: 13.45 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.624e-05/0.07625, allocations: 4.844 kB / 453 MB, free: 13.45 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001011/0.07636, allocations: 168.3 kB / 453.2 MB, free: 13.24 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.895e-06/0.07637, allocations: 384 / 453.2 MB, free: 13.24 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.399e-05/0.0764, allocations: 4.375 kB / 453.2 MB, free: 13.24 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001037/0.07651, allocations: 50.25 kB / 453.2 MB, free: 13.18 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.035e-05/0.07652, allocations: 192 / 453.2 MB, free: 13.18 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.153e-05/0.07654, allocations: 7.922 kB / 453.2 MB, free: 13.18 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.208e-06/0.07655, allocations: 4 kB / 453.3 MB, free: 13.17 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.195e-05/0.0766, allocations: 15.98 kB / 453.3 MB, free: 13.16 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002883/0.07689, allocations: 245 kB / 453.5 MB, free: 12.87 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.291e-05/0.077, allocations: 54.5 kB / 453.6 MB, free: 12.8 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.5e-05/0.07704, allocations: 28.91 kB / 453.6 MB, free: 12.77 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.097e-06/0.07705, allocations: 4 kB / 453.6 MB, free: 12.77 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.251e-05/0.07708, allocations: 30.56 kB / 453.6 MB, free: 12.73 MB / 334.1 MB Notification: Performance of pre-optimization done (n=6): time 1.052e-06/0.07709, allocations: 0 / 453.6 MB, free: 12.73 MB / 334.1 MB Notification: Performance of matching and sorting (n=8): time 0.0006849/0.07778, allocations: 0.498 MB / 454.1 MB, free: 12.14 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.916e-05/0.07782, allocations: 55.41 kB / 454.2 MB, free: 12.07 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.752e-05/0.0779, allocations: 105.8 kB / 454.3 MB, free: 11.96 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.33e-05/0.07792, allocations: 25.7 kB / 454.3 MB, free: 11.93 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.274e-05/0.07795, allocations: 84.14 kB / 454.4 MB, free: 11.84 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.878e-05/0.078, allocations: 23.62 kB / 454.4 MB, free: 11.82 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.805e-05/0.07804, allocations: 25.7 kB / 454.4 MB, free: 11.79 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 9.609e-05/0.07814, allocations: 318.8 kB / 454.7 MB, free: 11.46 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.16e-05/0.07818, allocations: 19.92 kB / 454.8 MB, free: 11.45 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.447e-05/0.07823, allocations: 37.64 kB / 454.8 MB, free: 11.4 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.0003357/0.07857, allocations: 243.9 kB / 455 MB, free: 11.12 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.42e-07/0.07858, allocations: 0 / 455 MB, free: 11.12 MB / 334.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.000169/0.07876, allocations: 98.38 kB / 455.1 MB, free: 11.02 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.641e-05/0.07878, allocations: 8 kB / 455.1 MB, free: 11.01 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.119e-06/0.07879, allocations: 3.938 kB / 455.1 MB, free: 11 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001091/0.07891, allocations: 28.72 kB / 455.2 MB, free: 10.97 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.557e-05/0.07899, allocations: 16.88 kB / 455.2 MB, free: 10.96 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009773/0.07997, allocations: 1.383 MB / 456.6 MB, free: 9.43 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.26e-05/0.08, allocations: 0 / 456.6 MB, free: 9.43 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.065e-06/0.08002, allocations: 8.031 kB / 456.6 MB, free: 9.422 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 8.766e-05/0.08011, allocations: 118.4 kB / 456.7 MB, free: 9.297 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.683e-05/0.08014, allocations: 3.906 kB / 456.7 MB, free: 9.293 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.046e-05/0.08017, allocations: 7.969 kB / 456.7 MB, free: 9.285 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.821e-06/0.08018, allocations: 12.05 kB / 456.7 MB, free: 9.273 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.144e-06/0.08019, allocations: 0 / 456.7 MB, free: 9.273 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.885e-06/0.0802, allocations: 0 / 456.7 MB, free: 9.273 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004098/0.08061, allocations: 369.8 kB / 457.1 MB, free: 8.844 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.205e-06/0.08062, allocations: 0 / 457.1 MB, free: 8.844 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.981e-05/0.08068, allocations: 8 kB / 457.1 MB, free: 8.836 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.502e-05/0.08076, allocations: 32.81 kB / 457.1 MB, free: 8.801 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.836e-06/0.08078, allocations: 4 kB / 457.1 MB, free: 8.797 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000901/0.08169, allocations: 1.389 MB / 458.5 MB, free: 7.27 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.035e-06/0.0817, allocations: 4.031 kB / 458.5 MB, free: 7.266 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002213/0.08193, allocations: 222.8 kB / 458.7 MB, free: 7.02 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.264e-05/0.08197, allocations: 77.23 kB / 458.8 MB, free: 6.926 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.273e-05/0.08199, allocations: 12 kB / 458.8 MB, free: 6.914 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.259e-05/0.08206, allocations: 8 kB / 458.8 MB, free: 6.906 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.482e-05/0.08209, allocations: 7.984 kB / 458.8 MB, free: 6.898 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.893e-06/0.0821, allocations: 8 kB / 458.8 MB, free: 6.891 MB / 334.1 MB Notification: Performance of sorting global known variables: time 3.644e-05/0.08214, allocations: 75.28 kB / 458.9 MB, free: 6.816 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.08215, allocations: 0 / 458.9 MB, free: 6.816 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.000255/0.08241, allocations: 16 kB / 458.9 MB, free: 6.801 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.95e-05/0.08249, allocations: 105.4 kB / 459 MB, free: 6.691 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0002659/0.08277, allocations: 158.6 kB / 459.2 MB, free: 6.523 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.064e-06/0.08278, allocations: 0 / 459.2 MB, free: 6.523 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001755/0.08296, allocations: 150.5 kB / 459.3 MB, free: 6.363 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002337/0.08321, allocations: 12.03 kB / 459.4 MB, free: 6.352 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002791/0.08349, allocations: 176.9 kB / 459.5 MB, free: 6.141 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002299/0.08373, allocations: 0.6885 MB / 460.2 MB, free: 5.426 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 1.976e-05/0.08376, allocations: 11.92 kB / 460.2 MB, free: 5.414 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.873e-05/0.08378, allocations: 7.438 kB / 460.2 MB, free: 5.406 MB / 334.1 MB Notification: Performance of SimCode: time 2.2e-07/0.08379, allocations: 0 / 460.2 MB, free: 5.406 MB / 334.1 MB Notification: Performance of Templates: time 0.002711/0.0865, allocations: 0.699 MB / 460.9 MB, free: 4.758 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)