Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesReducedSteadyState.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.TwoMassesReducedSteadyState,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesReducedSteadyState") translateModel(ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesReducedSteadyState,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesReducedSteadyState") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001701/0.001701, allocations: 105.2 kB / 16.41 MB, free: 6.5 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.001936/0.001935, allocations: 187 kB / 17.34 MB, free: 5.742 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.321/1.321, allocations: 222.9 MB / 241 MB, free: 15.15 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.002925/0.002925, allocations: 0.5624 MB / 291.8 MB, free: 14.19 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001268/0.001268, allocations: 63.91 kB / 403.1 MB, free: 32.16 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.06931/0.07059, allocations: 49.6 MB / 452.7 MB, free: 14.53 MB / 334.1 MB Notification: Performance of NFInst.instantiate(ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesReducedSteadyState): time 0.002633/0.07326, allocations: 1.642 MB / 454.3 MB, free: 12.88 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002911/0.07357, allocations: 91.7 kB / 454.4 MB, free: 12.79 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.249e-05/0.07366, allocations: 0 / 454.4 MB, free: 12.79 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 5.759e-05/0.07373, allocations: 27.78 kB / 454.4 MB, free: 12.76 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001152/0.07386, allocations: 27.77 kB / 454.5 MB, free: 12.73 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001233/0.07399, allocations: 19.92 kB / 454.5 MB, free: 12.71 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001542/0.07416, allocations: 107.5 kB / 454.6 MB, free: 12.61 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001397/0.0743, allocations: 39.97 kB / 454.6 MB, free: 12.57 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.867e-05/0.07438, allocations: 43.86 kB / 454.7 MB, free: 12.52 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.607e-05/0.07447, allocations: 43.78 kB / 454.7 MB, free: 12.48 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.143e-05/0.0745, allocations: 8 kB / 454.7 MB, free: 12.47 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.997e-05/0.07453, allocations: 12 kB / 454.7 MB, free: 12.46 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 2.379e-05/0.07456, allocations: 23.84 kB / 454.8 MB, free: 12.44 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 6.027e-05/0.07462, allocations: 51.8 kB / 454.8 MB, free: 12.39 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001311/0.07476, allocations: 107.6 kB / 454.9 MB, free: 12.28 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.707e-06/0.07477, allocations: 0 / 454.9 MB, free: 12.28 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.192e-06/0.07478, allocations: 4 kB / 454.9 MB, free: 12.28 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.45e-06/0.07479, allocations: 0 / 454.9 MB, free: 12.28 MB / 334.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.0004629/0.07525, allocations: 395.4 kB / 455.3 MB, free: 11.84 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.31e-05/0.07529, allocations: 11.89 kB / 455.3 MB, free: 11.83 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.739e-05/0.07534, allocations: 12.84 kB / 455.3 MB, free: 11.82 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001614/0.0755, allocations: 188.1 kB / 455.5 MB, free: 11.59 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.779e-06/0.07552, allocations: 8.562 kB / 455.5 MB, free: 11.59 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.984e-05/0.07556, allocations: 16.38 kB / 455.5 MB, free: 11.57 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001665/0.07573, allocations: 96.02 kB / 455.6 MB, free: 11.47 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.967e-05/0.07576, allocations: 4 kB / 455.6 MB, free: 11.47 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.313e-05/0.07578, allocations: 4 kB / 455.6 MB, free: 11.46 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.178e-06/0.07578, allocations: 0 / 455.6 MB, free: 11.46 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001035/0.07589, allocations: 59.95 kB / 455.7 MB, free: 11.41 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000513/0.07641, allocations: 388.5 kB / 456.1 MB, free: 10.98 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001946/0.07662, allocations: 106.5 kB / 456.2 MB, free: 10.86 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.843e-05/0.07669, allocations: 37.02 kB / 456.2 MB, free: 10.82 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.293e-05/0.07671, allocations: 4 kB / 456.2 MB, free: 10.82 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.72e-05/0.07674, allocations: 30.56 kB / 456.3 MB, free: 10.78 MB / 334.1 MB Notification: Performance of pre-optimization done (n=12): time 1.262e-06/0.07675, allocations: 4 kB / 456.3 MB, free: 10.78 MB / 334.1 MB Notification: Performance of matching and sorting (n=16): time 0.001004/0.07776, allocations: 0.685 MB / 456.9 MB, free: 9.996 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.764e-05/0.0778, allocations: 55.41 kB / 457 MB, free: 9.93 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.896e-05/0.0779, allocations: 125.7 kB / 457.1 MB, free: 9.797 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.589e-05/0.07793, allocations: 29.7 kB / 457.1 MB, free: 9.762 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.147e-05/0.07798, allocations: 100.3 kB / 457.2 MB, free: 9.656 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.304e-05/0.07803, allocations: 55.2 kB / 457.3 MB, free: 9.602 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.968e-05/0.0781, allocations: 37.7 kB / 457.3 MB, free: 9.559 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 9.978e-05/0.0782, allocations: 318.8 kB / 457.6 MB, free: 9.238 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.798e-05/0.07827, allocations: 35.94 kB / 457.7 MB, free: 9.203 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.446e-05/0.07835, allocations: 58.55 kB / 457.7 MB, free: 9.137 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001806/0.07853, allocations: 102.1 kB / 457.8 MB, free: 9.031 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.012e-06/0.07854, allocations: 0 / 457.8 MB, free: 9.031 MB / 334.1 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0001966/0.07874, allocations: 145.5 kB / 458 MB, free: 8.883 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.384e-05/0.07876, allocations: 11.94 kB / 458 MB, free: 8.871 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.078e-06/0.07877, allocations: 0 / 458 MB, free: 8.871 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.103e-05/0.07879, allocations: 0 / 458 MB, free: 8.871 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001757/0.07897, allocations: 43.91 kB / 458 MB, free: 8.828 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.122e-06/0.07898, allocations: 4 kB / 458 MB, free: 8.824 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.682e-05/0.07904, allocations: 0 / 458 MB, free: 8.824 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.116e-05/0.07905, allocations: 8 kB / 458 MB, free: 8.816 MB / 334.1 MB 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 (19): * Single equations (assignments): 19 * 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 8.731e-05/0.07914, allocations: 130.5 kB / 458.2 MB, free: 8.68 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001189/0.07927, allocations: 11.84 kB / 458.2 MB, free: 8.668 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.666e-05/0.07931, allocations: 12.84 kB / 458.2 MB, free: 8.652 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.597e-06/0.07932, allocations: 4 kB / 458.2 MB, free: 8.648 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.941e-06/0.07933, allocations: 0 / 458.2 MB, free: 8.648 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.92e-06/0.07934, allocations: 3.984 kB / 458.2 MB, free: 8.645 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005791/0.07992, allocations: 0.4975 MB / 458.7 MB, free: 8.078 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.465e-06/0.07994, allocations: 0 / 458.7 MB, free: 8.078 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000123/0.08007, allocations: 27.94 kB / 458.7 MB, free: 8.051 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001011/0.08017, allocations: 24.78 kB / 458.8 MB, free: 8.023 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.658e-06/0.08019, allocations: 0 / 458.8 MB, free: 8.023 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009718/0.08117, allocations: 1.371 MB / 460.1 MB, free: 6.516 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.007e-06/0.08119, allocations: 0 / 460.1 MB, free: 6.516 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000328/0.08152, allocations: 310.7 kB / 460.4 MB, free: 6.184 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.871e-05/0.08157, allocations: 85.02 kB / 460.5 MB, free: 6.082 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.766e-05/0.08159, allocations: 4 kB / 460.5 MB, free: 6.078 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.761e-05/0.08169, allocations: 12 kB / 460.5 MB, free: 6.066 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.603e-05/0.08172, allocations: 16.05 kB / 460.5 MB, free: 6.051 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.112e-05/0.08173, allocations: 11.92 kB / 460.6 MB, free: 6.039 MB / 334.1 MB Notification: Performance of sorting global known variables: time 4.795e-05/0.08179, allocations: 92.81 kB / 460.6 MB, free: 5.949 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.01e-07/0.08179, allocations: 0 / 460.6 MB, free: 5.949 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002603/0.08206, allocations: 28 kB / 460.7 MB, free: 5.922 MB / 334.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 2 (mass1.s,mass1.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 0.0001068/0.08217, allocations: 99.23 kB / 460.8 MB, free: 5.816 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001709/0.08235, allocations: 99.84 kB / 460.9 MB, free: 5.719 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 4.538e-06/0.08236, allocations: 4.062 kB / 460.9 MB, free: 5.715 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002265/0.08259, allocations: 166.6 kB / 461 MB, free: 5.539 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003734/0.08298, allocations: 23.48 kB / 461.1 MB, free: 5.52 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005827/0.08357, allocations: 415.9 kB / 461.5 MB, free: 5.074 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002429/0.08383, allocations: 0.7045 MB / 462.2 MB, free: 4.344 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.388e-05/0.08387, allocations: 15.44 kB / 462.2 MB, free: 4.328 MB / 334.1 MB Notification: Performance of SimCode: time 2.31e-07/0.08387, allocations: 0 / 462.2 MB, free: 4.328 MB / 334.1 MB Notification: Performance of Templates: time 0.003354/0.08723, allocations: 1.722 MB / 463.9 MB, free: 2.613 MB / 334.1 MB make -j1 -f ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesReducedSteadyState.makefile (rm -f ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesReducedSteadyState.pipe ; mkfifo ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesReducedSteadyState.pipe ; head -c 1048576 < ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesReducedSteadyState.pipe >> ../files/ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesReducedSteadyState.sim & ./ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesReducedSteadyState -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesReducedSteadyState.pipe 2>&1)