Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTestOverdetermined_ModelicaTestOverdetermined.InconsistentInitialization.Mechanical.TwoMassesFullInitialInconsistent.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.TwoMassesFullInitialInconsistent,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTestOverdetermined_ModelicaTestOverdetermined.InconsistentInitialization.Mechanical.TwoMassesFullInitialInconsistent") translateModel(ModelicaTestOverdetermined.InconsistentInitialization.Mechanical.TwoMassesFullInitialInconsistent,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTestOverdetermined_ModelicaTestOverdetermined.InconsistentInitialization.Mechanical.TwoMassesFullInitialInconsistent") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.004643/0.004643, allocations: 97.2 kB / 15.73 MB, free: 6.055 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.001105/0.001105, allocations: 194.5 kB / 16.67 MB, free: 5.977 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.332/1.332, allocations: 222.9 MB / 240.4 MB, free: 4.316 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTestOverdetermined 4.0.0+maint.om/package.mo): time 0.003223/0.003223, allocations: 0.5663 MB / 291.1 MB, free: 1.629 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001245/0.001245, allocations: 61.81 kB / 402.4 MB, free: 9.332 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09164/0.09289, allocations: 49.6 MB / 452 MB, free: 5.285 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTestOverdetermined.InconsistentInitialization.Mechanical.TwoMassesFullInitialInconsistent): time 0.002852/0.0958, allocations: 1.662 MB / 453.7 MB, free: 3.617 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002541/0.09607, allocations: 91.69 kB / 453.8 MB, free: 3.527 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.47e-05/0.09614, allocations: 0 / 453.8 MB, free: 3.527 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 5.841e-05/0.0962, allocations: 15.84 kB / 453.8 MB, free: 3.512 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000103/0.09632, allocations: 35.7 kB / 453.8 MB, free: 3.477 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000126/0.09645, allocations: 23.98 kB / 453.8 MB, free: 3.453 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001464/0.09661, allocations: 111.5 kB / 453.9 MB, free: 3.344 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001429/0.09676, allocations: 39.95 kB / 454 MB, free: 3.305 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.985e-05/0.09683, allocations: 39.86 kB / 454 MB, free: 3.266 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.291e-05/0.09693, allocations: 39.84 kB / 454.1 MB, free: 3.227 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 2.399e-05/0.09697, allocations: 11.94 kB / 454.1 MB, free: 3.215 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.991e-05/0.09699, allocations: 8 kB / 454.1 MB, free: 3.207 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 5.217e-05/0.09705, allocations: 19.92 kB / 454.1 MB, free: 3.188 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 5.938e-05/0.09711, allocations: 55.73 kB / 454.2 MB, free: 3.133 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001524/0.09727, allocations: 107.6 kB / 454.3 MB, free: 3.027 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.669e-06/0.09728, allocations: 0 / 454.3 MB, free: 3.027 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.463e-06/0.09729, allocations: 0 / 454.3 MB, free: 3.027 MB / 318.1 MB Notification: Performance of Transformations before backend: time 4.839e-06/0.0973, allocations: 0 / 454.3 MB, free: 3.027 MB / 318.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 22 * Number of variables: 22 Notification: Performance of Generate backend data structure: time 0.0006003/0.0979, allocations: 407.2 kB / 454.7 MB, free: 2.578 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.363e-05/0.09795, allocations: 11.89 kB / 454.7 MB, free: 2.566 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.813e-05/0.09801, allocations: 16.89 kB / 454.7 MB, free: 2.551 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002254/0.09824, allocations: 188.2 kB / 454.9 MB, free: 2.328 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.717e-05/0.09828, allocations: 8.562 kB / 454.9 MB, free: 2.32 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.585e-05/0.09832, allocations: 12.38 kB / 454.9 MB, free: 2.309 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000195/0.09852, allocations: 94.66 kB / 455 MB, free: 2.211 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.565e-05/0.09854, allocations: 0 / 455 MB, free: 2.211 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.739e-05/0.09856, allocations: 11.94 kB / 455 MB, free: 2.199 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.081e-06/0.09858, allocations: 0 / 455 MB, free: 2.199 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001264/0.09871, allocations: 59.95 kB / 455.1 MB, free: 2.141 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005468/0.09926, allocations: 384.7 kB / 455.4 MB, free: 1.715 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001733/0.09944, allocations: 98.55 kB / 455.5 MB, free: 1.609 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.424e-05/0.09952, allocations: 36.86 kB / 455.6 MB, free: 1.57 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.296e-05/0.09954, allocations: 0 / 455.6 MB, free: 1.57 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.382e-05/0.09957, allocations: 30.56 kB / 455.6 MB, free: 1.531 MB / 318.1 MB Notification: Performance of pre-optimization done (n=12): time 2.455e-06/0.09958, allocations: 4 kB / 455.6 MB, free: 1.527 MB / 318.1 MB Notification: Performance of matching and sorting (n=16): time 0.00124/0.1008, allocations: 0.6959 MB / 456.3 MB, free: 0.7383 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.784e-05/0.1009, allocations: 55.41 kB / 456.3 MB, free: 0.6719 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001148/0.101, allocations: 122.9 kB / 456.5 MB, free: 0.543 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.805e-05/0.101, allocations: 29.7 kB / 456.5 MB, free: 0.5078 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.129e-05/0.1011, allocations: 100.4 kB / 456.6 MB, free: 412 kB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.959e-05/0.1012, allocations: 63.47 kB / 456.7 MB, free: 348 kB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.346e-05/0.1012, allocations: 33.7 kB / 456.7 MB, free: 308 kB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001369/0.1014, allocations: 318.8 kB / 457 MB, free: 15.98 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.36e-05/0.1014, allocations: 35.98 kB / 457 MB, free: 15.95 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.041e-05/0.1015, allocations: 64.23 kB / 457.1 MB, free: 15.88 MB / 334.1 MB Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: mass1.v = $START.mass1.v ($START.mass2.v = $START.mass1.v) Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: mass2.s = $START.mass2.s ($START.mass1.s + 0.5 * (mass1.L + mass2.L) = $START.mass2.s) Notification: Performance of analyzeInitialSystem (initialization): time 0.0009117/0.1024, allocations: 412.2 kB / 457.5 MB, free: 15.43 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.462e-06/0.1024, allocations: 0 / 457.5 MB, free: 15.43 MB / 334.1 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.000267/0.1027, allocations: 174.3 kB / 457.7 MB, free: 15.25 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.78e-05/0.1028, allocations: 15.88 kB / 457.7 MB, free: 15.23 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.701e-06/0.1028, allocations: 0 / 457.7 MB, free: 15.23 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001818/0.1029, allocations: 28.84 kB / 457.7 MB, free: 15.2 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.742e-05/0.1031, allocations: 27.92 kB / 457.7 MB, free: 15.18 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00127/0.1043, allocations: 1.612 MB / 459.4 MB, free: 13.42 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.521e-05/0.1044, allocations: 4 kB / 459.4 MB, free: 13.41 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.929e-06/0.1044, allocations: 4.031 kB / 459.4 MB, free: 13.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: mass1.v = $START.mass1.v mass2.s = $START.mass2.s. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * 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 (16): * Single equations (assignments): 15 * 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,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001238/0.1045, allocations: 138.4 kB / 459.5 MB, free: 13.27 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.362e-05/0.1046, allocations: 11.95 kB / 459.5 MB, free: 13.25 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.899e-05/0.1046, allocations: 12.84 kB / 459.5 MB, free: 13.25 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.512e-06/0.1046, allocations: 0 / 459.5 MB, free: 13.25 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.058e-06/0.1046, allocations: 4 kB / 459.5 MB, free: 13.24 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.477e-06/0.1046, allocations: 144 / 459.5 MB, free: 13.24 MB / 334.1 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006475/0.1053, allocations: 0.6019 MB / 460.1 MB, free: 12.55 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.679e-06/0.1053, allocations: 3.938 kB / 460.1 MB, free: 12.54 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001273/0.1054, allocations: 27.92 kB / 460.2 MB, free: 12.52 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.709e-05/0.1055, allocations: 24.84 kB / 460.2 MB, free: 12.49 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.044e-05/0.1055, allocations: 0 / 460.2 MB, free: 12.49 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00095/0.1065, allocations: 1.359 MB / 461.5 MB, free: 10.99 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.915e-06/0.1065, allocations: 8.188 kB / 461.6 MB, free: 10.98 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003869/0.1069, allocations: 298.7 kB / 461.8 MB, free: 10.66 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.995e-05/0.107, allocations: 85.09 kB / 461.9 MB, free: 10.56 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.03e-05/0.107, allocations: 12 kB / 461.9 MB, free: 10.55 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.03e-05/0.1071, allocations: 8 kB / 461.9 MB, free: 10.54 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.856e-05/0.1071, allocations: 15.98 kB / 462 MB, free: 10.53 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.306e-06/0.1071, allocations: 4 kB / 462 MB, free: 10.52 MB / 334.1 MB Notification: Performance of sorting global known variables: time 6.433e-05/0.1072, allocations: 95.64 kB / 462.1 MB, free: 10.43 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.1072, allocations: 0 / 462.1 MB, free: 10.43 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0003233/0.1075, allocations: 36 kB / 462.1 MB, free: 10.39 MB / 334.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 2 (mass2.s,mass2.v) * 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 (15): * Single equations (assignments): 14 * 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,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001117/0.1076, allocations: 107 kB / 462.2 MB, free: 10.28 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0004325/0.1081, allocations: 226.6 kB / 462.4 MB, free: 10.05 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.244e-06/0.1081, allocations: 0 / 462.4 MB, free: 10.05 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001911/0.1083, allocations: 170.6 kB / 462.6 MB, free: 9.867 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003347/0.1086, allocations: 19.98 kB / 462.6 MB, free: 9.848 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000693/0.1093, allocations: 394 kB / 463 MB, free: 9.426 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003199/0.1097, allocations: 0.7163 MB / 463.7 MB, free: 8.684 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 4.348e-05/0.1097, allocations: 9.031 kB / 463.7 MB, free: 8.672 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.025e-05/0.1098, allocations: 15.44 kB / 463.7 MB, free: 8.656 MB / 334.1 MB Notification: Performance of SimCode: time 2.41e-07/0.1098, allocations: 0 / 463.7 MB, free: 8.656 MB / 334.1 MB Notification: Performance of Templates: time 0.004075/0.1139, allocations: 1.461 MB / 465.2 MB, free: 7.25 MB / 334.1 MB make -j1 -f ModelicaTestOverdetermined_ModelicaTestOverdetermined.InconsistentInitialization.Mechanical.TwoMassesFullInitialInconsistent.makefile (rm -f ModelicaTestOverdetermined_ModelicaTestOverdetermined.InconsistentInitialization.Mechanical.TwoMassesFullInitialInconsistent.pipe ; mkfifo ModelicaTestOverdetermined_ModelicaTestOverdetermined.InconsistentInitialization.Mechanical.TwoMassesFullInitialInconsistent.pipe ; head -c 1048576 < ModelicaTestOverdetermined_ModelicaTestOverdetermined.InconsistentInitialization.Mechanical.TwoMassesFullInitialInconsistent.pipe >> ../files/ModelicaTestOverdetermined_ModelicaTestOverdetermined.InconsistentInitialization.Mechanical.TwoMassesFullInitialInconsistent.sim & ./ModelicaTestOverdetermined_ModelicaTestOverdetermined.InconsistentInitialization.Mechanical.TwoMassesFullInitialInconsistent -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTestOverdetermined_ModelicaTestOverdetermined.InconsistentInitialization.Mechanical.TwoMassesFullInitialInconsistent.pipe 2>&1)