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.001232/0.001232, allocations: 104.5 kB / 16.27 MB, free: 6.414 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.001241/0.001241, allocations: 191.2 kB / 17.2 MB, free: 5.953 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.395/1.395, allocations: 222.9 MB / 240.9 MB, free: 15.26 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.00334/0.00334, allocations: 0.5674 MB / 291.6 MB, free: 14.27 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001415/0.001415, allocations: 63.89 kB / 352.2 MB, free: 1.633 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2397/0.2411, allocations: 49.59 MB / 401.8 MB, free: 36.04 MB / 302.1 MB Notification: Performance of NFInst.instantiate(ModelicaTestOverdetermined.InconsistentInitialization.Mechanical.TwoMassesEquationsFullInitialInconsistent): time 0.001713/0.2428, allocations: 0.5263 MB / 402.3 MB, free: 35.53 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.0001583/0.243, allocations: 27.91 kB / 402.4 MB, free: 35.5 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.972e-05/0.2431, allocations: 3.938 kB / 402.4 MB, free: 35.5 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 1.552e-05/0.2431, allocations: 0 / 402.4 MB, free: 35.5 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 4.049e-05/0.2431, allocations: 3.938 kB / 402.4 MB, free: 35.49 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001384/0.2433, allocations: 10.89 kB / 402.4 MB, free: 35.48 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 5.447e-05/0.2433, allocations: 15.98 kB / 402.4 MB, free: 35.47 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.305e-05/0.2434, allocations: 4 kB / 402.4 MB, free: 35.46 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.954e-05/0.2434, allocations: 11.94 kB / 402.4 MB, free: 35.45 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.972e-05/0.2435, allocations: 15.91 kB / 402.4 MB, free: 35.44 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 1.591e-05/0.2435, allocations: 0 / 402.4 MB, free: 35.44 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.127e-06/0.2435, allocations: 0 / 402.4 MB, free: 35.44 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 1.835e-05/0.2436, allocations: 11.98 kB / 402.4 MB, free: 35.43 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 2.597e-05/0.2436, allocations: 11.94 kB / 402.5 MB, free: 35.41 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 5.17e-05/0.2436, allocations: 7.922 kB / 402.5 MB, free: 35.41 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.848e-06/0.2437, allocations: 0 / 402.5 MB, free: 35.41 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.282e-06/0.2437, allocations: 0 / 402.5 MB, free: 35.41 MB / 302.1 MB Notification: Performance of Transformations before backend: time 5.41e-06/0.2437, allocations: 4 kB / 402.5 MB, free: 35.4 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0003274/0.244, allocations: 337.5 kB / 402.8 MB, free: 35.02 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.313e-05/0.244, allocations: 15.83 kB / 402.8 MB, free: 35.01 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.051e-05/0.2441, allocations: 0.9375 kB / 402.8 MB, free: 35.01 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.763e-05/0.2442, allocations: 168.4 kB / 403 MB, free: 34.8 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.878e-06/0.2442, allocations: 4.375 kB / 403 MB, free: 34.8 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.398e-05/0.2442, allocations: 8.375 kB / 403 MB, free: 34.79 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.683e-05/0.2443, allocations: 46.25 kB / 403 MB, free: 34.74 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.295e-05/0.2443, allocations: 192 / 403 MB, free: 34.74 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.249e-05/0.2444, allocations: 3.938 kB / 403 MB, free: 34.74 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.674e-06/0.2444, allocations: 4 kB / 403 MB, free: 34.73 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.361e-05/0.2444, allocations: 15.98 kB / 403.1 MB, free: 34.72 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002694/0.2447, allocations: 256.8 kB / 403.3 MB, free: 34.42 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 8.321e-05/0.2448, allocations: 54.56 kB / 403.4 MB, free: 34.36 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.03e-05/0.2448, allocations: 20.92 kB / 403.4 MB, free: 34.33 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.035e-06/0.2448, allocations: 0 / 403.4 MB, free: 34.33 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.428e-05/0.2449, allocations: 38.56 kB / 403.4 MB, free: 34.29 MB / 302.1 MB Notification: Performance of pre-optimization done (n=6): time 8.71e-07/0.2449, allocations: 0 / 403.4 MB, free: 34.29 MB / 302.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005859/0.2455, allocations: 0.4904 MB / 403.9 MB, free: 33.7 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.128e-05/0.2455, allocations: 55.39 kB / 404 MB, free: 33.63 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.897e-05/0.2455, allocations: 93.86 kB / 404.1 MB, free: 33.53 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 8.816e-06/0.2456, allocations: 33.64 kB / 404.1 MB, free: 33.49 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.486e-05/0.2456, allocations: 80.14 kB / 404.2 MB, free: 33.41 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.267e-05/0.2456, allocations: 39.47 kB / 404.2 MB, free: 33.37 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.325e-05/0.2457, allocations: 29.72 kB / 404.2 MB, free: 33.34 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 4.407e-05/0.2457, allocations: 318.8 kB / 404.5 MB, free: 33.02 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.605e-05/0.2457, allocations: 19.94 kB / 404.6 MB, free: 33 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.326e-05/0.2458, allocations: 33.7 kB / 404.6 MB, free: 32.96 MB / 302.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.0002781/0.2461, allocations: 248.6 kB / 404.8 MB, free: 32.67 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.22e-07/0.2461, allocations: 4 kB / 404.8 MB, free: 32.67 MB / 302.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001283/0.2462, allocations: 98.56 kB / 404.9 MB, free: 32.56 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.054e-05/0.2462, allocations: 4 kB / 404.9 MB, free: 32.56 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.819e-06/0.2462, allocations: 4.062 kB / 404.9 MB, free: 32.55 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001086/0.2463, allocations: 28.78 kB / 405 MB, free: 32.52 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.89e-05/0.2464, allocations: 8 kB / 405 MB, free: 32.52 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006985/0.2471, allocations: 1.379 MB / 406.4 MB, free: 30.99 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.147e-05/0.2472, allocations: 8.031 kB / 406.4 MB, free: 30.98 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.429e-06/0.2472, allocations: 0 / 406.4 MB, free: 30.98 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: 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.608e-05/0.2472, allocations: 125.8 kB / 406.5 MB, free: 30.85 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.303e-05/0.2473, allocations: 0 / 406.5 MB, free: 30.85 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.903e-05/0.2473, allocations: 12.16 kB / 406.5 MB, free: 30.83 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.693e-06/0.2473, allocations: 3.984 kB / 406.5 MB, free: 30.83 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.034e-06/0.2473, allocations: 0 / 406.5 MB, free: 30.83 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.357e-06/0.2473, allocations: 0 / 406.5 MB, free: 30.83 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003074/0.2476, allocations: 369.8 kB / 406.9 MB, free: 30.4 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.623e-06/0.2476, allocations: 0 / 406.9 MB, free: 30.4 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.497e-05/0.2477, allocations: 15.94 kB / 406.9 MB, free: 30.38 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.746e-05/0.2477, allocations: 24.78 kB / 406.9 MB, free: 30.36 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.025e-06/0.2478, allocations: 3.984 kB / 406.9 MB, free: 30.35 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005702/0.2483, allocations: 1.383 MB / 408.3 MB, free: 28.83 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.204e-06/0.2484, allocations: 3.984 kB / 408.3 MB, free: 28.83 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001724/0.2485, allocations: 231.2 kB / 408.5 MB, free: 28.57 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.844e-05/0.2486, allocations: 77.11 kB / 408.6 MB, free: 28.48 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.037e-05/0.2486, allocations: 8.016 kB / 408.6 MB, free: 28.47 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.57e-05/0.2486, allocations: 3.938 kB / 408.6 MB, free: 28.47 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.582e-05/0.2487, allocations: 16 kB / 408.6 MB, free: 28.45 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.769e-06/0.2487, allocations: 4 kB / 408.6 MB, free: 28.45 MB / 302.1 MB Notification: Performance of sorting global known variables: time 1.97e-05/0.2487, allocations: 87.39 kB / 408.7 MB, free: 28.36 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.2487, allocations: 4 kB / 408.7 MB, free: 28.36 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002359/0.2489, allocations: 12 kB / 408.7 MB, free: 28.35 MB / 302.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 6.389e-05/0.249, allocations: 95.19 kB / 408.8 MB, free: 28.25 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0002454/0.2493, allocations: 178.7 kB / 409 MB, free: 28.06 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.335e-06/0.2493, allocations: 3.938 kB / 409 MB, free: 28.05 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001355/0.2494, allocations: 142.6 kB / 409.1 MB, free: 27.9 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002192/0.2497, allocations: 4 kB / 409.1 MB, free: 27.9 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002642/0.2499, allocations: 207.1 kB / 409.4 MB, free: 27.66 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001064/0.25, allocations: 0.6846 MB / 410 MB, free: 26.95 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.828e-05/0.2501, allocations: 11.44 kB / 410 MB, free: 26.93 MB / 302.1 MB Notification: Performance of SimCode: time 2.11e-07/0.2501, allocations: 0 / 410 MB, free: 26.93 MB / 302.1 MB Notification: Performance of Templates: time 0.00239/0.2525, allocations: 0.9274 MB / 411 MB, free: 26.01 MB / 302.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)