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.007803/0.007803, allocations: 101.1 kB / 15.88 MB, free: 5.867 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.001712/0.001712, allocations: 193.4 kB / 16.79 MB, free: 5.809 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.359/1.359, allocations: 222.9 MB / 240.5 MB, free: 4.57 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.003065/0.003065, allocations: 0.5661 MB / 291.2 MB, free: 1.887 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001292/0.001292, allocations: 59.91 kB / 351.5 MB, free: 2.777 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09296/0.09427, allocations: 49.59 MB / 401.1 MB, free: 1.137 MB / 286.1 MB Notification: Performance of NFInst.instantiate(ModelicaTestOverdetermined.InconsistentInitialization.Mechanical.TwoMassesEquationsFullInitialInconsistent): time 0.001718/0.09603, allocations: 0.5794 MB / 401.7 MB, free: 0.5547 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.0001383/0.09622, allocations: 27.89 kB / 401.7 MB, free: 0.5273 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.086e-05/0.09625, allocations: 0 / 401.7 MB, free: 0.5273 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 3.153e-05/0.09629, allocations: 3.938 kB / 401.7 MB, free: 0.5234 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 2.916e-05/0.09633, allocations: 4 kB / 401.7 MB, free: 0.5195 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001187/0.09645, allocations: 8 kB / 401.7 MB, free: 0.5117 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 5.273e-05/0.09651, allocations: 19.92 kB / 401.8 MB, free: 0.4922 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.786e-05/0.09657, allocations: 4 kB / 401.8 MB, free: 500 kB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.185e-05/0.09659, allocations: 11.97 kB / 401.8 MB, free: 488 kB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.022e-05/0.09666, allocations: 11.94 kB / 401.8 MB, free: 476 kB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 1.704e-05/0.09668, allocations: 0 / 401.8 MB, free: 476 kB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.634e-06/0.09669, allocations: 0 / 401.8 MB, free: 476 kB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 1.736e-05/0.09672, allocations: 7.984 kB / 401.8 MB, free: 468 kB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 2.655e-05/0.09675, allocations: 11.88 kB / 401.8 MB, free: 456 kB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 3.825e-05/0.0968, allocations: 11.98 kB / 401.8 MB, free: 444 kB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.228e-06/0.09681, allocations: 0 / 401.8 MB, free: 444 kB / 286.1 MB Notification: Performance of FrontEnd: time 2.264e-06/0.09681, allocations: 0 / 401.8 MB, free: 444 kB / 286.1 MB Notification: Performance of Transformations before backend: time 3.477e-06/0.09682, allocations: 3.938 kB / 401.8 MB, free: 440 kB / 286.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.0003483/0.09717, allocations: 331.8 kB / 402.1 MB, free: 56 kB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.761e-05/0.09722, allocations: 12.03 kB / 402.2 MB, free: 44 kB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.285e-05/0.09726, allocations: 4.938 kB / 402.2 MB, free: 40 kB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.1435/0.2408, allocations: 174.2 kB / 402.3 MB, free: 10.68 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.02e-05/0.2409, allocations: 3 kB / 402.3 MB, free: 10.68 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.484e-05/0.2409, allocations: 11.69 kB / 402.3 MB, free: 10.68 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001155/0.241, allocations: 43.16 kB / 402.4 MB, free: 10.64 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.187e-05/0.2411, allocations: 1.969 kB / 402.4 MB, free: 10.64 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.007e-05/0.2411, allocations: 0 / 402.4 MB, free: 10.64 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.999e-06/0.2411, allocations: 0.9062 kB / 402.4 MB, free: 10.64 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.88e-05/0.2411, allocations: 22.97 kB / 402.4 MB, free: 10.64 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002984/0.2414, allocations: 247.1 kB / 402.7 MB, free: 10.38 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001082/0.2416, allocations: 55.17 kB / 402.7 MB, free: 10.36 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.577e-05/0.2416, allocations: 26.14 kB / 402.7 MB, free: 10.35 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.232e-05/0.2416, allocations: 0.7969 kB / 402.7 MB, free: 10.35 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.478e-05/0.2416, allocations: 31.47 kB / 402.8 MB, free: 10.31 MB / 286.1 MB Notification: Performance of pre-optimization done (n=6): time 1.583e-06/0.2417, allocations: 0.5 kB / 402.8 MB, free: 10.31 MB / 286.1 MB Notification: Performance of matching and sorting (n=8): time 0.0006636/0.2423, allocations: 0.5014 MB / 403.3 MB, free: 9.859 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.228e-05/0.2424, allocations: 56.72 kB / 403.3 MB, free: 9.797 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.852e-05/0.2424, allocations: 96.8 kB / 403.4 MB, free: 9.699 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 9.357e-06/0.2424, allocations: 33.14 kB / 403.5 MB, free: 9.664 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 1.908e-05/0.2425, allocations: 81.48 kB / 403.5 MB, free: 9.582 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.063e-05/0.2425, allocations: 32.58 kB / 403.6 MB, free: 9.562 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.96e-05/0.2425, allocations: 25.09 kB / 403.6 MB, free: 9.547 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 4.268e-05/0.2426, allocations: 321.5 kB / 403.9 MB, free: 9.23 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.547e-05/0.2426, allocations: 15.03 kB / 403.9 MB, free: 9.23 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.069e-05/0.2427, allocations: 27.55 kB / 403.9 MB, free: 9.215 MB / 286.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.0003511/0.243, allocations: 257.2 kB / 404.2 MB, free: 9.004 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.81e-07/0.243, allocations: 0 / 404.2 MB, free: 9.004 MB / 286.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001658/0.2432, allocations: 99.16 kB / 404.3 MB, free: 8.957 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.723e-05/0.2432, allocations: 6.625 kB / 404.3 MB, free: 8.957 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.879e-06/0.2432, allocations: 0 / 404.3 MB, free: 8.957 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001078/0.2434, allocations: 24.86 kB / 404.3 MB, free: 8.949 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.378e-05/0.2434, allocations: 11.19 kB / 404.3 MB, free: 8.949 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006921/0.2441, allocations: 1.293 MB / 405.6 MB, free: 7.676 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.395e-05/0.2442, allocations: 0.75 kB / 405.6 MB, free: 7.676 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.175e-06/0.2442, allocations: 7.609 kB / 405.6 MB, free: 7.676 MB / 286.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 8.197e-05/0.2443, allocations: 114 kB / 405.7 MB, free: 7.559 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.964e-05/0.2443, allocations: 6.688 kB / 405.8 MB, free: 7.559 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.334e-05/0.2443, allocations: 15.22 kB / 405.8 MB, free: 7.539 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.695e-06/0.2443, allocations: 2 kB / 405.8 MB, free: 7.539 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.897e-06/0.2443, allocations: 0.6875 kB / 405.8 MB, free: 7.539 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.317e-06/0.2444, allocations: 1.781 kB / 405.8 MB, free: 7.539 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000363/0.2447, allocations: 373.6 kB / 406.1 MB, free: 7.195 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.054e-06/0.2447, allocations: 1.156 kB / 406.1 MB, free: 7.195 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.465e-05/0.2448, allocations: 13.2 kB / 406.1 MB, free: 7.191 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.122e-05/0.2449, allocations: 19.53 kB / 406.2 MB, free: 7.184 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.12e-05/0.2449, allocations: 4.688 kB / 406.2 MB, free: 7.184 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006147/0.2455, allocations: 1.291 MB / 407.5 MB, free: 5.922 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.254e-06/0.2455, allocations: 4.156 kB / 407.5 MB, free: 5.922 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001955/0.2457, allocations: 232.3 kB / 407.7 MB, free: 5.746 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.969e-05/0.2458, allocations: 79.7 kB / 407.8 MB, free: 5.652 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.254e-05/0.2458, allocations: 5.672 kB / 407.8 MB, free: 5.652 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.777e-05/0.2458, allocations: 1.156 kB / 407.8 MB, free: 5.652 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.99e-05/0.2459, allocations: 13.61 kB / 407.8 MB, free: 5.652 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.983e-06/0.2459, allocations: 3.094 kB / 407.8 MB, free: 5.652 MB / 286.1 MB Notification: Performance of sorting global known variables: time 2.203e-05/0.2459, allocations: 79.59 kB / 407.9 MB, free: 5.578 MB / 286.1 MB Notification: Performance of sort global known variables: time 2.2e-07/0.2459, allocations: 4.812 kB / 407.9 MB, free: 5.574 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0002419/0.2462, allocations: 11.69 kB / 407.9 MB, free: 5.574 MB / 286.1 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 7.342e-05/0.2462, allocations: 99.72 kB / 408 MB, free: 5.484 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.0002366/0.2465, allocations: 167.3 kB / 408.2 MB, free: 5.367 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 2.485e-06/0.2465, allocations: 1.125 kB / 408.2 MB, free: 5.367 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00014/0.2467, allocations: 148.3 kB / 408.3 MB, free: 5.25 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002165/0.2469, allocations: 10.77 kB / 408.3 MB, free: 5.246 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002846/0.2472, allocations: 220.7 kB / 408.5 MB, free: 5.051 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001147/0.2473, allocations: 0.6926 MB / 409.2 MB, free: 4.348 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.021e-05/0.2473, allocations: 10.06 kB / 409.2 MB, free: 4.344 MB / 286.1 MB Notification: Performance of SimCode: time 2.81e-07/0.2473, allocations: 0 / 409.2 MB, free: 4.344 MB / 286.1 MB Notification: Performance of Templates: time 0.00264/0.25, allocations: 0.9165 MB / 410.1 MB, free: 4.312 MB / 286.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)