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.001057/0.001057, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001049/0.001049, allocations: 196.4 kB / 16.14 MB, free: 6.707 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.445/1.445, allocations: 222.9 MB / 239.8 MB, free: 4.625 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.00351/0.00351, allocations: 0.5624 MB / 290.5 MB, free: 1.934 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00107/0.00107, allocations: 59.91 kB / 350.9 MB, free: 2.805 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.114/0.1151, allocations: 49.6 MB / 400.5 MB, free: 1.168 MB / 286.1 MB Notification: Performance of NFInst.instantiate(ModelicaTestOverdetermined.InconsistentInitialization.Mechanical.TwoMassesEquationsFullInitialInconsistent): time 0.001528/0.1167, allocations: 0.5892 MB / 401.1 MB, free: 0.5781 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.0001301/0.1168, allocations: 27.89 kB / 401.1 MB, free: 0.5508 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.758e-05/0.1168, allocations: 0 / 401.1 MB, free: 0.5508 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 1.979e-05/0.1169, allocations: 0 / 401.1 MB, free: 0.5508 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 3.438e-05/0.1169, allocations: 0 / 401.1 MB, free: 0.5508 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000161/0.1171, allocations: 8 kB / 401.1 MB, free: 0.543 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 6.714e-05/0.1171, allocations: 23.86 kB / 401.1 MB, free: 0.5195 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.521e-05/0.1172, allocations: 4 kB / 401.1 MB, free: 0.5156 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.769e-05/0.1172, allocations: 8 kB / 401.1 MB, free: 0.5078 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.901e-05/0.1173, allocations: 7.922 kB / 401.1 MB, free: 0.5 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 2.322e-05/0.1174, allocations: 8 kB / 401.1 MB, free: 0.4922 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.227e-05/0.1174, allocations: 3.938 kB / 401.1 MB, free: 500 kB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 2.773e-05/0.1174, allocations: 7.984 kB / 401.2 MB, free: 492 kB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 3.78e-05/0.1175, allocations: 11.92 kB / 401.2 MB, free: 480 kB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 7.593e-05/0.1175, allocations: 15.92 kB / 401.2 MB, free: 464 kB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.169e-06/0.1175, allocations: 0 / 401.2 MB, free: 464 kB / 286.1 MB Notification: Performance of FrontEnd: time 8.81e-07/0.1175, allocations: 0 / 401.2 MB, free: 464 kB / 286.1 MB Notification: Performance of Transformations before backend: time 5.44e-06/0.1176, allocations: 0 / 401.2 MB, free: 464 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.0005272/0.1181, allocations: 331.8 kB / 401.5 MB, free: 80 kB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.253e-05/0.1181, allocations: 12.03 kB / 401.5 MB, free: 68 kB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.342e-05/0.1182, allocations: 4.938 kB / 401.5 MB, free: 64 kB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.2395/0.3577, allocations: 162.4 kB / 401.7 MB, free: 10.69 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.436e-05/0.3578, allocations: 0.9688 kB / 401.7 MB, free: 10.69 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.842e-05/0.3578, allocations: 8.297 kB / 401.7 MB, free: 10.69 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001651/0.358, allocations: 49.22 kB / 401.7 MB, free: 10.66 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.651e-05/0.358, allocations: 2 kB / 401.7 MB, free: 10.66 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.371e-05/0.358, allocations: 0 / 401.7 MB, free: 10.66 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.352e-06/0.3581, allocations: 1.781 kB / 401.7 MB, free: 10.66 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.934e-05/0.3581, allocations: 18.23 kB / 401.8 MB, free: 10.65 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004039/0.3585, allocations: 248.4 kB / 402 MB, free: 10.39 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000125/0.3587, allocations: 51.41 kB / 402.1 MB, free: 10.37 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.5e-05/0.3587, allocations: 22.52 kB / 402.1 MB, free: 10.36 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.084e-05/0.3587, allocations: 2.922 kB / 402.1 MB, free: 10.36 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.248e-05/0.3588, allocations: 38.3 kB / 402.1 MB, free: 10.32 MB / 286.1 MB Notification: Performance of pre-optimization done (n=6): time 1.503e-06/0.3588, allocations: 0 / 402.1 MB, free: 10.32 MB / 286.1 MB Notification: Performance of matching and sorting (n=8): time 0.0007649/0.3595, allocations: 0.5052 MB / 402.6 MB, free: 9.875 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.039e-05/0.3596, allocations: 55.64 kB / 402.7 MB, free: 9.812 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.706e-05/0.3597, allocations: 102.6 kB / 402.8 MB, free: 9.715 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 9.417e-06/0.3597, allocations: 25.7 kB / 402.8 MB, free: 9.684 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.752e-05/0.3597, allocations: 88.14 kB / 402.9 MB, free: 9.602 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.434e-05/0.3598, allocations: 29.52 kB / 402.9 MB, free: 9.582 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.4e-05/0.3598, allocations: 26.28 kB / 402.9 MB, free: 9.566 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 7.241e-05/0.3599, allocations: 318.5 kB / 403.2 MB, free: 9.25 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.34e-05/0.3599, allocations: 17.95 kB / 403.3 MB, free: 9.25 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.352e-05/0.36, allocations: 31.28 kB / 403.3 MB, free: 9.234 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.0004441/0.3605, allocations: 254.8 kB / 403.5 MB, free: 9.027 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.703e-06/0.3605, allocations: 0.6562 kB / 403.5 MB, free: 9.027 MB / 286.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001784/0.3606, allocations: 93.14 kB / 403.6 MB, free: 8.984 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.242e-05/0.3607, allocations: 7.25 kB / 403.6 MB, free: 8.984 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.074e-06/0.3607, allocations: 1.594 kB / 403.6 MB, free: 8.984 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001367/0.3608, allocations: 26.41 kB / 403.7 MB, free: 8.977 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.574e-05/0.3609, allocations: 10.39 kB / 403.7 MB, free: 8.977 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009224/0.3618, allocations: 1.291 MB / 405 MB, free: 7.707 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.398e-05/0.3619, allocations: 2.156 kB / 405 MB, free: 7.707 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.057e-05/0.3619, allocations: 2.281 kB / 405 MB, free: 7.707 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 9.288e-05/0.362, allocations: 117.3 kB / 405.1 MB, free: 7.59 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.613e-05/0.362, allocations: 2.984 kB / 405.1 MB, free: 7.59 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.604e-05/0.3621, allocations: 12.44 kB / 405.1 MB, free: 7.57 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.236e-06/0.3621, allocations: 1.688 kB / 405.1 MB, free: 7.57 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.41e-06/0.3621, allocations: 4.688 kB / 405.1 MB, free: 7.566 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.799e-06/0.3621, allocations: 1.406 kB / 405.1 MB, free: 7.566 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000431/0.3625, allocations: 379.3 kB / 405.5 MB, free: 7.223 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.987e-06/0.3625, allocations: 2.766 kB / 405.5 MB, free: 7.223 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.979e-05/0.3626, allocations: 8.203 kB / 405.5 MB, free: 7.223 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.81e-05/0.3627, allocations: 22.72 kB / 405.5 MB, free: 7.215 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.434e-05/0.3627, allocations: 2.672 kB / 405.5 MB, free: 7.215 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008037/0.3635, allocations: 1.292 MB / 406.8 MB, free: 5.953 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.34e-06/0.3635, allocations: 1.875 kB / 406.8 MB, free: 5.953 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000261/0.3638, allocations: 230.2 kB / 407 MB, free: 5.777 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.029e-05/0.3638, allocations: 84.52 kB / 407.1 MB, free: 5.68 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.189e-05/0.3639, allocations: 4.812 kB / 407.1 MB, free: 5.68 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.552e-05/0.3639, allocations: 3.094 kB / 407.1 MB, free: 5.68 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.636e-05/0.364, allocations: 7.422 kB / 407.1 MB, free: 5.68 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.875e-06/0.364, allocations: 7.5 kB / 407.1 MB, free: 5.676 MB / 286.1 MB Notification: Performance of sorting global known variables: time 4.062e-05/0.364, allocations: 80.7 kB / 407.2 MB, free: 5.602 MB / 286.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.364, allocations: 3.062 kB / 407.2 MB, free: 5.602 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0002748/0.3643, allocations: 12.22 kB / 407.2 MB, free: 5.602 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 9.906e-05/0.3644, allocations: 104 kB / 407.3 MB, free: 5.508 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.0003241/0.3648, allocations: 158.3 kB / 407.5 MB, free: 5.398 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 2.785e-06/0.3648, allocations: 4 kB / 407.5 MB, free: 5.395 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001707/0.3649, allocations: 143.3 kB / 407.6 MB, free: 5.281 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002582/0.3652, allocations: 15.67 kB / 407.7 MB, free: 5.273 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004509/0.3657, allocations: 196 kB / 407.8 MB, free: 5.105 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002351/0.3659, allocations: 0.6853 MB / 408.5 MB, free: 4.41 MB / 286.1 MB Notification: Performance of simCode: alias equations: time 2.53e-05/0.3659, allocations: 2.703 kB / 408.5 MB, free: 4.41 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.481e-05/0.366, allocations: 10.62 kB / 408.5 MB, free: 4.406 MB / 286.1 MB Notification: Performance of SimCode: time 2e-07/0.366, allocations: 0 / 408.5 MB, free: 4.406 MB / 286.1 MB Notification: Performance of Templates: time 0.003639/0.3696, allocations: 0.6574 MB / 409.2 MB, free: 4.375 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)