Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesFullInitial.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.ConsistentInitialization.Mechanical.TwoMassesFullInitial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesFullInitial") translateModel(ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesFullInitial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesFullInitial") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001214/0.001215, allocations: 111.9 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.001372/0.001372, allocations: 189.5 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.352/1.352, allocations: 222.9 MB / 241 MB, free: 15.09 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.002849/0.002849, allocations: 0.5671 MB / 291.8 MB, free: 14.17 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001341/0.001341, allocations: 67.89 kB / 403.1 MB, free: 32.15 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1032/0.1046, allocations: 49.59 MB / 452.7 MB, free: 14.52 MB / 334.1 MB Notification: Performance of NFInst.instantiate(ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesFullInitial): time 0.003253/0.1079, allocations: 1.645 MB / 454.3 MB, free: 12.86 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004099/0.1083, allocations: 87.7 kB / 454.4 MB, free: 12.77 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.529e-05/0.1085, allocations: 4 kB / 454.4 MB, free: 12.77 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 5.646e-05/0.1085, allocations: 11.86 kB / 454.4 MB, free: 12.76 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001288/0.1087, allocations: 31.7 kB / 454.5 MB, free: 12.73 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001486/0.1088, allocations: 23.97 kB / 454.5 MB, free: 12.7 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001642/0.109, allocations: 119.4 kB / 454.6 MB, free: 12.59 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001667/0.1092, allocations: 35.98 kB / 454.6 MB, free: 12.55 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.37e-05/0.1093, allocations: 39.86 kB / 454.7 MB, free: 12.51 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001456/0.1094, allocations: 43.78 kB / 454.7 MB, free: 12.47 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 3.572e-05/0.1095, allocations: 8 kB / 454.7 MB, free: 12.46 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.389e-05/0.1095, allocations: 11.94 kB / 454.7 MB, free: 12.45 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 3.786e-05/0.1096, allocations: 27.91 kB / 454.8 MB, free: 12.42 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 6.585e-05/0.1096, allocations: 43.81 kB / 454.8 MB, free: 12.38 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001636/0.1098, allocations: 107.6 kB / 454.9 MB, free: 12.27 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.169e-06/0.1098, allocations: 4 kB / 454.9 MB, free: 12.27 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.363e-06/0.1098, allocations: 0 / 454.9 MB, free: 12.27 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.42e-06/0.1098, allocations: 0 / 454.9 MB, free: 12.27 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: 22 * Number of variables: 22 Notification: Performance of Generate backend data structure: time 0.0005866/0.1104, allocations: 403.3 kB / 455.3 MB, free: 11.82 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.277e-05/0.1105, allocations: 15.89 kB / 455.3 MB, free: 11.81 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.784e-05/0.1105, allocations: 8.844 kB / 455.3 MB, free: 11.8 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002027/0.1108, allocations: 184.2 kB / 455.5 MB, free: 11.58 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.092e-05/0.1108, allocations: 12.56 kB / 455.5 MB, free: 11.57 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.628e-05/0.1108, allocations: 4.375 kB / 455.5 MB, free: 11.57 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002253/0.1111, allocations: 104.3 kB / 455.6 MB, free: 11.46 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.366e-05/0.1111, allocations: 0 / 455.6 MB, free: 11.46 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.705e-05/0.1111, allocations: 7.984 kB / 455.6 MB, free: 11.45 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.663e-06/0.1111, allocations: 4 kB / 455.6 MB, free: 11.45 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001172/0.1112, allocations: 55.95 kB / 455.7 MB, free: 11.39 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005774/0.1118, allocations: 392.5 kB / 456.1 MB, free: 10.96 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001747/0.112, allocations: 94.56 kB / 456.2 MB, free: 10.86 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.358e-05/0.1121, allocations: 37.06 kB / 456.2 MB, free: 10.82 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.861e-05/0.1121, allocations: 3.938 kB / 456.2 MB, free: 10.82 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.778e-05/0.1122, allocations: 38.5 kB / 456.3 MB, free: 10.77 MB / 334.1 MB Notification: Performance of pre-optimization done (n=12): time 1.673e-06/0.1122, allocations: 0 / 456.3 MB, free: 10.77 MB / 334.1 MB Notification: Performance of matching and sorting (n=16): time 0.00118/0.1134, allocations: 0.6896 MB / 456.9 MB, free: 9.984 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.382e-05/0.1134, allocations: 55.39 kB / 457 MB, free: 9.918 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001148/0.1135, allocations: 125.7 kB / 457.1 MB, free: 9.785 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.744e-05/0.1136, allocations: 25.7 kB / 457.1 MB, free: 9.754 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.773e-05/0.1136, allocations: 104.3 kB / 457.2 MB, free: 9.645 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.018e-05/0.1137, allocations: 59.2 kB / 457.3 MB, free: 9.586 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.508e-05/0.1138, allocations: 33.72 kB / 457.3 MB, free: 9.547 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001583/0.1139, allocations: 318.8 kB / 457.7 MB, free: 9.227 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.219e-05/0.114, allocations: 35.98 kB / 457.7 MB, free: 9.191 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.955e-05/0.1141, allocations: 62.5 kB / 457.7 MB, free: 9.121 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.0007612/0.1149, allocations: 421.2 kB / 458.2 MB, free: 8.668 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.553e-06/0.1149, allocations: 0 / 458.2 MB, free: 8.668 MB / 334.1 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0002555/0.1151, allocations: 170.2 kB / 458.3 MB, free: 8.492 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.024e-05/0.1152, allocations: 4 kB / 458.3 MB, free: 8.488 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.072e-06/0.1152, allocations: 3.938 kB / 458.3 MB, free: 8.484 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001435/0.1153, allocations: 28.84 kB / 458.4 MB, free: 8.453 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001111/0.1154, allocations: 27.98 kB / 458.4 MB, free: 8.426 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001339/0.1168, allocations: 1.607 MB / 460 MB, free: 6.672 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.515e-05/0.1169, allocations: 8.031 kB / 460 MB, free: 6.664 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.979e-06/0.1169, allocations: 4 kB / 460 MB, free: 6.66 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.0001247/0.117, allocations: 141.7 kB / 460.1 MB, free: 6.512 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.463e-05/0.1171, allocations: 15.8 kB / 460.2 MB, free: 6.496 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.613e-05/0.1171, allocations: 12.84 kB / 460.2 MB, free: 6.488 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.547e-06/0.1171, allocations: 4 kB / 460.2 MB, free: 6.484 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.824e-06/0.1171, allocations: 256 / 460.2 MB, free: 6.484 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.923e-05/0.1172, allocations: 81.02 kB / 460.3 MB, free: 6.387 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.765e-05/0.1172, allocations: 8 kB / 460.3 MB, free: 6.379 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.432e-05/0.1173, allocations: 7.938 kB / 460.3 MB, free: 6.371 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.896e-05/0.1173, allocations: 11.97 kB / 460.3 MB, free: 6.359 MB / 334.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0003977/0.1177, allocations: 249.6 kB / 460.5 MB, free: 6.105 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0003338/0.1181, allocations: 349.4 kB / 460.9 MB, free: 5.754 MB / 334.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 6.459e-05/0.1181, allocations: 40.05 kB / 460.9 MB, free: 5.715 MB / 334.1 MB Notification: Performance of sorting global known variables: time 5.353e-05/0.1182, allocations: 103.1 kB / 461 MB, free: 5.613 MB / 334.1 MB Notification: Performance of Backend: time 1.71e-07/0.1182, allocations: 4 kB / 461 MB, free: 5.609 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0006362/0.1188, allocations: 268.9 kB / 461.3 MB, free: 5.324 MB / 334.1 MB Notification: Performance of SimCode: time 0.0009294/0.1198, allocations: 0.8439 MB / 462.1 MB, free: 4.434 MB / 334.1 MB Notification: Performance of Templates: time 0.004455/0.1243, allocations: 1.517 MB / 463.6 MB, free: 2.961 MB / 334.1 MB make -j1 -f ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesFullInitial.makefile (rm -f ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesFullInitial.pipe ; mkfifo ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesFullInitial.pipe ; head -c 1048576 < ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesFullInitial.pipe >> ../files/ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesFullInitial.sim & ./ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesFullInitial -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesFullInitial.pipe 2>&1)