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.001524/0.001524, allocations: 114.2 kB / 16.42 MB, free: 6.012 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.001397/0.001397, allocations: 183.8 kB / 17.35 MB, free: 5.629 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.4/1.4, 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.002665/0.002664, allocations: 0.574 MB / 291.8 MB, free: 14.17 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001184/0.001184, allocations: 55.91 kB / 403.1 MB, free: 32.14 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1069/0.1081, allocations: 49.6 MB / 452.7 MB, free: 14.51 MB / 334.1 MB Notification: Performance of NFInst.instantiate(ModelicaTestOverdetermined.InconsistentInitialization.Mechanical.TwoMassesFullInitialInconsistent): time 0.00292/0.111, allocations: 1.654 MB / 454.4 MB, free: 12.84 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002552/0.1113, allocations: 99.61 kB / 454.5 MB, free: 12.74 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.504e-05/0.1114, allocations: 4 kB / 454.5 MB, free: 12.74 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 5.634e-05/0.1114, allocations: 11.86 kB / 454.5 MB, free: 12.73 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001062/0.1116, allocations: 27.72 kB / 454.5 MB, free: 12.7 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001383/0.1117, allocations: 27.95 kB / 454.5 MB, free: 12.67 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001348/0.1118, allocations: 103.5 kB / 454.6 MB, free: 12.57 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001736/0.112, allocations: 43.97 kB / 454.7 MB, free: 12.53 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.824e-05/0.1121, allocations: 39.8 kB / 454.7 MB, free: 12.49 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.61e-05/0.1122, allocations: 51.77 kB / 454.8 MB, free: 12.44 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.236e-05/0.1122, allocations: 8 kB / 454.8 MB, free: 12.43 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.151e-05/0.1123, allocations: 8 kB / 454.8 MB, free: 12.42 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 2.787e-05/0.1123, allocations: 23.92 kB / 454.8 MB, free: 12.4 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 6.462e-05/0.1124, allocations: 43.8 kB / 454.8 MB, free: 12.36 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001451/0.1125, allocations: 107.6 kB / 454.9 MB, free: 12.25 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.033e-06/0.1125, allocations: 4 kB / 454.9 MB, free: 12.25 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.563e-06/0.1125, allocations: 0 / 454.9 MB, free: 12.25 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.46e-06/0.1125, allocations: 3.938 kB / 455 MB, free: 12.24 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.0005172/0.1131, allocations: 395.4 kB / 455.3 MB, free: 11.8 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.938e-05/0.1131, allocations: 11.89 kB / 455.3 MB, free: 11.79 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.882e-05/0.1132, allocations: 12.84 kB / 455.4 MB, free: 11.78 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001635/0.1133, allocations: 192.2 kB / 455.5 MB, free: 11.55 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.219e-05/0.1133, allocations: 4.562 kB / 455.6 MB, free: 11.55 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.673e-05/0.1134, allocations: 12.36 kB / 455.6 MB, free: 11.54 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001896/0.1136, allocations: 100.2 kB / 455.7 MB, free: 11.44 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.25e-05/0.1136, allocations: 0 / 455.7 MB, free: 11.44 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.41e-05/0.1136, allocations: 3.984 kB / 455.7 MB, free: 11.43 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.442e-06/0.1136, allocations: 4 kB / 455.7 MB, free: 11.43 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001134/0.1137, allocations: 59.91 kB / 455.7 MB, free: 11.37 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005681/0.1143, allocations: 384.6 kB / 456.1 MB, free: 10.95 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001695/0.1145, allocations: 114.4 kB / 456.2 MB, free: 10.82 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.25e-05/0.1146, allocations: 36.84 kB / 456.3 MB, free: 10.79 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.346e-05/0.1146, allocations: 0 / 456.3 MB, free: 10.79 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.877e-05/0.1146, allocations: 34.56 kB / 456.3 MB, free: 10.74 MB / 334.1 MB Notification: Performance of pre-optimization done (n=12): time 1.032e-06/0.1146, allocations: 0 / 456.3 MB, free: 10.74 MB / 334.1 MB Notification: Performance of matching and sorting (n=16): time 0.001144/0.1158, allocations: 0.6862 MB / 457 MB, free: 9.961 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.176e-05/0.1158, allocations: 51.41 kB / 457 MB, free: 9.898 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001129/0.1159, allocations: 129.9 kB / 457.1 MB, free: 9.762 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.753e-05/0.116, allocations: 25.7 kB / 457.2 MB, free: 9.73 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.837e-05/0.116, allocations: 104.3 kB / 457.3 MB, free: 9.621 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.998e-05/0.1161, allocations: 55.2 kB / 457.3 MB, free: 9.566 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.769e-05/0.1161, allocations: 33.7 kB / 457.4 MB, free: 9.527 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001151/0.1163, allocations: 322.8 kB / 457.7 MB, free: 9.203 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.098e-05/0.1163, allocations: 35.98 kB / 457.7 MB, free: 9.168 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.721e-05/0.1164, allocations: 66.45 kB / 457.8 MB, free: 9.094 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.0007237/0.1171, allocations: 412.9 kB / 458.2 MB, free: 8.648 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.102e-06/0.1172, allocations: 0 / 458.2 MB, free: 8.648 MB / 334.1 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.000256/0.1174, allocations: 166.3 kB / 458.3 MB, free: 8.477 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.546e-05/0.1174, allocations: 6.5 kB / 458.4 MB, free: 8.473 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.708e-06/0.1175, allocations: 0 / 458.4 MB, free: 8.473 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001299/0.1176, allocations: 32.88 kB / 458.4 MB, free: 8.438 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001/0.1177, allocations: 27.92 kB / 458.4 MB, free: 8.41 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001244/0.1189, allocations: 1.619 MB / 460 MB, free: 6.645 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.722e-05/0.119, allocations: 8.031 kB / 460 MB, free: 6.637 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.916e-06/0.119, allocations: 4 kB / 460 MB, free: 6.633 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.0001165/0.1192, allocations: 137.6 kB / 460.2 MB, free: 6.488 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.55e-05/0.1192, allocations: 11.81 kB / 460.2 MB, free: 6.477 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.416e-05/0.1192, allocations: 20.91 kB / 460.2 MB, free: 6.461 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.718e-06/0.1192, allocations: 4 kB / 460.2 MB, free: 6.457 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.383e-06/0.1192, allocations: 0 / 460.2 MB, free: 6.457 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.968e-05/0.1193, allocations: 85 kB / 460.3 MB, free: 6.355 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.534e-05/0.1193, allocations: 4 kB / 460.3 MB, free: 6.352 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.252e-05/0.1194, allocations: 7.938 kB / 460.3 MB, free: 6.344 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.371e-05/0.1194, allocations: 7.984 kB / 460.3 MB, free: 6.336 MB / 334.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0003933/0.1198, allocations: 257.2 kB / 460.6 MB, free: 6.078 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0003248/0.1202, allocations: 345.9 kB / 460.9 MB, free: 5.727 MB / 334.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 6.826e-05/0.1202, allocations: 48.02 kB / 460.9 MB, free: 5.68 MB / 334.1 MB Notification: Performance of sorting global known variables: time 4.876e-05/0.1203, allocations: 99.16 kB / 461 MB, free: 5.582 MB / 334.1 MB Notification: Performance of Backend: time 5.81e-07/0.1203, allocations: 0 / 461 MB, free: 5.582 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0006066/0.1209, allocations: 269.9 kB / 461.3 MB, free: 5.297 MB / 334.1 MB Notification: Performance of SimCode: time 0.0008285/0.1217, allocations: 0.8358 MB / 462.1 MB, free: 4.418 MB / 334.1 MB Notification: Performance of Templates: time 0.003923/0.1257, allocations: 1.529 MB / 463.7 MB, free: 2.941 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)