Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesEquationsFullSteadyState.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.ConsistentInitialization.Mechanical.TwoMassesEquationsFullSteadyState,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesEquationsFullSteadyState") translateModel(ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesEquationsFullSteadyState,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesEquationsFullSteadyState") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001359/0.001359, allocations: 107.7 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.001549/0.001549, allocations: 190.4 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.374/1.374, allocations: 222.9 MB / 240.6 MB, free: 13.68 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.002735/0.002735, allocations: 0.5596 MB / 291.3 MB, free: 14.18 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00117/0.00117, allocations: 59.91 kB / 351.7 MB, free: 1.734 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2184/0.2196, allocations: 49.59 MB / 401.3 MB, free: 36.17 MB / 302.1 MB Notification: Performance of NFInst.instantiate(ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesEquationsFullSteadyState): time 0.001603/0.2213, allocations: 0.5751 MB / 401.9 MB, free: 35.61 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.0001659/0.2215, allocations: 31.89 kB / 401.9 MB, free: 35.58 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.173e-05/0.2215, allocations: 0 / 401.9 MB, free: 35.58 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 1.516e-05/0.2215, allocations: 4 kB / 401.9 MB, free: 35.58 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 2.727e-05/0.2216, allocations: 3.938 kB / 401.9 MB, free: 35.57 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000118/0.2217, allocations: 3.984 kB / 401.9 MB, free: 35.57 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 5.491e-05/0.2217, allocations: 19.94 kB / 401.9 MB, free: 35.55 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.588e-05/0.2218, allocations: 11.09 kB / 402 MB, free: 35.54 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.959e-05/0.2218, allocations: 11.94 kB / 402 MB, free: 35.53 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.799e-05/0.2219, allocations: 11.92 kB / 402 MB, free: 35.52 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 1.53e-05/0.2219, allocations: 0 / 402 MB, free: 35.52 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.839e-06/0.2219, allocations: 4 kB / 402 MB, free: 35.52 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 1.476e-05/0.2219, allocations: 4 kB / 402 MB, free: 35.51 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 2.416e-05/0.222, allocations: 11.92 kB / 402 MB, free: 35.5 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 4.411e-05/0.222, allocations: 7.984 kB / 402 MB, free: 35.49 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.497e-06/0.222, allocations: 4 kB / 402 MB, free: 35.49 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.284e-06/0.222, allocations: 0 / 402 MB, free: 35.49 MB / 302.1 MB Notification: Performance of Transformations before backend: time 9.297e-06/0.222, allocations: 0 / 402 MB, free: 35.49 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.0003302/0.2224, allocations: 341.4 kB / 402.3 MB, free: 35.11 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.711e-05/0.2224, allocations: 11.89 kB / 402.4 MB, free: 35.09 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.119e-05/0.2225, allocations: 4.938 kB / 402.4 MB, free: 35.09 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.601e-05/0.2225, allocations: 160.4 kB / 402.5 MB, free: 34.89 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.006e-05/0.2226, allocations: 4.375 kB / 402.5 MB, free: 34.89 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.995e-05/0.2226, allocations: 4.375 kB / 402.5 MB, free: 34.89 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001025/0.2227, allocations: 50.19 kB / 402.6 MB, free: 34.83 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.131e-05/0.2227, allocations: 4.188 kB / 402.6 MB, free: 34.83 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.928e-06/0.2227, allocations: 3.938 kB / 402.6 MB, free: 34.82 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.91e-06/0.2227, allocations: 0 / 402.6 MB, free: 34.82 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.112e-05/0.2228, allocations: 15.98 kB / 402.6 MB, free: 34.81 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002499/0.223, allocations: 248.8 kB / 402.8 MB, free: 34.52 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 8.489e-05/0.2231, allocations: 62.42 kB / 402.9 MB, free: 34.45 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.894e-05/0.2232, allocations: 24.92 kB / 402.9 MB, free: 34.42 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.937e-06/0.2232, allocations: 0 / 402.9 MB, free: 34.42 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.412e-05/0.2232, allocations: 42.55 kB / 403 MB, free: 34.37 MB / 302.1 MB Notification: Performance of pre-optimization done (n=6): time 9.42e-07/0.2232, allocations: 0 / 403 MB, free: 34.37 MB / 302.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005808/0.2238, allocations: 0.4943 MB / 403.5 MB, free: 33.78 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.141e-05/0.2238, allocations: 51.41 kB / 403.5 MB, free: 33.71 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.101e-05/0.2239, allocations: 93.86 kB / 403.6 MB, free: 33.61 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 8.956e-06/0.2239, allocations: 29.7 kB / 403.6 MB, free: 33.58 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 1.953e-05/0.2239, allocations: 88.12 kB / 403.7 MB, free: 33.49 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.546e-05/0.224, allocations: 23.56 kB / 403.7 MB, free: 33.46 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.106e-05/0.224, allocations: 29.7 kB / 403.8 MB, free: 33.43 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 6.337e-05/0.2241, allocations: 318.8 kB / 404.1 MB, free: 33.11 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.553e-05/0.2241, allocations: 19.98 kB / 404.1 MB, free: 33.09 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.186e-05/0.2241, allocations: 37.59 kB / 404.1 MB, free: 33.05 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002359/0.2244, allocations: 248.6 kB / 404.4 MB, free: 32.76 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.71e-07/0.2244, allocations: 0 / 404.4 MB, free: 32.76 MB / 302.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 8.896e-05/0.2245, allocations: 89.52 kB / 404.5 MB, free: 32.67 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.254e-05/0.2245, allocations: 4 kB / 404.5 MB, free: 32.66 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.599e-06/0.2245, allocations: 4 kB / 404.5 MB, free: 32.66 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.619e-05/0.2245, allocations: 0 / 404.5 MB, free: 32.66 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.464e-05/0.2246, allocations: 19.98 kB / 404.5 MB, free: 32.64 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.542e-06/0.2246, allocations: 4.234 kB / 404.5 MB, free: 32.64 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.028e-05/0.2247, allocations: 0 / 404.5 MB, free: 32.64 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.542e-06/0.2247, allocations: 7.922 kB / 404.5 MB, free: 32.63 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: $DER.v1 = 0.0 $DER.x1 = 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 (10): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000132/0.2248, allocations: 114.5 kB / 404.6 MB, free: 32.51 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.348e-05/0.2248, allocations: 7.938 kB / 404.6 MB, free: 32.5 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.669e-05/0.2249, allocations: 11.97 kB / 404.6 MB, free: 32.48 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.423e-06/0.2249, allocations: 0 / 404.6 MB, free: 32.48 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.941e-06/0.2249, allocations: 0 / 404.6 MB, free: 32.48 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.637e-06/0.2249, allocations: 3.984 kB / 404.6 MB, free: 32.48 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003166/0.2252, allocations: 377.7 kB / 405 MB, free: 32.04 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.884e-06/0.2252, allocations: 8.031 kB / 405 MB, free: 32.04 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.474e-05/0.2253, allocations: 8 kB / 405 MB, free: 32.03 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.458e-05/0.2254, allocations: 24.84 kB / 405 MB, free: 32 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.365e-06/0.2254, allocations: 0 / 405 MB, free: 32 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006648/0.2261, allocations: 1.391 MB / 406.4 MB, free: 30.46 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.295e-06/0.2261, allocations: 3.938 kB / 406.4 MB, free: 30.46 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001667/0.2262, allocations: 223 kB / 406.7 MB, free: 30.21 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.073e-05/0.2263, allocations: 88.98 kB / 406.7 MB, free: 30.11 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.02e-05/0.2263, allocations: 4 kB / 406.8 MB, free: 30.1 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.6e-05/0.2264, allocations: 0 / 406.8 MB, free: 30.1 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.511e-05/0.2264, allocations: 7.984 kB / 406.8 MB, free: 30.09 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.118e-06/0.2264, allocations: 4 kB / 406.8 MB, free: 30.09 MB / 302.1 MB Notification: Performance of sorting global known variables: time 2.214e-05/0.2264, allocations: 83.34 kB / 406.8 MB, free: 30.01 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.2264, allocations: 7.938 kB / 406.9 MB, free: 30 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.000226/0.2267, allocations: 8 kB / 406.9 MB, free: 29.99 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 7.128e-05/0.2267, allocations: 95.25 kB / 407 MB, free: 29.89 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0001144/0.2269, allocations: 47.91 kB / 407 MB, free: 29.84 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 1.943e-06/0.2269, allocations: 0 / 407 MB, free: 29.84 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001814/0.2271, allocations: 146.9 kB / 407.1 MB, free: 29.69 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002207/0.2273, allocations: 15.86 kB / 407.2 MB, free: 29.67 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002358/0.2275, allocations: 214.5 kB / 407.4 MB, free: 29.42 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001058/0.2277, allocations: 0.6807 MB / 408.1 MB, free: 28.71 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.855e-05/0.2277, allocations: 15.44 kB / 408.1 MB, free: 28.7 MB / 302.1 MB Notification: Performance of SimCode: time 2.21e-07/0.2277, allocations: 0 / 408.1 MB, free: 28.7 MB / 302.1 MB Notification: Performance of Templates: time 0.002001/0.2297, allocations: 0.7904 MB / 408.9 MB, free: 27.92 MB / 302.1 MB make -j1 -f ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesEquationsFullSteadyState.makefile (rm -f ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesEquationsFullSteadyState.pipe ; mkfifo ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesEquationsFullSteadyState.pipe ; head -c 1048576 < ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesEquationsFullSteadyState.pipe >> ../files/ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesEquationsFullSteadyState.sim & ./ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesEquationsFullSteadyState -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesEquationsFullSteadyState.pipe 2>&1)