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.001358/0.001358, allocations: 110.7 kB / 16.42 MB, free: 6.512 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.001441/0.001441, allocations: 189.5 kB / 17.35 MB, free: 5.738 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.355/1.355, allocations: 222.9 MB / 241 MB, free: 15.14 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.002723/0.002723, allocations: 0.5609 MB / 291.8 MB, free: 14.16 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001192/0.001192, allocations: 67.89 kB / 403.1 MB, free: 32.12 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09926/0.1005, allocations: 49.59 MB / 452.7 MB, free: 14.49 MB / 334.1 MB Notification: Performance of NFInst.instantiate(ModelicaTestOverdetermined.InconsistentInitialization.Mechanical.TwoMassesEquationsFullInitialInconsistent): time 0.002087/0.1026, allocations: 0.5315 MB / 453.2 MB, free: 13.96 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0001877/0.1028, allocations: 20.25 kB / 453.3 MB, free: 13.94 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.961e-05/0.1028, allocations: 0 / 453.3 MB, free: 13.94 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 1.558e-05/0.1029, allocations: 0 / 453.3 MB, free: 13.94 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 3.377e-05/0.1029, allocations: 3.938 kB / 453.3 MB, free: 13.93 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001406/0.1031, allocations: 11.98 kB / 453.3 MB, free: 13.92 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 6.387e-05/0.1032, allocations: 15.98 kB / 453.3 MB, free: 13.91 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.955e-05/0.1032, allocations: 4 kB / 453.3 MB, free: 13.9 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.143e-05/0.1033, allocations: 19.86 kB / 453.3 MB, free: 13.88 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.72e-05/0.1034, allocations: 0 / 453.3 MB, free: 13.88 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.713e-05/0.1034, allocations: 4 kB / 453.3 MB, free: 13.88 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.078e-05/0.1034, allocations: 0 / 453.3 MB, free: 13.88 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 2.166e-05/0.1034, allocations: 11.92 kB / 453.3 MB, free: 13.87 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 3.252e-05/0.1035, allocations: 15.92 kB / 453.3 MB, free: 13.85 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 6.503e-05/0.1035, allocations: 11.98 kB / 453.4 MB, free: 13.84 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.743e-06/0.1035, allocations: 4 kB / 453.4 MB, free: 13.84 MB / 334.1 MB Notification: Performance of FrontEnd: time 2.354e-06/0.1036, allocations: 3.938 kB / 453.4 MB, free: 13.83 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.61e-06/0.1036, allocations: 0 / 453.4 MB, free: 13.83 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.0004264/0.104, allocations: 331.5 kB / 453.7 MB, free: 13.46 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.24e-05/0.104, allocations: 11.89 kB / 453.7 MB, free: 13.45 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.005e-05/0.1041, allocations: 8.844 kB / 453.7 MB, free: 13.44 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001388/0.1042, allocations: 168.3 kB / 453.9 MB, free: 13.23 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.678e-05/0.1043, allocations: 12.38 kB / 453.9 MB, free: 13.22 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.092e-05/0.1043, allocations: 4.359 kB / 453.9 MB, free: 13.22 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001274/0.1044, allocations: 54.25 kB / 453.9 MB, free: 13.16 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.165e-05/0.1045, allocations: 192 / 453.9 MB, free: 13.16 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.378e-05/0.1045, allocations: 7.938 kB / 453.9 MB, free: 13.15 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.438e-06/0.1045, allocations: 0 / 453.9 MB, free: 13.15 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.671e-05/0.1045, allocations: 11.98 kB / 454 MB, free: 13.14 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003526/0.1049, allocations: 248.9 kB / 454.2 MB, free: 12.85 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001079/0.105, allocations: 50.62 kB / 454.3 MB, free: 12.79 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.87e-05/0.1051, allocations: 24.92 kB / 454.3 MB, free: 12.76 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.345e-05/0.1051, allocations: 4 kB / 454.3 MB, free: 12.76 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.701e-05/0.1051, allocations: 30.56 kB / 454.3 MB, free: 12.72 MB / 334.1 MB Notification: Performance of pre-optimization done (n=6): time 1.643e-06/0.1051, allocations: 0 / 454.3 MB, free: 12.72 MB / 334.1 MB Notification: Performance of matching and sorting (n=8): time 0.0008383/0.106, allocations: 0.5097 MB / 454.8 MB, free: 12.11 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.887e-05/0.106, allocations: 51.41 kB / 454.9 MB, free: 12.05 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.219e-05/0.1061, allocations: 97.86 kB / 455 MB, free: 11.95 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.926e-05/0.1061, allocations: 29.7 kB / 455 MB, free: 11.91 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.061e-05/0.1062, allocations: 80.14 kB / 455.1 MB, free: 11.83 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.358e-05/0.1062, allocations: 27.61 kB / 455.1 MB, free: 11.8 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.97e-05/0.1063, allocations: 21.72 kB / 455.1 MB, free: 11.77 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001328/0.1064, allocations: 330.8 kB / 455.4 MB, free: 11.44 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.111e-05/0.1065, allocations: 11.94 kB / 455.5 MB, free: 11.43 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.646e-05/0.1065, allocations: 33.7 kB / 455.5 MB, free: 11.39 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.0004129/0.1069, allocations: 240.6 kB / 455.7 MB, free: 11.11 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.363e-06/0.1069, allocations: 4.125 kB / 455.7 MB, free: 11.11 MB / 334.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001843/0.1071, allocations: 106.4 kB / 455.8 MB, free: 11 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.681e-05/0.1072, allocations: 7.938 kB / 455.8 MB, free: 10.99 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.664e-06/0.1072, allocations: 4 kB / 455.8 MB, free: 10.98 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001281/0.1073, allocations: 24.78 kB / 455.9 MB, free: 10.96 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.136e-05/0.1074, allocations: 15.92 kB / 455.9 MB, free: 10.94 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001134/0.1085, allocations: 1.383 MB / 457.3 MB, free: 9.414 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.247e-05/0.1086, allocations: 0 / 457.3 MB, free: 9.414 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.574e-06/0.1086, allocations: 4.031 kB / 457.3 MB, free: 9.41 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 0.0001212/0.1087, allocations: 124.7 kB / 457.4 MB, free: 9.281 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.911e-05/0.1087, allocations: 11.97 kB / 457.4 MB, free: 9.27 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.341e-05/0.1088, allocations: 7.969 kB / 457.4 MB, free: 9.262 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.727e-06/0.1088, allocations: 0 / 457.4 MB, free: 9.262 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.994e-06/0.1088, allocations: 0 / 457.4 MB, free: 9.262 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.485e-05/0.1088, allocations: 81.11 kB / 457.5 MB, free: 9.164 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.758e-06/0.1088, allocations: 0 / 457.5 MB, free: 9.164 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.697e-05/0.1089, allocations: 7.984 kB / 457.5 MB, free: 9.156 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.609e-05/0.1089, allocations: 11.92 kB / 457.5 MB, free: 9.145 MB / 334.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0002776/0.1092, allocations: 177.6 kB / 457.7 MB, free: 8.961 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.000215/0.1095, allocations: 258.8 kB / 457.9 MB, free: 8.691 MB / 334.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 4.55e-05/0.1095, allocations: 26.17 kB / 458 MB, free: 8.668 MB / 334.1 MB Notification: Performance of sorting global known variables: time 3.488e-05/0.1096, allocations: 75.28 kB / 458 MB, free: 8.594 MB / 334.1 MB Notification: Performance of Backend: time 5.81e-07/0.1096, allocations: 0 / 458 MB, free: 8.594 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0005469/0.1101, allocations: 228.9 kB / 458.3 MB, free: 8.352 MB / 334.1 MB Notification: Performance of SimCode: time 0.0005289/0.1107, allocations: 0.6088 MB / 458.9 MB, free: 7.695 MB / 334.1 MB Notification: Performance of Templates: time 0.003276/0.1139, allocations: 0.6425 MB / 459.5 MB, free: 7.098 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)