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.008975/0.008975, allocations: 98 kB / 15.73 MB, free: 5.605 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.001828/0.001828, allocations: 196.9 kB / 16.67 MB, free: 5.531 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.389/1.389, allocations: 222.9 MB / 240.4 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.002504/0.002504, allocations: 0.5608 MB / 291.1 MB, free: 14.18 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001089/0.001089, allocations: 59.91 kB / 402.4 MB, free: 32.16 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07282/0.07392, allocations: 49.58 MB / 452 MB, free: 14.54 MB / 334.1 MB Notification: Performance of NFInst.instantiate(ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesEquationsFullSteadyState): time 0.00143/0.07539, allocations: 0.5235 MB / 452.5 MB, free: 14.02 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0001529/0.07555, allocations: 31.72 kB / 452.5 MB, free: 13.98 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.221e-05/0.07559, allocations: 0 / 452.5 MB, free: 13.98 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 1.468e-05/0.07561, allocations: 0 / 452.5 MB, free: 13.98 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 2.895e-05/0.07565, allocations: 7.938 kB / 452.6 MB, free: 13.98 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001161/0.07577, allocations: 15.97 kB / 452.6 MB, free: 13.96 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 5.077e-05/0.07583, allocations: 12 kB / 452.6 MB, free: 13.95 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.628e-05/0.07588, allocations: 7.984 kB / 452.6 MB, free: 13.94 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.095e-05/0.0759, allocations: 7.938 kB / 452.6 MB, free: 13.93 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.848e-05/0.07597, allocations: 11.98 kB / 452.6 MB, free: 13.92 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.531e-05/0.07599, allocations: 0 / 452.6 MB, free: 13.92 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.526e-06/0.076, allocations: 3.938 kB / 452.6 MB, free: 13.92 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 2.087e-05/0.07603, allocations: 11.92 kB / 452.6 MB, free: 13.91 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 2.791e-05/0.07606, allocations: 11.94 kB / 452.6 MB, free: 13.89 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 5.719e-05/0.07612, allocations: 3.984 kB / 452.6 MB, free: 13.89 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.438e-06/0.07613, allocations: 8 kB / 452.6 MB, free: 13.88 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.433e-06/0.07614, allocations: 3.938 kB / 452.6 MB, free: 13.88 MB / 334.1 MB Notification: Performance of Transformations before backend: time 7.925e-06/0.07615, allocations: 0 / 452.6 MB, free: 13.88 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0003555/0.07651, allocations: 343.4 kB / 453 MB, free: 13.49 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.28e-05/0.07655, allocations: 11.89 kB / 453 MB, free: 13.48 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.969e-05/0.07659, allocations: 8.891 kB / 453 MB, free: 13.47 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.374e-05/0.07668, allocations: 160.4 kB / 453.2 MB, free: 13.28 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.324e-05/0.07672, allocations: 384 / 453.2 MB, free: 13.28 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.603e-05/0.07675, allocations: 8.375 kB / 453.2 MB, free: 13.27 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001048/0.07686, allocations: 50.23 kB / 453.2 MB, free: 13.21 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.377e-06/0.07688, allocations: 192 / 453.2 MB, free: 13.21 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.938e-06/0.0769, allocations: 7.938 kB / 453.2 MB, free: 13.21 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.791e-06/0.07691, allocations: 0 / 453.2 MB, free: 13.21 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.277e-05/0.07695, allocations: 15.94 kB / 453.2 MB, free: 13.19 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003011/0.07726, allocations: 245 kB / 453.5 MB, free: 12.9 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001045/0.07737, allocations: 54.56 kB / 453.5 MB, free: 12.84 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.088e-05/0.07743, allocations: 24.91 kB / 453.6 MB, free: 12.81 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.252e-05/0.07746, allocations: 0 / 453.6 MB, free: 12.81 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.788e-05/0.0775, allocations: 46.5 kB / 453.6 MB, free: 12.76 MB / 334.1 MB Notification: Performance of pre-optimization done (n=6): time 1.222e-06/0.07751, allocations: 0 / 453.6 MB, free: 12.76 MB / 334.1 MB Notification: Performance of matching and sorting (n=8): time 0.0006783/0.0782, allocations: 0.4982 MB / 454.1 MB, free: 12.16 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.081e-05/0.07824, allocations: 55.69 kB / 454.2 MB, free: 12.1 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.117e-05/0.07831, allocations: 97.84 kB / 454.3 MB, free: 11.99 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.444e-05/0.07833, allocations: 29.7 kB / 454.3 MB, free: 11.96 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.882e-05/0.07836, allocations: 80.14 kB / 454.4 MB, free: 11.88 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.008e-05/0.0784, allocations: 31.73 kB / 454.4 MB, free: 11.84 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.819e-05/0.07844, allocations: 29.7 kB / 454.4 MB, free: 11.81 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 9.268e-05/0.07854, allocations: 318.8 kB / 454.7 MB, free: 11.49 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.11e-05/0.07858, allocations: 19.98 kB / 454.8 MB, free: 11.47 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.015e-05/0.07862, allocations: 33.7 kB / 454.8 MB, free: 11.43 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002816/0.07891, allocations: 243.8 kB / 455 MB, free: 11.15 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.62e-07/0.07892, allocations: 0 / 455 MB, free: 11.15 MB / 334.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001084/0.07904, allocations: 77.64 kB / 455.1 MB, free: 11.07 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.541e-05/0.07906, allocations: 11.94 kB / 455.1 MB, free: 11.05 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.228e-06/0.07907, allocations: 8.172 kB / 455.1 MB, free: 11.05 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.094e-05/0.07908, allocations: 0 / 455.1 MB, free: 11.05 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001063/0.07919, allocations: 20.86 kB / 455.1 MB, free: 11.03 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.27e-06/0.07921, allocations: 0 / 455.1 MB, free: 11.03 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2e-05/0.07923, allocations: 4 kB / 455.1 MB, free: 11.02 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.957e-06/0.07925, allocations: 7.922 kB / 455.1 MB, free: 11.02 MB / 334.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.0001122/0.07936, allocations: 122.4 kB / 455.3 MB, free: 10.89 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.621e-05/0.0794, allocations: 7.953 kB / 455.3 MB, free: 10.88 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.501e-05/0.07944, allocations: 15.95 kB / 455.3 MB, free: 10.86 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.462e-06/0.07944, allocations: 0 / 455.3 MB, free: 10.86 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.177e-06/0.07946, allocations: 4 kB / 455.3 MB, free: 10.86 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.637e-06/0.07947, allocations: 0 / 455.3 MB, free: 10.86 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004199/0.07989, allocations: 369.8 kB / 455.7 MB, free: 10.43 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.014e-06/0.07991, allocations: 96 / 455.7 MB, free: 10.43 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.882e-05/0.07996, allocations: 15.94 kB / 455.7 MB, free: 10.41 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001169/0.08009, allocations: 24.84 kB / 455.7 MB, free: 10.38 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.797e-06/0.0801, allocations: 0 / 455.7 MB, free: 10.38 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001012/0.08112, allocations: 1.383 MB / 457.1 MB, free: 8.859 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.356e-06/0.08114, allocations: 3.938 kB / 457.1 MB, free: 8.855 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002298/0.08137, allocations: 231.3 kB / 457.3 MB, free: 8.602 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.497e-05/0.08143, allocations: 85.22 kB / 457.4 MB, free: 8.5 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.07e-05/0.08144, allocations: 3.984 kB / 457.4 MB, free: 8.496 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.592e-05/0.08151, allocations: 4.094 kB / 457.4 MB, free: 8.492 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.122e-05/0.08154, allocations: 11.92 kB / 457.4 MB, free: 8.48 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.374e-06/0.08155, allocations: 4 kB / 457.4 MB, free: 8.477 MB / 334.1 MB Notification: Performance of sorting global known variables: time 3.562e-05/0.08159, allocations: 83.28 kB / 457.5 MB, free: 8.395 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.0816, allocations: 0 / 457.5 MB, free: 8.395 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002336/0.08184, allocations: 12.06 kB / 457.5 MB, free: 8.383 MB / 334.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 9.596e-05/0.08194, allocations: 105.2 kB / 457.6 MB, free: 8.273 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001283/0.08208, allocations: 43.92 kB / 457.7 MB, free: 8.23 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.264e-06/0.08209, allocations: 0 / 457.7 MB, free: 8.23 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002223/0.08231, allocations: 146.6 kB / 457.8 MB, free: 8.074 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002249/0.08255, allocations: 10.44 kB / 457.8 MB, free: 8.066 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002869/0.08284, allocations: 179.3 kB / 458 MB, free: 7.859 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002763/0.08313, allocations: 0.6854 MB / 458.7 MB, free: 7.148 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 2.295e-05/0.08316, allocations: 4 kB / 458.7 MB, free: 7.145 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.333e-05/0.08319, allocations: 11.44 kB / 458.7 MB, free: 7.133 MB / 334.1 MB Notification: Performance of SimCode: time 2.21e-07/0.08319, allocations: 0 / 458.7 MB, free: 7.133 MB / 334.1 MB Notification: Performance of Templates: time 0.002647/0.08585, allocations: 0.6018 MB / 459.3 MB, free: 6.574 MB / 334.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)