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.0009804/0.0009809, allocations: 97.64 kB / 15.36 MB, free: 0.7344 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.006338/0.006338, allocations: 170.1 kB / 16.27 MB, free: 6.652 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.638/1.638, allocations: 223.3 MB / 240.3 MB, free: 5.34 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTestOverdetermined 4.0.0+maint.om/package.mo): time 0.004288/0.004288, allocations: 0.5547 MB / 292 MB, free: 1.582 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004439/0.0004439, allocations: 8 kB / 353.3 MB, free: 2.504 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4577/0.4582, allocations: 50.57 MB / 403.9 MB, free: 10.03 MB / 286.1 MB Notification: Performance of NFInst.instantiate(ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesEquationsFullSteadyState): time 0.0009922/0.4592, allocations: 246.4 kB / 404.1 MB, free: 10.02 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.000189/0.4594, allocations: 27.8 kB / 404.1 MB, free: 10.02 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.418e-05/0.4594, allocations: 0 / 404.1 MB, free: 10.02 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 1.337e-05/0.4595, allocations: 4.625 kB / 404.1 MB, free: 10.02 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 3.816e-05/0.4595, allocations: 3.938 kB / 404.1 MB, free: 10.02 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001403/0.4597, allocations: 10.61 kB / 404.1 MB, free: 10.02 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 8.245e-05/0.4598, allocations: 16.91 kB / 404.2 MB, free: 10.02 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.63e-05/0.4598, allocations: 1.906 kB / 404.2 MB, free: 10.02 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.766e-05/0.4599, allocations: 14.67 kB / 404.2 MB, free: 10.01 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.473e-05/0.46, allocations: 11.2 kB / 404.2 MB, free: 10.01 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 1.959e-05/0.46, allocations: 1.125 kB / 404.2 MB, free: 10.01 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.293e-05/0.46, allocations: 2.625 kB / 404.2 MB, free: 10.01 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 2.793e-05/0.4601, allocations: 10.06 kB / 404.2 MB, free: 10 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 4.839e-05/0.4601, allocations: 39.52 kB / 404.2 MB, free: 9.969 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 7.751e-05/0.4602, allocations: 11.83 kB / 404.3 MB, free: 9.965 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.065e-06/0.4602, allocations: 1.109 kB / 404.3 MB, free: 9.965 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.984e-06/0.4602, allocations: 0 / 404.3 MB, free: 9.965 MB / 286.1 MB Notification: Performance of Transformations before backend: time 6.603e-06/0.4602, allocations: 0.5938 kB / 404.3 MB, free: 9.965 MB / 286.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.0004185/0.4607, allocations: 327.1 kB / 404.6 MB, free: 9.613 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.432e-05/0.4607, allocations: 9.031 kB / 404.6 MB, free: 9.613 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.645e-05/0.4608, allocations: 6.281 kB / 404.6 MB, free: 9.609 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001114/0.4609, allocations: 168.2 kB / 404.8 MB, free: 9.41 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.803e-05/0.4609, allocations: 5.719 kB / 404.8 MB, free: 9.406 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.766e-05/0.4609, allocations: 7.312 kB / 404.8 MB, free: 9.406 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001373/0.4611, allocations: 42.47 kB / 404.8 MB, free: 9.375 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.599e-05/0.4611, allocations: 4.781 kB / 404.8 MB, free: 9.375 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.302e-05/0.4611, allocations: 3.938 kB / 404.8 MB, free: 9.371 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.865e-06/0.4611, allocations: 1.031 kB / 404.8 MB, free: 9.371 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.922e-05/0.4612, allocations: 13.81 kB / 404.8 MB, free: 9.371 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000381/0.4616, allocations: 254.7 kB / 405.1 MB, free: 9.098 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001411/0.4617, allocations: 55.44 kB / 405.1 MB, free: 9.07 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.365e-05/0.4618, allocations: 22.27 kB / 405.2 MB, free: 9.059 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.133e-05/0.4618, allocations: 0.9062 kB / 405.2 MB, free: 9.059 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.595e-05/0.4619, allocations: 35.89 kB / 405.2 MB, free: 9.02 MB / 286.1 MB Notification: Performance of pre-optimization done (n=6): time 1.062e-06/0.4619, allocations: 0 / 405.2 MB, free: 9.02 MB / 286.1 MB Notification: Performance of matching and sorting (n=8): time 0.0008712/0.4627, allocations: 0.4974 MB / 405.7 MB, free: 8.574 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.533e-05/0.4628, allocations: 58.27 kB / 405.7 MB, free: 8.508 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.082e-05/0.4629, allocations: 98.38 kB / 405.8 MB, free: 8.41 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 1.186e-05/0.4629, allocations: 25.7 kB / 405.9 MB, free: 8.379 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.958e-05/0.4629, allocations: 85.02 kB / 405.9 MB, free: 8.297 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.219e-05/0.463, allocations: 29.33 kB / 406 MB, free: 8.277 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.751e-05/0.463, allocations: 24.48 kB / 406 MB, free: 8.254 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 7.272e-05/0.4631, allocations: 325 kB / 406.3 MB, free: 7.934 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.563e-05/0.4631, allocations: 14.03 kB / 406.3 MB, free: 7.934 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.449e-05/0.4632, allocations: 31.41 kB / 406.4 MB, free: 7.918 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000337/0.4635, allocations: 247 kB / 406.6 MB, free: 7.715 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.082e-06/0.4635, allocations: 0 / 406.6 MB, free: 7.715 MB / 286.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001299/0.4637, allocations: 89.5 kB / 406.7 MB, free: 7.672 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.403e-05/0.4637, allocations: 5.047 kB / 406.7 MB, free: 7.672 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.955e-06/0.4637, allocations: 0.5 kB / 406.7 MB, free: 7.672 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.438e-05/0.4638, allocations: 1 kB / 406.7 MB, free: 7.672 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001404/0.4639, allocations: 23.47 kB / 406.7 MB, free: 7.668 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.378e-06/0.4639, allocations: 0.625 kB / 406.7 MB, free: 7.668 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.129e-05/0.4639, allocations: 1.562 kB / 406.7 MB, free: 7.668 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.576e-06/0.464, allocations: 7.531 kB / 406.7 MB, free: 7.664 MB / 286.1 MB Warning: The initial conditions are over specified. The following 2 initial equations are redundant, so they are removed from the initialization sytem: $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.0001439/0.4641, allocations: 117.4 kB / 406.8 MB, free: 7.547 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.621e-05/0.4641, allocations: 2.438 kB / 406.8 MB, free: 7.547 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.064e-05/0.4642, allocations: 11.7 kB / 406.9 MB, free: 7.535 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.636e-06/0.4642, allocations: 2.141 kB / 406.9 MB, free: 7.535 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.626e-06/0.4642, allocations: 0.5938 kB / 406.9 MB, free: 7.535 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.528e-06/0.4642, allocations: 1.469 kB / 406.9 MB, free: 7.535 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004451/0.4647, allocations: 379.5 kB / 407.2 MB, free: 7.188 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.428e-06/0.4647, allocations: 1.781 kB / 407.2 MB, free: 7.188 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.504e-05/0.4647, allocations: 8.047 kB / 407.2 MB, free: 7.188 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001363/0.4649, allocations: 24.33 kB / 407.3 MB, free: 7.176 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.227e-05/0.4649, allocations: 5.719 kB / 407.3 MB, free: 7.176 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009678/0.4659, allocations: 1.279 MB / 408.5 MB, free: 5.91 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.811e-06/0.4659, allocations: 5.75 kB / 408.6 MB, free: 5.906 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002906/0.4662, allocations: 234 kB / 408.8 MB, free: 5.727 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.432e-05/0.4662, allocations: 84.25 kB / 408.9 MB, free: 5.629 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.731e-05/0.4663, allocations: 5.125 kB / 408.9 MB, free: 5.629 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.5e-05/0.4663, allocations: 5.625 kB / 408.9 MB, free: 5.625 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.615e-05/0.4664, allocations: 8.812 kB / 408.9 MB, free: 5.625 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.069e-05/0.4664, allocations: 7.422 kB / 408.9 MB, free: 5.621 MB / 286.1 MB Notification: Performance of sorting global known variables: time 2.943e-05/0.4664, allocations: 84.34 kB / 409 MB, free: 5.543 MB / 286.1 MB Notification: Performance of sort global known variables: time 9e-08/0.4664, allocations: 4.062 kB / 409 MB, free: 5.539 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0002334/0.4667, allocations: 10.53 kB / 409 MB, free: 5.539 MB / 286.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 0.0001132/0.4668, allocations: 95.17 kB / 409.1 MB, free: 5.453 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.0001611/0.467, allocations: 45.08 kB / 409.1 MB, free: 5.449 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 4.338e-06/0.467, allocations: 0 / 409.1 MB, free: 5.449 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002626/0.4672, allocations: 145.7 kB / 409.3 MB, free: 5.336 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002444/0.4675, allocations: 10.83 kB / 409.3 MB, free: 5.332 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003426/0.4678, allocations: 183.5 kB / 409.5 MB, free: 5.172 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000202/0.4681, allocations: 0.6889 MB / 410.1 MB, free: 4.473 MB / 286.1 MB Notification: Performance of simCode: alias equations: time 3.008e-05/0.4681, allocations: 7.578 kB / 410.2 MB, free: 4.469 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.694e-05/0.4681, allocations: 10.59 kB / 410.2 MB, free: 4.465 MB / 286.1 MB Notification: Performance of SimCode: time 7.12e-07/0.4681, allocations: 3.938 kB / 410.2 MB, free: 4.461 MB / 286.1 MB Notification: Performance of Templates: time 0.003935/0.4721, allocations: 0.5571 MB / 410.7 MB, free: 4.434 MB / 286.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)