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.001489/0.001489, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001983/0.001983, allocations: 195.3 kB / 16.54 MB, free: 6.672 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.495/1.495, allocations: 222.9 MB / 240.2 MB, free: 4.379 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.006185/0.006185, allocations: 0.5662 MB / 290.9 MB, free: 1.688 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001478/0.001478, allocations: 59.91 kB / 351.5 MB, free: 2.277 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1322/0.1337, allocations: 49.59 MB / 401.1 MB, free: 0.6523 MB / 286.1 MB Notification: Performance of NFInst.instantiate(ModelicaTestOverdetermined.InconsistentInitialization.Mechanical.TwoMassesEquationsFullInitialInconsistent): time 0.002096/0.1358, allocations: 0.5301 MB / 401.7 MB, free: 124 kB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.0001786/0.136, allocations: 23.89 kB / 401.7 MB, free: 100 kB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.356e-05/0.136, allocations: 0 / 401.7 MB, free: 100 kB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 1.36e-05/0.1361, allocations: 4 kB / 401.7 MB, free: 96 kB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 3.225e-05/0.1361, allocations: 7.875 kB / 401.7 MB, free: 88 kB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001317/0.1362, allocations: 11.98 kB / 401.7 MB, free: 76 kB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 5.807e-05/0.1363, allocations: 11.98 kB / 401.7 MB, free: 64 kB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.021e-05/0.1364, allocations: 19.98 kB / 401.7 MB, free: 44 kB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.568e-05/0.1364, allocations: 7.938 kB / 401.7 MB, free: 36 kB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.217e-05/0.1365, allocations: 15.92 kB / 401.8 MB, free: 20 kB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 2.058e-05/0.1365, allocations: 0 / 401.8 MB, free: 20 kB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.069e-05/0.1365, allocations: 0 / 401.8 MB, free: 20 kB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 1.919e-05/0.1366, allocations: 4 kB / 401.8 MB, free: 16 kB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 3.25e-05/0.1366, allocations: 7.938 kB / 401.8 MB, free: 8 kB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.2234/0.36, allocations: 14.3 kB / 401.8 MB, free: 10.32 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.885e-06/0.36, allocations: 0 / 401.8 MB, free: 10.32 MB / 286.1 MB Notification: Performance of FrontEnd: time 2.685e-06/0.36, allocations: 0.5625 kB / 401.8 MB, free: 10.32 MB / 286.1 MB Notification: Performance of Transformations before backend: time 7.624e-06/0.3601, allocations: 3.094 kB / 401.8 MB, free: 10.32 MB / 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.0003965/0.3605, allocations: 337 kB / 402.1 MB, free: 9.973 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.751e-05/0.3605, allocations: 12.98 kB / 402.1 MB, free: 9.969 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.468e-05/0.3606, allocations: 3.344 kB / 402.1 MB, free: 9.969 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.994e-05/0.3607, allocations: 166.6 kB / 402.3 MB, free: 9.773 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.09e-05/0.3607, allocations: 1.938 kB / 402.3 MB, free: 9.773 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.533e-05/0.3607, allocations: 3.812 kB / 402.3 MB, free: 9.773 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001188/0.3609, allocations: 49.81 kB / 402.4 MB, free: 9.742 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.191e-05/0.3609, allocations: 1.828 kB / 402.4 MB, free: 9.742 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.095e-05/0.3609, allocations: 7.531 kB / 402.4 MB, free: 9.738 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.36e-06/0.3609, allocations: 1.125 kB / 402.4 MB, free: 9.738 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.602e-05/0.361, allocations: 18.67 kB / 402.4 MB, free: 9.738 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000298/0.3613, allocations: 248.2 kB / 402.6 MB, free: 9.473 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000115/0.3614, allocations: 53.8 kB / 402.7 MB, free: 9.449 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.775e-05/0.3614, allocations: 23.8 kB / 402.7 MB, free: 9.438 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.977e-06/0.3615, allocations: 1.281 kB / 402.7 MB, free: 9.438 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.601e-05/0.3615, allocations: 35.78 kB / 402.7 MB, free: 9.398 MB / 286.1 MB Notification: Performance of pre-optimization done (n=6): time 1.102e-06/0.3615, allocations: 0 / 402.7 MB, free: 9.398 MB / 286.1 MB Notification: Performance of matching and sorting (n=8): time 0.0007183/0.3622, allocations: 0.4999 MB / 403.2 MB, free: 8.961 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.428e-05/0.3622, allocations: 52.78 kB / 403.3 MB, free: 8.898 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.752e-05/0.3623, allocations: 101.4 kB / 403.4 MB, free: 8.801 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 1.006e-05/0.3623, allocations: 26.92 kB / 403.4 MB, free: 8.77 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.238e-05/0.3624, allocations: 84.89 kB / 403.5 MB, free: 8.688 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.556e-05/0.3624, allocations: 29.09 kB / 403.5 MB, free: 8.668 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.813e-05/0.3624, allocations: 28.14 kB / 403.6 MB, free: 8.652 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 5.166e-05/0.3625, allocations: 325.2 kB / 403.9 MB, free: 8.332 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.744e-05/0.3625, allocations: 17.98 kB / 403.9 MB, free: 8.332 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.225e-05/0.3626, allocations: 28.97 kB / 403.9 MB, free: 8.316 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.0004123/0.363, allocations: 248.6 kB / 404.2 MB, free: 8.113 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.583e-06/0.363, allocations: 1.719 kB / 404.2 MB, free: 8.113 MB / 286.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001721/0.3632, allocations: 103.7 kB / 404.3 MB, free: 8.062 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.94e-05/0.3632, allocations: 5.031 kB / 404.3 MB, free: 8.062 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.223e-06/0.3632, allocations: 0.5312 kB / 404.3 MB, free: 8.062 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001341/0.3634, allocations: 26.2 kB / 404.3 MB, free: 8.051 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.901e-05/0.3635, allocations: 11.23 kB / 404.3 MB, free: 8.051 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008794/0.3644, allocations: 1.384 MB / 405.7 MB, free: 6.688 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.255e-05/0.3644, allocations: 2.906 kB / 405.7 MB, free: 6.688 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.174e-06/0.3644, allocations: 2.375 kB / 405.7 MB, free: 6.688 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.516e-05/0.3645, allocations: 121.8 kB / 405.8 MB, free: 6.566 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.73e-05/0.3645, allocations: 3.156 kB / 405.8 MB, free: 6.566 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.25e-05/0.3646, allocations: 10.45 kB / 405.8 MB, free: 6.555 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.126e-06/0.3646, allocations: 2.125 kB / 405.8 MB, free: 6.555 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.898e-06/0.3646, allocations: 0 / 405.8 MB, free: 6.555 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.078e-06/0.3646, allocations: 1.844 kB / 405.8 MB, free: 6.555 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003912/0.365, allocations: 372.7 kB / 406.2 MB, free: 6.211 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.717e-06/0.365, allocations: 4 kB / 406.2 MB, free: 6.211 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.112e-05/0.365, allocations: 12.33 kB / 406.2 MB, free: 6.207 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.197e-05/0.3651, allocations: 26.42 kB / 406.2 MB, free: 6.195 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.179e-05/0.3651, allocations: 5.469 kB / 406.2 MB, free: 6.195 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007284/0.3659, allocations: 1.378 MB / 407.6 MB, free: 4.848 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.229e-06/0.3659, allocations: 5.969 kB / 407.6 MB, free: 4.844 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003538/0.3663, allocations: 231.4 kB / 407.8 MB, free: 4.668 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.426e-05/0.3663, allocations: 84.8 kB / 407.9 MB, free: 4.574 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.121e-05/0.3663, allocations: 1.219 kB / 407.9 MB, free: 4.574 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.651e-05/0.3664, allocations: 5.781 kB / 407.9 MB, free: 4.57 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.994e-05/0.3665, allocations: 15.16 kB / 408 MB, free: 4.566 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.067e-06/0.3665, allocations: 5.812 kB / 408 MB, free: 4.566 MB / 286.1 MB Notification: Performance of sorting global known variables: time 4.361e-05/0.3665, allocations: 78.55 kB / 408 MB, free: 4.492 MB / 286.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3665, allocations: 0 / 408 MB, free: 4.492 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0002683/0.3668, allocations: 11.5 kB / 408 MB, free: 4.492 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 0.0001145/0.3669, allocations: 102.1 kB / 408.1 MB, free: 4.402 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.0003808/0.3673, allocations: 171.1 kB / 408.3 MB, free: 4.281 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 4.087e-06/0.3673, allocations: 0 / 408.3 MB, free: 4.281 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001944/0.3675, allocations: 144 kB / 408.5 MB, free: 4.168 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002571/0.3678, allocations: 6.578 kB / 408.5 MB, free: 4.168 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004368/0.3683, allocations: 183 kB / 408.6 MB, free: 4.012 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001938/0.3685, allocations: 0.6844 MB / 409.3 MB, free: 3.316 MB / 286.1 MB Notification: Performance of simCode: alias equations: time 2.509e-05/0.3685, allocations: 3.578 kB / 409.3 MB, free: 3.316 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.697e-05/0.3685, allocations: 9.656 kB / 409.3 MB, free: 3.312 MB / 286.1 MB Notification: Performance of SimCode: time 2.11e-07/0.3685, allocations: 0 / 409.3 MB, free: 3.312 MB / 286.1 MB Notification: Performance of Templates: time 0.003692/0.3722, allocations: 0.6856 MB / 410 MB, free: 3.285 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)