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.0008166/0.0008166, allocations: 99.19 kB / 16.02 MB, free: 76 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.0008801/0.00088, allocations: 182.4 kB / 16.92 MB, free: 6.918 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.357/1.357, allocations: 223.3 MB / 241 MB, free: 5.344 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.00292/0.002919, allocations: 0.5501 MB / 292.6 MB, free: 1.594 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003046/0.0003045, allocations: 8 kB / 353.9 MB, free: 2.516 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2365/0.2369, allocations: 50.57 MB / 404.5 MB, free: 10.03 MB / 286.1 MB Notification: Performance of NFInst.instantiate(ModelicaTestOverdetermined.InconsistentInitialization.Mechanical.TwoMassesEquationsFullInitialInconsistent): time 0.0006071/0.2375, allocations: 264.6 kB / 404.8 MB, free: 10.02 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.000142/0.2377, allocations: 24.73 kB / 404.8 MB, free: 10.02 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.567e-05/0.2377, allocations: 0 / 404.8 MB, free: 10.02 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 1.236e-05/0.2377, allocations: 0 / 404.8 MB, free: 10.02 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 2.882e-05/0.2378, allocations: 0.9062 kB / 404.8 MB, free: 10.02 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000113/0.2379, allocations: 10.2 kB / 404.8 MB, free: 10.02 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 5.331e-05/0.2379, allocations: 15.47 kB / 404.8 MB, free: 10.02 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.078e-05/0.238, allocations: 4.234 kB / 404.8 MB, free: 10.02 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.443e-05/0.238, allocations: 12.02 kB / 404.8 MB, free: 10.01 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.045e-05/0.2381, allocations: 17.89 kB / 404.9 MB, free: 10 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 1.845e-05/0.2381, allocations: 4.969 kB / 404.9 MB, free: 10 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.588e-06/0.2381, allocations: 2.406 kB / 404.9 MB, free: 10 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 1.683e-05/0.2382, allocations: 3.031 kB / 404.9 MB, free: 10 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 3.153e-05/0.2382, allocations: 39.58 kB / 404.9 MB, free: 9.965 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 3.642e-05/0.2382, allocations: 7.156 kB / 404.9 MB, free: 9.965 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.815e-06/0.2383, allocations: 0 / 404.9 MB, free: 9.965 MB / 286.1 MB Notification: Performance of FrontEnd: time 2.154e-06/0.2383, allocations: 0.5625 kB / 404.9 MB, free: 9.965 MB / 286.1 MB Notification: Performance of Transformations before backend: time 3.637e-06/0.2383, allocations: 0 / 404.9 MB, free: 9.965 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.000262/0.2385, allocations: 330.5 kB / 405.2 MB, free: 9.609 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.879e-05/0.2386, allocations: 9.594 kB / 405.2 MB, free: 9.609 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.363e-05/0.2386, allocations: 6.781 kB / 405.2 MB, free: 9.605 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.094e-05/0.2387, allocations: 167.2 kB / 405.4 MB, free: 9.41 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.39e-05/0.2387, allocations: 5.859 kB / 405.4 MB, free: 9.41 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.266e-05/0.2387, allocations: 3.5 kB / 405.4 MB, free: 9.41 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001022/0.2389, allocations: 45.48 kB / 405.5 MB, free: 9.379 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.059e-05/0.2389, allocations: 1.359 kB / 405.5 MB, free: 9.379 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.648e-06/0.2389, allocations: 4.719 kB / 405.5 MB, free: 9.375 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.639e-06/0.2389, allocations: 0.7812 kB / 405.5 MB, free: 9.375 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.448e-05/0.2389, allocations: 22.97 kB / 405.5 MB, free: 9.367 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002454/0.2392, allocations: 250 kB / 405.7 MB, free: 9.098 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.804e-05/0.2393, allocations: 51.03 kB / 405.8 MB, free: 9.074 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.638e-05/0.2393, allocations: 22.75 kB / 405.8 MB, free: 9.062 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.466e-06/0.2394, allocations: 5.125 kB / 405.8 MB, free: 9.059 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.412e-05/0.2394, allocations: 43.81 kB / 405.9 MB, free: 9.012 MB / 286.1 MB Notification: Performance of pre-optimization done (n=6): time 1.333e-06/0.2394, allocations: 0 / 405.9 MB, free: 9.012 MB / 286.1 MB Notification: Performance of matching and sorting (n=8): time 0.0006299/0.24, allocations: 0.4963 MB / 406.4 MB, free: 8.566 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.051e-05/0.2401, allocations: 53.08 kB / 406.4 MB, free: 8.504 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.577e-05/0.2401, allocations: 98.56 kB / 406.5 MB, free: 8.406 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 7.895e-06/0.2401, allocations: 30.89 kB / 406.5 MB, free: 8.371 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 1.931e-05/0.2401, allocations: 85.58 kB / 406.6 MB, free: 8.289 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.072e-05/0.2402, allocations: 30.41 kB / 406.6 MB, free: 8.27 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.342e-05/0.2402, allocations: 17.42 kB / 406.7 MB, free: 8.254 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 3.817e-05/0.2403, allocations: 317 kB / 407 MB, free: 7.938 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.005e-05/0.2403, allocations: 17.78 kB / 407 MB, free: 7.938 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.918e-05/0.2403, allocations: 30.62 kB / 407 MB, free: 7.922 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.0003023/0.2406, allocations: 249.5 kB / 407.3 MB, free: 7.711 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.102e-06/0.2406, allocations: 0.7812 kB / 407.3 MB, free: 7.711 MB / 286.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001578/0.2408, allocations: 103 kB / 407.4 MB, free: 7.66 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.609e-05/0.2408, allocations: 5.828 kB / 407.4 MB, free: 7.66 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.4e-06/0.2408, allocations: 1.375 kB / 407.4 MB, free: 7.66 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001047/0.241, allocations: 25.81 kB / 407.4 MB, free: 7.648 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.034e-05/0.241, allocations: 14.89 kB / 407.4 MB, free: 7.645 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006918/0.2417, allocations: 1.283 MB / 408.7 MB, free: 6.379 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.067e-05/0.2418, allocations: 3.969 kB / 408.7 MB, free: 6.379 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.193e-06/0.2418, allocations: 6.875 kB / 408.7 MB, free: 6.375 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 sytem: 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.391e-05/0.2418, allocations: 112.1 kB / 408.8 MB, free: 6.262 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.661e-05/0.2419, allocations: 12.47 kB / 408.8 MB, free: 6.254 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.186e-05/0.2419, allocations: 9.172 kB / 408.8 MB, free: 6.242 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.104e-06/0.2419, allocations: 1.312 kB / 408.8 MB, free: 6.242 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.168e-06/0.2419, allocations: 1.641 kB / 408.8 MB, free: 6.242 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.667e-06/0.2419, allocations: 0.75 kB / 408.8 MB, free: 6.242 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003445/0.2423, allocations: 370.2 kB / 409.2 MB, free: 5.898 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.757e-06/0.2423, allocations: 5.797 kB / 409.2 MB, free: 5.895 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.938e-05/0.2423, allocations: 9.594 kB / 409.2 MB, free: 5.895 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.841e-05/0.2424, allocations: 20.95 kB / 409.2 MB, free: 5.887 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.053e-05/0.2424, allocations: 8.094 kB / 409.2 MB, free: 5.883 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006372/0.2431, allocations: 1.293 MB / 410.5 MB, free: 4.617 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.006e-06/0.2431, allocations: 1.75 kB / 410.5 MB, free: 4.617 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002082/0.2433, allocations: 232 kB / 410.8 MB, free: 4.441 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.848e-05/0.2433, allocations: 79.83 kB / 410.8 MB, free: 4.348 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.118e-05/0.2433, allocations: 4.297 kB / 410.8 MB, free: 4.348 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.495e-05/0.2434, allocations: 3.453 kB / 410.9 MB, free: 4.348 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.655e-05/0.2434, allocations: 15.39 kB / 410.9 MB, free: 4.34 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.502e-06/0.2435, allocations: 4.203 kB / 410.9 MB, free: 4.34 MB / 286.1 MB Notification: Performance of sorting global known variables: time 1.96e-05/0.2435, allocations: 79.33 kB / 410.9 MB, free: 4.266 MB / 286.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.2435, allocations: 1.094 kB / 410.9 MB, free: 4.266 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0002383/0.2437, allocations: 15.53 kB / 411 MB, free: 4.262 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.62e-05/0.2438, allocations: 103.1 kB / 411.1 MB, free: 4.168 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.0002587/0.2441, allocations: 162.9 kB / 411.2 MB, free: 4.055 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 2.425e-06/0.2441, allocations: 1.562 kB / 411.2 MB, free: 4.055 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001459/0.2442, allocations: 148 kB / 411.4 MB, free: 3.938 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002185/0.2445, allocations: 6.344 kB / 411.4 MB, free: 3.938 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002814/0.2448, allocations: 218.9 kB / 411.6 MB, free: 3.738 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001154/0.2449, allocations: 0.6889 MB / 412.3 MB, free: 3.039 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.974e-05/0.2449, allocations: 9.469 kB / 412.3 MB, free: 3.035 MB / 286.1 MB Notification: Performance of SimCode: time 3.81e-07/0.2449, allocations: 1.125 kB / 412.3 MB, free: 3.035 MB / 286.1 MB Notification: Performance of Templates: time 0.002669/0.2476, allocations: 0.9299 MB / 413.2 MB, free: 2.992 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)