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/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTestOverdetermined 4.0.0-master/package.mo", uses=false) Using package ModelicaTestOverdetermined with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTestOverdetermined 4.0.0-master/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) 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) 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/Complex 4.0.0+maint.om/package.mo): time 0.00114/0.00114, allocations: 182.9 kB / 15.98 MB, free: 5.77 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.456/1.456, allocations: 222.9 MB / 239.7 MB, free: 10.98 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009836/0.0009836, allocations: 106.2 kB / 289.9 MB, free: 10.95 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTestOverdetermined 4.0.0-master/package.mo): time 0.002443/0.002443, allocations: 0.5638 MB / 340.6 MB, free: 8.23 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0009685/0.0009685, allocations: 58.5 kB / 400.9 MB, free: 66.07 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07576/0.07674, allocations: 49.6 MB / 450.5 MB, free: 16.49 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTestOverdetermined.InconsistentInitialization.Mechanical.TwoMassesEquationsFullInitialInconsistent): time 0.001467/0.07824, allocations: 0.5856 MB / 451.1 MB, free: 15.91 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0001185/0.07839, allocations: 23.89 kB / 451.1 MB, free: 15.88 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.115e-05/0.07842, allocations: 4 kB / 451.1 MB, free: 15.88 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 1.438e-05/0.07844, allocations: 3.938 kB / 451.2 MB, free: 15.88 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 2.441e-05/0.07847, allocations: 0 / 451.2 MB, free: 15.88 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001057/0.07858, allocations: 12 kB / 451.2 MB, free: 15.86 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 4.304e-05/0.07863, allocations: 15.98 kB / 451.2 MB, free: 15.85 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.255e-05/0.07868, allocations: 7.984 kB / 451.2 MB, free: 15.84 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 1.717e-05/0.0787, allocations: 11.92 kB / 451.2 MB, free: 15.83 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.251e-05/0.07876, allocations: 7.938 kB / 451.2 MB, free: 15.82 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.399e-05/0.07878, allocations: 4 kB / 451.2 MB, free: 15.82 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.494e-06/0.07879, allocations: 0 / 451.2 MB, free: 15.82 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 1.418e-05/0.07881, allocations: 7.984 kB / 451.2 MB, free: 15.81 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 2.7e-05/0.07884, allocations: 11.94 kB / 451.2 MB, free: 15.8 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 4.243e-05/0.07889, allocations: 15.91 kB / 451.2 MB, free: 15.78 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.376e-06/0.0789, allocations: 0 / 451.2 MB, free: 15.78 MB / 298.7 MB Notification: Performance of FrontEnd: time 6.21e-07/0.0789, allocations: 0 / 451.2 MB, free: 15.78 MB / 298.7 MB Notification: Performance of Transformations before backend: time 3.206e-06/0.07891, allocations: 0 / 451.2 MB, free: 15.78 MB / 298.7 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.0002514/0.07917, allocations: 331.8 kB / 451.6 MB, free: 15.41 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.346e-05/0.07921, allocations: 11.97 kB / 451.6 MB, free: 15.39 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.743e-05/0.07924, allocations: 4.938 kB / 451.6 MB, free: 15.39 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.078e-05/0.07931, allocations: 180.2 kB / 451.8 MB, free: 15.18 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.132e-05/0.07932, allocations: 4.375 kB / 451.8 MB, free: 15.17 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.932e-05/0.07935, allocations: 8.281 kB / 451.8 MB, free: 15.16 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.05e-05/0.07943, allocations: 46.25 kB / 451.8 MB, free: 15.11 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.808e-06/0.07945, allocations: 192 / 451.8 MB, free: 15.11 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.356e-06/0.07946, allocations: 3.938 kB / 451.8 MB, free: 15.11 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.398e-06/0.07947, allocations: 0 / 451.8 MB, free: 15.11 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.617e-05/0.07951, allocations: 11.98 kB / 451.8 MB, free: 15.1 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002113/0.07973, allocations: 256.9 kB / 452.1 MB, free: 14.8 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.035e-05/0.07982, allocations: 50.56 kB / 452.1 MB, free: 14.74 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.73e-05/0.07985, allocations: 24.92 kB / 452.2 MB, free: 14.71 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.054e-06/0.07986, allocations: 0 / 452.2 MB, free: 14.71 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.525e-05/0.07988, allocations: 34.56 kB / 452.2 MB, free: 14.67 MB / 298.7 MB Notification: Performance of pre-optimization done (n=6): time 8.72e-07/0.07989, allocations: 0 / 452.2 MB, free: 14.67 MB / 298.7 MB Notification: Performance of matching and sorting (n=8): time 0.000521/0.08041, allocations: 0.502 MB / 452.7 MB, free: 14.07 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.886e-05/0.08044, allocations: 55.41 kB / 452.7 MB, free: 14 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.314e-05/0.08049, allocations: 93.86 kB / 452.8 MB, free: 13.9 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 7.504e-06/0.08051, allocations: 37.58 kB / 452.9 MB, free: 13.86 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 1.829e-05/0.08053, allocations: 84.14 kB / 453 MB, free: 13.77 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.212e-05/0.08056, allocations: 31.64 kB / 453 MB, free: 13.74 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.859e-05/0.08059, allocations: 21.72 kB / 453 MB, free: 13.71 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 3.923e-05/0.08064, allocations: 322.8 kB / 453.3 MB, free: 13.39 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.402e-05/0.08067, allocations: 12 kB / 453.3 MB, free: 13.38 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.977e-05/0.0807, allocations: 29.7 kB / 453.4 MB, free: 13.34 MB / 298.7 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.0002564/0.08096, allocations: 251.8 kB / 453.6 MB, free: 13.05 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.12e-07/0.08097, allocations: 0 / 453.6 MB, free: 13.05 MB / 298.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001246/0.0811, allocations: 99.19 kB / 453.7 MB, free: 12.95 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.143e-05/0.08112, allocations: 4 kB / 453.7 MB, free: 12.95 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.398e-06/0.08113, allocations: 4 kB / 453.7 MB, free: 12.94 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.913e-05/0.08123, allocations: 21.02 kB / 453.7 MB, free: 12.92 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.55e-05/0.0813, allocations: 15.98 kB / 453.8 MB, free: 12.9 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006453/0.08195, allocations: 1.288 MB / 455 MB, free: 11.47 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.119e-05/0.08198, allocations: 8.031 kB / 455.1 MB, free: 11.46 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.09e-06/0.082, allocations: 0 / 455.1 MB, free: 11.46 MB / 298.7 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 6.058e-05/0.08206, allocations: 121.8 kB / 455.2 MB, free: 11.34 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.43e-05/0.08209, allocations: 7.922 kB / 455.2 MB, free: 11.33 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.747e-05/0.08211, allocations: 12.06 kB / 455.2 MB, free: 11.31 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.322e-06/0.08212, allocations: 3.938 kB / 455.2 MB, free: 11.31 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.294e-06/0.08213, allocations: 0 / 455.2 MB, free: 11.31 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.194e-06/0.08213, allocations: 0 / 455.2 MB, free: 11.31 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000299/0.08244, allocations: 373.7 kB / 455.6 MB, free: 10.88 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.883e-06/0.08245, allocations: 0 / 455.6 MB, free: 10.88 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.576e-05/0.0825, allocations: 15.94 kB / 455.6 MB, free: 10.86 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.85e-05/0.08257, allocations: 20.84 kB / 455.6 MB, free: 10.84 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.123e-06/0.08259, allocations: 0 / 455.6 MB, free: 10.84 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000502/0.08309, allocations: 1.292 MB / 456.9 MB, free: 9.414 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.293e-06/0.08311, allocations: 0 / 456.9 MB, free: 9.414 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001225/0.08434, allocations: 2.478 MB / 459.4 MB, free: 6.648 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.43e-05/0.08436, allocations: 85.14 kB / 459.4 MB, free: 6.547 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.585e-06/0.08438, allocations: 3.938 kB / 459.5 MB, free: 6.543 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.506e-05/0.08444, allocations: 4.219 kB / 459.5 MB, free: 6.539 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.876e-05/0.08446, allocations: 7.984 kB / 459.5 MB, free: 6.531 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.61e-06/0.08447, allocations: 8 kB / 459.5 MB, free: 6.523 MB / 298.7 MB Notification: Performance of sorting global known variables: time 1.675e-05/0.0845, allocations: 79.28 kB / 459.5 MB, free: 6.445 MB / 298.7 MB Notification: Performance of sort global known variables: time 1e-07/0.0845, allocations: 0 / 459.5 MB, free: 6.445 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0003094/0.08482, allocations: 19.94 kB / 459.6 MB, free: 6.426 MB / 298.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 2 (x2,v2) * 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 (6): * Single equations (assignments): 5 * 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 Backend phase and start with SimCode phase: time 8.242e-05/0.0849, allocations: 99.19 kB / 459.7 MB, free: 6.32 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0002722/0.08518, allocations: 166.6 kB / 459.8 MB, free: 6.145 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.615e-06/0.0852, allocations: 0 / 459.8 MB, free: 6.145 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001413/0.08534, allocations: 154.5 kB / 460 MB, free: 5.98 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002193/0.08557, allocations: 4 kB / 460 MB, free: 5.977 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004119/0.08599, allocations: 430.1 kB / 460.4 MB, free: 5.492 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001045/0.08611, allocations: 0.6887 MB / 461.1 MB, free: 4.777 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 1.85e-05/0.08614, allocations: 0 / 461.1 MB, free: 4.777 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.498e-05/0.08616, allocations: 11.44 kB / 461.1 MB, free: 4.766 MB / 298.7 MB Notification: Performance of SimCode: time 2.2e-07/0.08616, allocations: 4 kB / 461.1 MB, free: 4.762 MB / 298.7 MB Notification: Performance of Templates: time 0.00241/0.08858, allocations: 0.8935 MB / 462 MB, free: 3.918 MB / 298.7 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)