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.001619/0.001619, allocations: 106.6 kB / 15.99 MB, free: 6.359 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.001742/0.001743, allocations: 191.2 kB / 16.91 MB, free: 6.195 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.326/1.326, allocations: 222.9 MB / 240.6 MB, free: 13.75 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.002699/0.002699, allocations: 0.5674 MB / 291.3 MB, free: 14.22 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00123/0.00123, allocations: 59.89 kB / 351.7 MB, free: 1.781 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2229/0.2241, allocations: 49.59 MB / 401.3 MB, free: 36.21 MB / 302.1 MB Notification: Performance of NFInst.instantiate(ModelicaTestOverdetermined.InconsistentInitialization.Mechanical.TwoMassesEquationsFullInitialInconsistent): time 0.001524/0.2257, allocations: 0.5828 MB / 401.9 MB, free: 35.64 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.0001388/0.2259, allocations: 31.89 kB / 401.9 MB, free: 35.61 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.966e-05/0.2259, allocations: 0 / 401.9 MB, free: 35.61 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 1.603e-05/0.2259, allocations: 5.219 kB / 401.9 MB, free: 35.61 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 2.729e-05/0.226, allocations: 0 / 401.9 MB, free: 35.61 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001253/0.2261, allocations: 7.984 kB / 401.9 MB, free: 35.6 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 4.737e-05/0.2261, allocations: 23.92 kB / 402 MB, free: 35.58 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.775e-05/0.2262, allocations: 4 kB / 402 MB, free: 35.57 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.235e-05/0.2262, allocations: 7.938 kB / 402 MB, free: 35.57 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.174e-05/0.2263, allocations: 15.92 kB / 402 MB, free: 35.55 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 1.46e-05/0.2263, allocations: 0 / 402 MB, free: 35.55 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.317e-06/0.2263, allocations: 0 / 402 MB, free: 35.55 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 1.679e-05/0.2263, allocations: 4 kB / 402 MB, free: 35.55 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 2.57e-05/0.2264, allocations: 15.91 kB / 402 MB, free: 35.53 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 4.258e-05/0.2264, allocations: 7.984 kB / 402 MB, free: 35.52 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.027e-06/0.2264, allocations: 0 / 402 MB, free: 35.52 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.402e-06/0.2264, allocations: 4 kB / 402 MB, free: 35.52 MB / 302.1 MB Notification: Performance of Transformations before backend: time 5.541e-06/0.2264, allocations: 0 / 402 MB, free: 35.52 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.0003139/0.2268, allocations: 333.5 kB / 402.3 MB, free: 35.14 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.443e-05/0.2268, allocations: 15.89 kB / 402.4 MB, free: 35.13 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.805e-05/0.2268, allocations: 0.9375 kB / 402.4 MB, free: 35.13 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.339e-05/0.2269, allocations: 172.4 kB / 402.5 MB, free: 34.92 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.028e-05/0.2269, allocations: 384 / 402.5 MB, free: 34.92 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.128e-05/0.227, allocations: 4.375 kB / 402.5 MB, free: 34.92 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.604e-05/0.2271, allocations: 54.23 kB / 402.6 MB, free: 34.86 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.172e-05/0.2271, allocations: 8.125 kB / 402.6 MB, free: 34.85 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.072e-05/0.2271, allocations: 3.938 kB / 402.6 MB, free: 34.85 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.869e-06/0.2271, allocations: 0 / 402.6 MB, free: 34.85 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.881e-05/0.2271, allocations: 8 kB / 402.6 MB, free: 34.84 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002444/0.2274, allocations: 256.8 kB / 402.9 MB, free: 34.54 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 8.665e-05/0.2275, allocations: 50.56 kB / 402.9 MB, free: 34.48 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.068e-05/0.2275, allocations: 36.78 kB / 402.9 MB, free: 34.44 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.189e-05/0.2275, allocations: 0 / 402.9 MB, free: 34.44 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.548e-05/0.2276, allocations: 30.56 kB / 403 MB, free: 34.4 MB / 302.1 MB Notification: Performance of pre-optimization done (n=6): time 7.82e-07/0.2276, allocations: 0 / 403 MB, free: 34.4 MB / 302.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005429/0.2281, allocations: 0.4904 MB / 403.5 MB, free: 33.82 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.516e-05/0.2282, allocations: 59.41 kB / 403.5 MB, free: 33.75 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.423e-05/0.2282, allocations: 101.8 kB / 403.6 MB, free: 33.64 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 7.875e-06/0.2282, allocations: 25.7 kB / 403.6 MB, free: 33.61 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 1.986e-05/0.2282, allocations: 84.14 kB / 403.7 MB, free: 33.52 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.739e-05/0.2283, allocations: 31.55 kB / 403.8 MB, free: 33.49 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.814e-05/0.2283, allocations: 21.72 kB / 403.8 MB, free: 33.46 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 4.479e-05/0.2284, allocations: 318.8 kB / 404.1 MB, free: 33.14 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.591e-05/0.2284, allocations: 19.98 kB / 404.1 MB, free: 33.12 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.976e-05/0.2284, allocations: 37.58 kB / 404.1 MB, free: 33.08 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.0002852/0.2287, allocations: 248.5 kB / 404.4 MB, free: 32.79 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.72e-07/0.2287, allocations: 0 / 404.4 MB, free: 32.79 MB / 302.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001254/0.2289, allocations: 102.6 kB / 404.5 MB, free: 32.68 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.226e-05/0.2289, allocations: 12 kB / 404.5 MB, free: 32.67 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.469e-06/0.2289, allocations: 0 / 404.5 MB, free: 32.67 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000102/0.229, allocations: 20.78 kB / 404.5 MB, free: 32.65 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.613e-05/0.2291, allocations: 12 kB / 404.5 MB, free: 32.64 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000674/0.2297, allocations: 1.387 MB / 405.9 MB, free: 31.1 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.977e-05/0.2298, allocations: 0 / 405.9 MB, free: 31.1 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.141e-06/0.2298, allocations: 4.031 kB / 405.9 MB, free: 31.1 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.512e-05/0.2299, allocations: 125.8 kB / 406 MB, free: 30.96 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.216e-05/0.2299, allocations: 0 / 406 MB, free: 30.96 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.919e-05/0.2299, allocations: 11.95 kB / 406.1 MB, free: 30.95 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.643e-06/0.2299, allocations: 4 kB / 406.1 MB, free: 30.95 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.234e-06/0.2299, allocations: 0 / 406.1 MB, free: 30.95 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.145e-06/0.2299, allocations: 0 / 406.1 MB, free: 30.95 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003081/0.2302, allocations: 377.7 kB / 406.4 MB, free: 30.51 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.304e-06/0.2302, allocations: 0 / 406.4 MB, free: 30.51 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.438e-05/0.2303, allocations: 11.94 kB / 406.4 MB, free: 30.5 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.687e-05/0.2304, allocations: 24.78 kB / 406.5 MB, free: 30.47 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.644e-06/0.2304, allocations: 4 kB / 406.5 MB, free: 30.46 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005589/0.2309, allocations: 1.387 MB / 407.9 MB, free: 28.94 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.144e-06/0.231, allocations: 4.031 kB / 407.9 MB, free: 28.94 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001575/0.2311, allocations: 231.2 kB / 408.1 MB, free: 28.68 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.66e-05/0.2311, allocations: 77.11 kB / 408.2 MB, free: 28.59 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.748e-06/0.2312, allocations: 8 kB / 408.2 MB, free: 28.58 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.693e-05/0.2312, allocations: 3.938 kB / 408.2 MB, free: 28.58 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.031e-05/0.2312, allocations: 7.984 kB / 408.2 MB, free: 28.57 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.5e-06/0.2313, allocations: 4 kB / 408.2 MB, free: 28.57 MB / 302.1 MB Notification: Performance of sorting global known variables: time 2.267e-05/0.2313, allocations: 87.28 kB / 408.3 MB, free: 28.48 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.81e-07/0.2313, allocations: 0 / 408.3 MB, free: 28.48 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002358/0.2315, allocations: 12 kB / 408.3 MB, free: 28.47 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.952e-05/0.2316, allocations: 104.5 kB / 408.4 MB, free: 28.36 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0002316/0.2318, allocations: 162.5 kB / 408.5 MB, free: 28.19 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.464e-06/0.2319, allocations: 96 / 408.5 MB, free: 28.19 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001254/0.232, allocations: 154.6 kB / 408.7 MB, free: 28.02 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002164/0.2322, allocations: 8 kB / 408.7 MB, free: 28.02 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000267/0.2325, allocations: 214.6 kB / 408.9 MB, free: 27.77 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001007/0.2326, allocations: 0.6924 MB / 409.6 MB, free: 27.05 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.681e-05/0.2326, allocations: 11.44 kB / 409.6 MB, free: 27.04 MB / 302.1 MB Notification: Performance of SimCode: time 4.41e-07/0.2326, allocations: 0 / 409.6 MB, free: 27.04 MB / 302.1 MB Notification: Performance of Templates: time 0.002126/0.2348, allocations: 0.9268 MB / 410.5 MB, free: 26.12 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)