Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesEquationsFullInitial.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.TwoMassesEquationsFullInitial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesEquationsFullInitial") translateModel(ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesEquationsFullInitial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesEquationsFullInitial") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00123/0.00123, allocations: 105 kB / 16.41 MB, free: 6.465 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.0009863/0.0009863, allocations: 187 kB / 17.34 MB, free: 5.719 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.224/1.224, allocations: 222.9 MB / 241 MB, free: 15.11 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.002562/0.002562, allocations: 0.573 MB / 291.8 MB, free: 14.17 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001186/0.001186, allocations: 59.91 kB / 403.1 MB, free: 32.18 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07375/0.07495, allocations: 49.6 MB / 452.7 MB, free: 14.54 MB / 334.1 MB Notification: Performance of NFInst.instantiate(ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesEquationsFullInitial): time 0.001374/0.07635, allocations: 0.5163 MB / 453.2 MB, free: 14.02 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0001499/0.07651, allocations: 23.89 kB / 453.2 MB, free: 14 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.078e-05/0.07654, allocations: 0 / 453.2 MB, free: 14 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 1.32e-05/0.07656, allocations: 3.938 kB / 453.2 MB, free: 13.99 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 2.195e-05/0.07659, allocations: 0 / 453.2 MB, free: 13.99 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001041/0.0767, allocations: 8 kB / 453.2 MB, free: 13.98 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 5.129e-05/0.07676, allocations: 19.98 kB / 453.3 MB, free: 13.96 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.59e-05/0.07681, allocations: 7.922 kB / 453.3 MB, free: 13.96 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.699e-05/0.07683, allocations: 7.938 kB / 453.3 MB, free: 13.95 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.498e-05/0.07689, allocations: 15.97 kB / 453.3 MB, free: 13.93 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.613e-05/0.07692, allocations: 0 / 453.3 MB, free: 13.93 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.794e-06/0.07693, allocations: 4 kB / 453.3 MB, free: 13.93 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 1.386e-05/0.07695, allocations: 3.938 kB / 453.3 MB, free: 13.93 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 2.281e-05/0.07697, allocations: 15.94 kB / 453.3 MB, free: 13.91 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 5.228e-05/0.07703, allocations: 7.984 kB / 453.3 MB, free: 13.9 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.628e-06/0.07704, allocations: 0 / 453.3 MB, free: 13.9 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.202e-06/0.07705, allocations: 3.938 kB / 453.3 MB, free: 13.9 MB / 334.1 MB Notification: Performance of Transformations before backend: time 4.488e-06/0.07706, allocations: 4 kB / 453.3 MB, free: 13.89 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.0003157/0.07738, allocations: 339.5 kB / 453.7 MB, free: 13.51 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.002e-05/0.07741, allocations: 15.83 kB / 453.7 MB, free: 13.5 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.699e-05/0.07745, allocations: 8.844 kB / 453.7 MB, free: 13.49 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.6e-05/0.07754, allocations: 164.4 kB / 453.8 MB, free: 13.29 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.789e-06/0.07755, allocations: 4.375 kB / 453.8 MB, free: 13.29 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.857e-05/0.07757, allocations: 4.375 kB / 453.8 MB, free: 13.28 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.408e-05/0.07766, allocations: 46.25 kB / 453.9 MB, free: 13.23 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.089e-05/0.07768, allocations: 4.188 kB / 453.9 MB, free: 13.23 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.157e-06/0.07769, allocations: 7.875 kB / 453.9 MB, free: 13.22 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.467e-06/0.0777, allocations: 0 / 453.9 MB, free: 13.22 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.587e-05/0.07774, allocations: 15.98 kB / 453.9 MB, free: 13.2 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002257/0.07797, allocations: 245 kB / 454.2 MB, free: 12.91 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 8.25e-05/0.07806, allocations: 46.56 kB / 454.2 MB, free: 12.86 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.454e-05/0.07811, allocations: 24.92 kB / 454.2 MB, free: 12.83 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.548e-06/0.07812, allocations: 7.938 kB / 454.2 MB, free: 12.82 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.866e-05/0.07814, allocations: 34.55 kB / 454.3 MB, free: 12.78 MB / 334.1 MB Notification: Performance of pre-optimization done (n=6): time 9.71e-07/0.07815, allocations: 0 / 454.3 MB, free: 12.78 MB / 334.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005951/0.07875, allocations: 0.4981 MB / 454.8 MB, free: 12.19 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.581e-05/0.07878, allocations: 55.75 kB / 454.8 MB, free: 12.12 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.253e-05/0.07884, allocations: 97.86 kB / 454.9 MB, free: 12.02 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.441e-05/0.07886, allocations: 25.7 kB / 454.9 MB, free: 11.98 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.775e-05/0.0789, allocations: 92.12 kB / 455 MB, free: 11.89 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.712e-05/0.07893, allocations: 27.61 kB / 455.1 MB, free: 11.86 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.042e-05/0.07896, allocations: 21.7 kB / 455.1 MB, free: 11.84 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 8.385e-05/0.07905, allocations: 322.8 kB / 455.4 MB, free: 11.51 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.697e-05/0.07908, allocations: 15.98 kB / 455.4 MB, free: 11.5 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.365e-05/0.07912, allocations: 29.72 kB / 455.4 MB, free: 11.46 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002426/0.07937, allocations: 248 kB / 455.7 MB, free: 11.18 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.72e-07/0.07938, allocations: 0 / 455.7 MB, free: 11.18 MB / 334.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.000147/0.07953, allocations: 102.5 kB / 455.8 MB, free: 11.07 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.392e-05/0.07956, allocations: 7.938 kB / 455.8 MB, free: 11.06 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.727e-06/0.07957, allocations: 0 / 455.8 MB, free: 11.06 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.702e-05/0.07967, allocations: 32.78 kB / 455.8 MB, free: 11.02 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.661e-05/0.07973, allocations: 15.98 kB / 455.8 MB, free: 11.01 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008238/0.08056, allocations: 1.376 MB / 457.2 MB, free: 9.488 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.214e-05/0.0806, allocations: 12.02 kB / 457.2 MB, free: 9.477 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.961e-06/0.08061, allocations: 4 kB / 457.2 MB, free: 9.473 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: 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 0.0001036/0.08072, allocations: 126.3 kB / 457.4 MB, free: 9.34 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.562e-05/0.08075, allocations: 11.84 kB / 457.4 MB, free: 9.328 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.898e-05/0.08077, allocations: 7.969 kB / 457.4 MB, free: 9.32 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.202e-06/0.08078, allocations: 4.062 kB / 457.4 MB, free: 9.316 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.773e-06/0.08079, allocations: 0 / 457.4 MB, free: 9.316 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.965e-06/0.08079, allocations: 192 / 457.4 MB, free: 9.316 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003686/0.08117, allocations: 365.8 kB / 457.7 MB, free: 8.891 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.874e-06/0.08118, allocations: 0 / 457.7 MB, free: 8.891 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.602e-05/0.08123, allocations: 11.98 kB / 457.7 MB, free: 8.879 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.314e-05/0.0813, allocations: 36.86 kB / 457.8 MB, free: 8.84 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.953e-06/0.08132, allocations: 0 / 457.8 MB, free: 8.84 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007456/0.08207, allocations: 1.387 MB / 459.2 MB, free: 7.312 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/0.08208, allocations: 0 / 459.2 MB, free: 7.312 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001916/0.08228, allocations: 222.7 kB / 459.4 MB, free: 7.066 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.01e-05/0.08232, allocations: 85.25 kB / 459.5 MB, free: 6.965 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.738e-06/0.08233, allocations: 8 kB / 459.5 MB, free: 6.957 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.518e-05/0.08239, allocations: 3.938 kB / 459.5 MB, free: 6.953 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.835e-05/0.08242, allocations: 7.984 kB / 459.5 MB, free: 6.945 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.106e-06/0.08243, allocations: 12.06 kB / 459.5 MB, free: 6.934 MB / 334.1 MB Notification: Performance of sorting global known variables: time 2.747e-05/0.08246, allocations: 83.22 kB / 459.6 MB, free: 6.852 MB / 334.1 MB Notification: Performance of sort global known variables: time 9e-08/0.08247, allocations: 0 / 459.6 MB, free: 6.852 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002294/0.0827, allocations: 12 kB / 459.6 MB, free: 6.84 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 7.357e-05/0.08278, allocations: 95.25 kB / 459.7 MB, free: 6.738 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0002416/0.08303, allocations: 162.9 kB / 459.8 MB, free: 6.566 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/0.08304, allocations: 0 / 459.8 MB, free: 6.566 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001465/0.08319, allocations: 146.5 kB / 460 MB, free: 6.41 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002095/0.08341, allocations: 11.98 kB / 460 MB, free: 6.398 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002672/0.08368, allocations: 202.7 kB / 460.2 MB, free: 6.156 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001917/0.08388, allocations: 0.6885 MB / 460.9 MB, free: 5.441 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.621e-05/0.08391, allocations: 11.44 kB / 460.9 MB, free: 5.43 MB / 334.1 MB Notification: Performance of SimCode: time 2.01e-07/0.08391, allocations: 0 / 460.9 MB, free: 5.43 MB / 334.1 MB Notification: Performance of Templates: time 0.002116/0.08603, allocations: 0.9399 MB / 461.8 MB, free: 4.496 MB / 334.1 MB make -j1 -f ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesEquationsFullInitial.makefile (rm -f ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesEquationsFullInitial.pipe ; mkfifo ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesEquationsFullInitial.pipe ; head -c 1048576 < ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesEquationsFullInitial.pipe >> ../files/ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesEquationsFullInitial.sim & ./ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesEquationsFullInitial -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesEquationsFullInitial.pipe 2>&1)