Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTestOverdetermined_ModelicaTestOverdetermined.InconsistentInitialization.Mechanical.TwoMassesFullInitialInconsistent.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.TwoMassesFullInitialInconsistent,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTestOverdetermined_ModelicaTestOverdetermined.InconsistentInitialization.Mechanical.TwoMassesFullInitialInconsistent") translateModel(ModelicaTestOverdetermined.InconsistentInitialization.Mechanical.TwoMassesFullInitialInconsistent,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTestOverdetermined_ModelicaTestOverdetermined.InconsistentInitialization.Mechanical.TwoMassesFullInitialInconsistent") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00105/0.00105, allocations: 105.6 kB / 15.99 MB, free: 6.355 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.001054/0.001054, allocations: 195.8 kB / 16.91 MB, free: 6.188 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.329/1.329, allocations: 222.9 MB / 240.6 MB, free: 15.49 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTestOverdetermined 4.0.0+maint.om/package.mo): time 0.003289/0.003288, allocations: 0.57 MB / 291.3 MB, free: 14.45 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001324/0.001324, allocations: 63.91 kB / 351.7 MB, free: 2 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2222/0.2235, allocations: 49.58 MB / 401.3 MB, free: 36.23 MB / 302.1 MB Notification: Performance of NFInst.instantiate(ModelicaTestOverdetermined.InconsistentInitialization.Mechanical.TwoMassesFullInitialInconsistent): time 0.002889/0.2265, allocations: 1.714 MB / 403 MB, free: 34.52 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002854/0.2268, allocations: 99.69 kB / 403.1 MB, free: 34.43 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.688e-05/0.2269, allocations: 0 / 403.1 MB, free: 34.43 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 6.487e-05/0.2269, allocations: 11.92 kB / 403.1 MB, free: 34.41 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001032/0.2271, allocations: 31.77 kB / 403.2 MB, free: 34.38 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001351/0.2272, allocations: 11.98 kB / 403.2 MB, free: 34.37 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001086/0.2273, allocations: 111.5 kB / 403.3 MB, free: 34.26 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001493/0.2275, allocations: 39.95 kB / 403.3 MB, free: 34.22 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.885e-05/0.2275, allocations: 39.92 kB / 403.4 MB, free: 34.18 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.659e-05/0.2276, allocations: 43.78 kB / 403.4 MB, free: 34.14 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 2.007e-05/0.2276, allocations: 8 kB / 403.4 MB, free: 34.13 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.867e-05/0.2277, allocations: 8 kB / 403.4 MB, free: 34.12 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 2.352e-05/0.2277, allocations: 23.92 kB / 403.4 MB, free: 34.1 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 4.804e-05/0.2277, allocations: 51.78 kB / 403.5 MB, free: 34.05 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 9.803e-05/0.2279, allocations: 81.72 kB / 403.6 MB, free: 33.97 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.819e-06/0.2279, allocations: 0 / 403.6 MB, free: 33.97 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.724e-06/0.2279, allocations: 0 / 403.6 MB, free: 33.97 MB / 302.1 MB Notification: Performance of Transformations before backend: time 5.67e-06/0.2279, allocations: 0 / 403.6 MB, free: 33.97 MB / 302.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 22 * Number of variables: 22 Notification: Performance of Generate backend data structure: time 0.0004465/0.2283, allocations: 400.1 kB / 404 MB, free: 33.53 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.79e-05/0.2284, allocations: 15.89 kB / 404 MB, free: 33.52 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.279e-05/0.2284, allocations: 16.75 kB / 404 MB, free: 33.5 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001341/0.2286, allocations: 188.2 kB / 404.2 MB, free: 33.28 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.177e-05/0.2286, allocations: 4.562 kB / 404.2 MB, free: 33.27 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.756e-05/0.2286, allocations: 12.28 kB / 404.2 MB, free: 33.26 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001697/0.2288, allocations: 104.3 kB / 404.3 MB, free: 33.16 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.268e-05/0.2288, allocations: 7.938 kB / 404.3 MB, free: 33.15 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.237e-05/0.2288, allocations: 0 / 404.3 MB, free: 33.15 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.821e-06/0.2288, allocations: 4 kB / 404.3 MB, free: 33.14 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.856e-05/0.2289, allocations: 59.95 kB / 404.4 MB, free: 33.09 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004361/0.2294, allocations: 384.6 kB / 404.7 MB, free: 32.66 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001462/0.2295, allocations: 102.5 kB / 404.8 MB, free: 32.55 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.152e-05/0.2296, allocations: 40.78 kB / 404.9 MB, free: 32.51 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.467e-05/0.2296, allocations: 4 kB / 404.9 MB, free: 32.5 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.602e-05/0.2296, allocations: 30.56 kB / 404.9 MB, free: 32.46 MB / 302.1 MB Notification: Performance of pre-optimization done (n=12): time 1.292e-06/0.2296, allocations: 0 / 404.9 MB, free: 32.46 MB / 302.1 MB Notification: Performance of matching and sorting (n=16): time 0.0008885/0.2305, allocations: 0.6909 MB / 405.6 MB, free: 31.68 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.099e-05/0.2306, allocations: 51.41 kB / 405.7 MB, free: 31.62 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.364e-05/0.2306, allocations: 121.8 kB / 405.8 MB, free: 31.49 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.051e-05/0.2307, allocations: 29.7 kB / 405.8 MB, free: 31.45 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.14e-05/0.2307, allocations: 100.3 kB / 405.9 MB, free: 31.35 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.992e-05/0.2307, allocations: 59.19 kB / 406 MB, free: 31.29 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.259e-05/0.2308, allocations: 37.72 kB / 406 MB, free: 31.25 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 4.768e-05/0.2308, allocations: 322.8 kB / 406.3 MB, free: 30.93 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.886e-05/0.2309, allocations: 31.98 kB / 406.3 MB, free: 30.89 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.107e-05/0.231, allocations: 70.95 kB / 406.4 MB, free: 30.82 MB / 302.1 MB Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: mass1.v = $START.mass1.v ($START.mass2.v = $START.mass1.v) Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: mass2.s = $START.mass2.s ($START.mass1.s + 0.5 * (mass1.L + mass2.L) = $START.mass2.s) Notification: Performance of analyzeInitialSystem (initialization): time 0.0006341/0.2316, allocations: 406.6 kB / 406.8 MB, free: 30.38 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.072e-06/0.2316, allocations: 0 / 406.8 MB, free: 30.38 MB / 302.1 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0002061/0.2318, allocations: 180.6 kB / 407 MB, free: 30.19 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.385e-05/0.2319, allocations: 4 kB / 407 MB, free: 30.19 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.51e-06/0.2319, allocations: 4 kB / 407 MB, free: 30.18 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001197/0.232, allocations: 28.78 kB / 407 MB, free: 30.15 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.381e-05/0.2321, allocations: 23.98 kB / 407 MB, free: 30.13 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008531/0.2329, allocations: 1.615 MB / 408.7 MB, free: 28.37 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.836e-05/0.233, allocations: 4 kB / 408.7 MB, free: 28.36 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.195e-06/0.233, allocations: 4.062 kB / 408.7 MB, free: 28.36 MB / 302.1 MB Warning: The initial conditions are over specified. The following 2 initial equations are redundant, so they are removed from the initialization system: mass1.v = $START.mass1.v mass2.s = $START.mass2.s. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * 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 (16): * Single equations (assignments): 15 * 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,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 8.151e-05/0.2331, allocations: 134.4 kB / 408.8 MB, free: 28.22 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.912e-05/0.2331, allocations: 11.89 kB / 408.8 MB, free: 28.21 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.219e-05/0.2332, allocations: 20.84 kB / 408.8 MB, free: 28.18 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.713e-06/0.2332, allocations: 0 / 408.8 MB, free: 28.18 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.196e-06/0.2332, allocations: 0 / 408.8 MB, free: 28.18 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.995e-06/0.2332, allocations: 0 / 408.8 MB, free: 28.18 MB / 302.1 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000474/0.2337, allocations: 0.5903 MB / 409.4 MB, free: 27.5 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.695e-06/0.2337, allocations: 8.078 kB / 409.4 MB, free: 27.49 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001128/0.2338, allocations: 27.92 kB / 409.5 MB, free: 27.46 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.161e-05/0.2339, allocations: 28.92 kB / 409.5 MB, free: 27.43 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.234e-05/0.2339, allocations: 11.94 kB / 409.5 MB, free: 27.42 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005539/0.2345, allocations: 1.363 MB / 410.9 MB, free: 25.92 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.292e-06/0.2345, allocations: 0 / 410.9 MB, free: 25.92 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002547/0.2347, allocations: 307.3 kB / 411.2 MB, free: 25.59 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.358e-05/0.2348, allocations: 85.05 kB / 411.2 MB, free: 25.49 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.63e-05/0.2348, allocations: 8 kB / 411.2 MB, free: 25.48 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.664e-05/0.2349, allocations: 7.938 kB / 411.3 MB, free: 25.48 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.394e-05/0.2349, allocations: 11.98 kB / 411.3 MB, free: 25.46 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.762e-06/0.2349, allocations: 7.938 kB / 411.3 MB, free: 25.46 MB / 302.1 MB Notification: Performance of sorting global known variables: time 3.367e-05/0.2349, allocations: 96.8 kB / 411.4 MB, free: 25.36 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.235, allocations: 4.062 kB / 411.4 MB, free: 25.36 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002991/0.2353, allocations: 32 kB / 411.4 MB, free: 25.33 MB / 302.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 2 (mass2.s,mass2.v) * 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 (15): * Single equations (assignments): 14 * 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,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 7.001e-05/0.2353, allocations: 95.25 kB / 411.5 MB, free: 25.22 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.000353/0.2357, allocations: 230.5 kB / 411.7 MB, free: 24.98 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 3.336e-06/0.2357, allocations: 0 / 411.7 MB, free: 24.98 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001379/0.2358, allocations: 178.5 kB / 411.9 MB, free: 24.8 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003367/0.2362, allocations: 22.5 kB / 411.9 MB, free: 24.78 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005993/0.2368, allocations: 468.4 kB / 412.4 MB, free: 24.29 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001261/0.2369, allocations: 0.7124 MB / 413.1 MB, free: 23.55 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.981e-05/0.237, allocations: 15.44 kB / 413.1 MB, free: 23.53 MB / 302.1 MB Notification: Performance of SimCode: time 2.3e-07/0.237, allocations: 0 / 413.1 MB, free: 23.53 MB / 302.1 MB Notification: Performance of Templates: time 0.003128/0.2401, allocations: 1.962 MB / 415.1 MB, free: 21.58 MB / 302.1 MB make -j1 -f ModelicaTestOverdetermined_ModelicaTestOverdetermined.InconsistentInitialization.Mechanical.TwoMassesFullInitialInconsistent.makefile (rm -f ModelicaTestOverdetermined_ModelicaTestOverdetermined.InconsistentInitialization.Mechanical.TwoMassesFullInitialInconsistent.pipe ; mkfifo ModelicaTestOverdetermined_ModelicaTestOverdetermined.InconsistentInitialization.Mechanical.TwoMassesFullInitialInconsistent.pipe ; head -c 1048576 < ModelicaTestOverdetermined_ModelicaTestOverdetermined.InconsistentInitialization.Mechanical.TwoMassesFullInitialInconsistent.pipe >> ../files/ModelicaTestOverdetermined_ModelicaTestOverdetermined.InconsistentInitialization.Mechanical.TwoMassesFullInitialInconsistent.sim & ./ModelicaTestOverdetermined_ModelicaTestOverdetermined.InconsistentInitialization.Mechanical.TwoMassesFullInitialInconsistent -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTestOverdetermined_ModelicaTestOverdetermined.InconsistentInitialization.Mechanical.TwoMassesFullInitialInconsistent.pipe 2>&1)