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.001578/0.001578, allocations: 105.4 kB / 16.41 MB, free: 6.473 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.001457/0.001457, allocations: 189.6 kB / 17.34 MB, free: 5.754 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.291/1.291, 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.002716/0.002716, allocations: 0.5636 MB / 291.8 MB, free: 14.19 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001201/0.001201, allocations: 67.91 kB / 403.1 MB, free: 32.17 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07839/0.0796, allocations: 49.59 MB / 452.7 MB, free: 14.54 MB / 334.1 MB Notification: Performance of NFInst.instantiate(ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesEquationsFullInitial): time 0.001475/0.08112, allocations: 0.5161 MB / 453.2 MB, free: 14.03 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0001589/0.08129, allocations: 27.84 kB / 453.2 MB, free: 14 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.341e-05/0.08132, allocations: 0 / 453.2 MB, free: 14 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 1.383e-05/0.08135, allocations: 0 / 453.2 MB, free: 14 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 2.913e-05/0.08139, allocations: 3.938 kB / 453.2 MB, free: 14 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000136/0.08153, allocations: 11.98 kB / 453.2 MB, free: 13.98 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 6.189e-05/0.0816, allocations: 19.97 kB / 453.3 MB, free: 13.96 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.103e-05/0.08165, allocations: 0 / 453.3 MB, free: 13.96 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.298e-05/0.08168, allocations: 7.938 kB / 453.3 MB, free: 13.96 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.378e-05/0.08175, allocations: 11.98 kB / 453.3 MB, free: 13.95 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.398e-05/0.08177, allocations: 0 / 453.3 MB, free: 13.95 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.026e-05/0.08178, allocations: 8 kB / 453.3 MB, free: 13.94 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 2.333e-05/0.08181, allocations: 11.92 kB / 453.3 MB, free: 13.93 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 2.961e-05/0.08185, allocations: 11.94 kB / 453.3 MB, free: 13.91 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 5.597e-05/0.08191, allocations: 11.97 kB / 453.3 MB, free: 13.9 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.839e-06/0.08192, allocations: 3.938 kB / 453.3 MB, free: 13.9 MB / 334.1 MB Notification: Performance of FrontEnd: time 3.006e-06/0.08192, allocations: 0 / 453.3 MB, free: 13.9 MB / 334.1 MB Notification: Performance of Transformations before backend: time 4.688e-06/0.08193, allocations: 3.938 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.0003612/0.0823, allocations: 335.5 kB / 453.7 MB, free: 13.51 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.21e-05/0.08234, allocations: 11.89 kB / 453.7 MB, free: 13.5 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.99e-05/0.08237, allocations: 12.84 kB / 453.7 MB, free: 13.49 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.237e-05/0.08247, allocations: 164.4 kB / 453.8 MB, free: 13.29 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.081e-05/0.08249, allocations: 4.375 kB / 453.8 MB, free: 13.29 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.932e-05/0.08251, allocations: 8.375 kB / 453.8 MB, free: 13.28 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.544e-05/0.08261, allocations: 42.25 kB / 453.9 MB, free: 13.23 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.005e-05/0.08263, allocations: 4.172 kB / 453.9 MB, free: 13.23 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.626e-06/0.08264, allocations: 3.938 kB / 453.9 MB, free: 13.22 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.717e-06/0.08265, allocations: 0 / 453.9 MB, free: 13.22 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.069e-05/0.0827, allocations: 19.92 kB / 453.9 MB, free: 13.2 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002333/0.08293, allocations: 245 kB / 454.2 MB, free: 12.91 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 8.998e-05/0.08303, allocations: 46.56 kB / 454.2 MB, free: 12.86 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.2e-05/0.08307, allocations: 24.91 kB / 454.2 MB, free: 12.83 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.295e-06/0.08309, allocations: 0 / 454.2 MB, free: 12.83 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.851e-05/0.08312, allocations: 38.56 kB / 454.3 MB, free: 12.79 MB / 334.1 MB Notification: Performance of pre-optimization done (n=6): time 2.084e-06/0.08313, allocations: 0 / 454.3 MB, free: 12.79 MB / 334.1 MB Notification: Performance of matching and sorting (n=8): time 0.0006228/0.08376, allocations: 0.5062 MB / 454.8 MB, free: 12.18 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.758e-05/0.0838, allocations: 59.62 kB / 454.8 MB, free: 12.11 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.333e-05/0.08387, allocations: 97.84 kB / 454.9 MB, free: 12.01 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.332e-05/0.08389, allocations: 29.7 kB / 455 MB, free: 11.97 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.001e-05/0.08392, allocations: 84.14 kB / 455 MB, free: 11.89 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.603e-05/0.08397, allocations: 31.61 kB / 455.1 MB, free: 11.86 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.469e-05/0.084, allocations: 21.72 kB / 455.1 MB, free: 11.83 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 9.829e-05/0.08411, allocations: 322.8 kB / 455.4 MB, free: 11.5 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.493e-05/0.08414, allocations: 12 kB / 455.4 MB, free: 11.49 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.691e-05/0.08418, allocations: 33.7 kB / 455.4 MB, free: 11.45 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002702/0.08445, allocations: 247.8 kB / 455.7 MB, free: 11.17 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.32e-07/0.08447, allocations: 0 / 455.7 MB, free: 11.17 MB / 334.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001536/0.08462, allocations: 98.38 kB / 455.8 MB, free: 11.06 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.286e-05/0.08465, allocations: 6.5 kB / 455.8 MB, free: 11.06 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.097e-06/0.08465, allocations: 3.938 kB / 455.8 MB, free: 11.05 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.555e-05/0.08475, allocations: 32.78 kB / 455.8 MB, free: 11.02 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.379e-05/0.08482, allocations: 8 kB / 455.8 MB, free: 11.01 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009517/0.08578, allocations: 1.38 MB / 457.2 MB, free: 9.488 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.949e-05/0.08582, allocations: 8.031 kB / 457.2 MB, free: 9.48 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.589e-06/0.08583, allocations: 0 / 457.2 MB, free: 9.48 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.0001403/0.08597, allocations: 130.5 kB / 457.4 MB, free: 9.344 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.772e-05/0.08601, allocations: 11.91 kB / 457.4 MB, free: 9.332 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.228e-05/0.08603, allocations: 11.95 kB / 457.4 MB, free: 9.32 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.292e-06/0.08604, allocations: 0 / 457.4 MB, free: 9.32 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.064e-06/0.08605, allocations: 0 / 457.4 MB, free: 9.32 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.805e-06/0.08605, allocations: 0 / 457.4 MB, free: 9.32 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003909/0.08645, allocations: 369.8 kB / 457.7 MB, free: 8.891 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.406e-06/0.08646, allocations: 0 / 457.7 MB, free: 8.891 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.648e-05/0.08651, allocations: 15.94 kB / 457.8 MB, free: 8.875 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.645e-05/0.08659, allocations: 24.78 kB / 457.8 MB, free: 8.848 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.292e-06/0.0866, allocations: 0 / 457.8 MB, free: 8.848 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008452/0.08745, allocations: 1.391 MB / 459.2 MB, free: 7.316 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.302e-06/0.08746, allocations: 0 / 459.2 MB, free: 7.316 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002095/0.08768, allocations: 230.8 kB / 459.4 MB, free: 7.062 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.011e-05/0.08772, allocations: 77.11 kB / 459.5 MB, free: 6.969 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.876e-06/0.08773, allocations: 4.031 kB / 459.5 MB, free: 6.965 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.691e-05/0.08779, allocations: 4.031 kB / 459.5 MB, free: 6.961 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.795e-05/0.08782, allocations: 15.92 kB / 459.5 MB, free: 6.945 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.07e-06/0.08783, allocations: 8.062 kB / 459.5 MB, free: 6.938 MB / 334.1 MB Notification: Performance of sorting global known variables: time 3.817e-05/0.08787, allocations: 79.28 kB / 459.6 MB, free: 6.859 MB / 334.1 MB Notification: Performance of sort global known variables: time 1e-07/0.08788, allocations: 0 / 459.6 MB, free: 6.859 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002318/0.08811, allocations: 12 kB / 459.6 MB, free: 6.848 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 8.077e-05/0.0882, allocations: 99.17 kB / 459.7 MB, free: 6.742 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0002666/0.08847, allocations: 162.8 kB / 459.8 MB, free: 6.57 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.215e-06/0.08849, allocations: 7.938 kB / 459.9 MB, free: 6.562 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001536/0.08865, allocations: 146.7 kB / 460 MB, free: 6.406 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002228/0.08888, allocations: 7.938 kB / 460 MB, free: 6.398 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002824/0.08917, allocations: 202.4 kB / 460.2 MB, free: 6.156 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002257/0.08941, allocations: 0.6965 MB / 460.9 MB, free: 5.434 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.713e-05/0.08943, allocations: 11.38 kB / 460.9 MB, free: 5.422 MB / 334.1 MB Notification: Performance of SimCode: time 2e-07/0.08944, allocations: 0 / 460.9 MB, free: 5.422 MB / 334.1 MB Notification: Performance of Templates: time 0.002132/0.09157, allocations: 0.9306 MB / 461.8 MB, free: 4.492 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)