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.001241/0.001241, allocations: 109.5 kB / 16.42 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.001173/0.001173, allocations: 190.7 kB / 17.35 MB, free: 5.715 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.269/1.269, allocations: 222.9 MB / 241 MB, free: 15.07 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.002674/0.002674, allocations: 0.5677 MB / 291.8 MB, free: 14.15 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001294/0.001294, allocations: 59.91 kB / 403.1 MB, free: 32.11 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1004/0.1017, allocations: 49.6 MB / 452.7 MB, free: 14.48 MB / 334.1 MB Notification: Performance of NFInst.instantiate(ModelicaTestOverdetermined.InconsistentInitialization.Mechanical.TwoMassesEquationsFullInitialInconsistent): time 0.001761/0.1035, allocations: 0.5086 MB / 453.2 MB, free: 13.96 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0001773/0.1037, allocations: 32.17 kB / 453.3 MB, free: 13.93 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.48e-05/0.1038, allocations: 4 kB / 453.3 MB, free: 13.93 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 1.648e-05/0.1038, allocations: 3.938 kB / 453.3 MB, free: 13.93 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 2.684e-05/0.1038, allocations: 0 / 453.3 MB, free: 13.93 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001347/0.104, allocations: 11.98 kB / 453.3 MB, free: 13.91 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 6.124e-05/0.104, allocations: 15.92 kB / 453.3 MB, free: 13.9 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.011e-05/0.1041, allocations: 7.984 kB / 453.3 MB, free: 13.89 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.468e-05/0.1041, allocations: 7.938 kB / 453.3 MB, free: 13.88 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.862e-05/0.1042, allocations: 11.98 kB / 453.3 MB, free: 13.87 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.996e-05/0.1042, allocations: 0 / 453.3 MB, free: 13.87 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.05e-05/0.1042, allocations: 4 kB / 453.3 MB, free: 13.87 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 1.746e-05/0.1043, allocations: 11.88 kB / 453.3 MB, free: 13.86 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 3.041e-05/0.1043, allocations: 15.94 kB / 453.3 MB, free: 13.84 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 5.629e-05/0.1044, allocations: 11.97 kB / 453.4 MB, free: 13.83 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.419e-06/0.1044, allocations: 0 / 453.4 MB, free: 13.83 MB / 334.1 MB Notification: Performance of FrontEnd: time 3.747e-06/0.1044, allocations: 0 / 453.4 MB, free: 13.83 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.472e-06/0.1044, allocations: 3.938 kB / 453.4 MB, free: 13.82 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.000403/0.1048, allocations: 335.5 kB / 453.7 MB, free: 13.45 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.682e-05/0.1049, allocations: 11.89 kB / 453.7 MB, free: 13.43 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.379e-05/0.1049, allocations: 8.844 kB / 453.7 MB, free: 13.43 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001063/0.105, allocations: 164.4 kB / 453.9 MB, free: 13.23 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.534e-05/0.105, allocations: 4.375 kB / 453.9 MB, free: 13.22 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.332e-05/0.1051, allocations: 4.375 kB / 453.9 MB, free: 13.22 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001148/0.1052, allocations: 54.25 kB / 453.9 MB, free: 13.16 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.301e-05/0.1052, allocations: 4.125 kB / 453.9 MB, free: 13.16 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.297e-05/0.1052, allocations: 7.938 kB / 453.9 MB, free: 13.15 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.831e-06/0.1052, allocations: 3.984 kB / 453.9 MB, free: 13.14 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.964e-05/0.1053, allocations: 8 kB / 454 MB, free: 13.14 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003132/0.1056, allocations: 253 kB / 454.2 MB, free: 12.84 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.182e-05/0.1057, allocations: 46.56 kB / 454.2 MB, free: 12.79 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.832e-05/0.1057, allocations: 28.84 kB / 454.3 MB, free: 12.75 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.087e-05/0.1058, allocations: 0 / 454.3 MB, free: 12.75 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.36e-05/0.1058, allocations: 34.56 kB / 454.3 MB, free: 12.71 MB / 334.1 MB Notification: Performance of pre-optimization done (n=6): time 9.62e-07/0.1058, allocations: 0 / 454.3 MB, free: 12.71 MB / 334.1 MB Notification: Performance of matching and sorting (n=8): time 0.0007194/0.1065, allocations: 0.5059 MB / 454.8 MB, free: 12.11 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.865e-05/0.1065, allocations: 51.41 kB / 454.9 MB, free: 12.05 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.684e-05/0.1066, allocations: 101.8 kB / 455 MB, free: 11.94 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.367e-05/0.1066, allocations: 25.7 kB / 455 MB, free: 11.91 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.587e-05/0.1067, allocations: 88.14 kB / 455.1 MB, free: 11.82 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.367e-05/0.1067, allocations: 23.62 kB / 455.1 MB, free: 11.79 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.705e-05/0.1068, allocations: 25.7 kB / 455.1 MB, free: 11.76 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001088/0.1069, allocations: 322.8 kB / 455.4 MB, free: 11.44 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.896e-05/0.1069, allocations: 15.98 kB / 455.5 MB, free: 11.42 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.903e-05/0.107, allocations: 29.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.0003427/0.1073, allocations: 252.6 kB / 455.7 MB, free: 11.1 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.21e-07/0.1073, allocations: 0 / 455.7 MB, free: 11.1 MB / 334.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001487/0.1075, allocations: 102.6 kB / 455.8 MB, free: 10.99 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.551e-05/0.1075, allocations: 4 kB / 455.8 MB, free: 10.98 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.402e-06/0.1075, allocations: 8.031 kB / 455.8 MB, free: 10.98 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000113/0.1076, allocations: 24.78 kB / 455.9 MB, free: 10.95 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.241e-05/0.1077, allocations: 11.94 kB / 455.9 MB, free: 10.94 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009526/0.1087, allocations: 1.383 MB / 457.3 MB, free: 9.41 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.978e-05/0.1087, allocations: 0 / 457.3 MB, free: 9.41 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.899e-06/0.1087, allocations: 0 / 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 9.275e-05/0.1088, allocations: 132.7 kB / 457.4 MB, free: 9.273 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.573e-05/0.1088, allocations: 7.906 kB / 457.4 MB, free: 9.266 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.193e-05/0.1089, allocations: 8.156 kB / 457.4 MB, free: 9.258 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.839e-06/0.1089, allocations: 3.984 kB / 457.4 MB, free: 9.254 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.707e-06/0.1089, allocations: 3.984 kB / 457.4 MB, free: 9.25 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.239e-05/0.1089, allocations: 77.11 kB / 457.5 MB, free: 9.156 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.438e-06/0.1089, allocations: 4 kB / 457.5 MB, free: 9.152 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.984e-05/0.109, allocations: 4 kB / 457.5 MB, free: 9.148 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.362e-05/0.109, allocations: 15.92 kB / 457.5 MB, free: 9.133 MB / 334.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0002536/0.1093, allocations: 173.7 kB / 457.7 MB, free: 8.953 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0001786/0.1095, allocations: 262.8 kB / 457.9 MB, free: 8.68 MB / 334.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 3.792e-05/0.1095, allocations: 18.12 kB / 458 MB, free: 8.664 MB / 334.1 MB Notification: Performance of sorting global known variables: time 3.595e-05/0.1095, allocations: 87.27 kB / 458 MB, free: 8.578 MB / 334.1 MB Notification: Performance of Backend: time 4.2e-07/0.1096, allocations: 0 / 458 MB, free: 8.578 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0005129/0.1101, allocations: 221 kB / 458.3 MB, free: 8.344 MB / 334.1 MB Notification: Performance of SimCode: time 0.0004584/0.1105, allocations: 0.6046 MB / 458.9 MB, free: 7.691 MB / 334.1 MB Notification: Performance of Templates: time 0.002832/0.1134, allocations: 0.6528 MB / 459.5 MB, free: 7.086 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)