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.007833/0.007834, allocations: 99.73 kB / 15.73 MB, free: 5.594 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.001881/0.001881, allocations: 195.1 kB / 16.67 MB, free: 5.527 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.4/1.4, 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.002666/0.002666, allocations: 0.5535 MB / 291.1 MB, free: 14.2 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002152/0.002152, allocations: 56.14 kB / 402.4 MB, free: 32.19 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08593/0.0881, allocations: 49.59 MB / 452 MB, free: 14.55 MB / 334.1 MB Notification: Performance of NFInst.instantiate(ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesEquationsFullSteadyState): time 0.001409/0.08954, allocations: 0.5124 MB / 452.5 MB, free: 14.04 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0001467/0.08971, allocations: 27.83 kB / 452.5 MB, free: 14.01 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.284e-05/0.08975, allocations: 7.938 kB / 452.5 MB, free: 14 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 1.488e-05/0.08977, allocations: 0 / 452.5 MB, free: 14 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 2.712e-05/0.08981, allocations: 7.938 kB / 452.6 MB, free: 13.99 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001167/0.08993, allocations: 7.984 kB / 452.6 MB, free: 13.98 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 5.297e-05/0.08999, allocations: 19.98 kB / 452.6 MB, free: 13.96 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.78e-05/0.09005, allocations: 0 / 452.6 MB, free: 13.96 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.159e-05/0.09007, allocations: 11.92 kB / 452.6 MB, free: 13.95 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.667e-05/0.09013, allocations: 11.98 kB / 452.6 MB, free: 13.94 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.327e-05/0.09015, allocations: 0 / 452.6 MB, free: 13.94 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.388e-06/0.09017, allocations: 4 kB / 452.6 MB, free: 13.94 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 1.575e-05/0.09019, allocations: 3.938 kB / 452.6 MB, free: 13.93 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 2.784e-05/0.09022, allocations: 19.92 kB / 452.6 MB, free: 13.91 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 5.152e-05/0.09028, allocations: 15.97 kB / 452.6 MB, free: 13.9 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.551e-06/0.09029, allocations: 0 / 452.6 MB, free: 13.9 MB / 334.1 MB Notification: Performance of FrontEnd: time 3.968e-06/0.0903, allocations: 0 / 452.6 MB, free: 13.9 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.16e-06/0.09031, allocations: 3.938 kB / 452.6 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.0003852/0.0907, allocations: 335.5 kB / 453 MB, free: 13.52 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.558e-05/0.09074, allocations: 15.89 kB / 453 MB, free: 13.5 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.915e-05/0.09078, allocations: 8.781 kB / 453 MB, free: 13.49 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001108/0.09089, allocations: 164.4 kB / 453.2 MB, free: 13.29 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.536e-06/0.09091, allocations: 4.375 kB / 453.2 MB, free: 13.29 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.856e-05/0.09094, allocations: 12.38 kB / 453.2 MB, free: 13.28 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001046/0.09105, allocations: 46.25 kB / 453.2 MB, free: 13.23 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.043e-05/0.09107, allocations: 192 / 453.2 MB, free: 13.23 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.033e-05/0.09109, allocations: 3.938 kB / 453.2 MB, free: 13.22 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.707e-06/0.09109, allocations: 0 / 453.2 MB, free: 13.22 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.668e-05/0.09114, allocations: 15.98 kB / 453.2 MB, free: 13.21 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002876/0.09144, allocations: 245 kB / 453.5 MB, free: 12.92 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001022/0.09155, allocations: 50.56 kB / 453.5 MB, free: 12.86 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.647e-05/0.0916, allocations: 24.91 kB / 453.6 MB, free: 12.83 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.16e-05/0.09161, allocations: 4 kB / 453.6 MB, free: 12.83 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.856e-05/0.09164, allocations: 34.56 kB / 453.6 MB, free: 12.79 MB / 334.1 MB Notification: Performance of pre-optimization done (n=6): time 1.273e-06/0.09164, allocations: 0 / 453.6 MB, free: 12.79 MB / 334.1 MB Notification: Performance of matching and sorting (n=8): time 0.0006988/0.09235, allocations: 0.502 MB / 454.1 MB, free: 12.19 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.847e-05/0.0924, allocations: 51.75 kB / 454.1 MB, free: 12.12 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.922e-05/0.09247, allocations: 97.84 kB / 454.2 MB, free: 12.02 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.789e-05/0.09249, allocations: 33.7 kB / 454.3 MB, free: 11.98 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.788e-05/0.09253, allocations: 84.08 kB / 454.4 MB, free: 11.89 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.856e-05/0.09257, allocations: 27.61 kB / 454.4 MB, free: 11.87 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.704e-05/0.09261, allocations: 21.72 kB / 454.4 MB, free: 11.84 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 9.79e-05/0.09271, allocations: 322.8 kB / 454.7 MB, free: 11.52 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.284e-05/0.09275, allocations: 19.92 kB / 454.7 MB, free: 11.5 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.062e-05/0.0928, allocations: 33.7 kB / 454.8 MB, free: 11.46 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003054/0.09311, allocations: 248.6 kB / 455 MB, free: 11.17 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.002e-06/0.09312, allocations: 0 / 455 MB, free: 11.17 MB / 334.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001101/0.09324, allocations: 81.84 kB / 455.1 MB, free: 11.09 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.305e-05/0.09326, allocations: 8 kB / 455.1 MB, free: 11.08 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.901e-06/0.09327, allocations: 7.938 kB / 455.1 MB, free: 11.07 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.64e-05/0.09329, allocations: 4 kB / 455.1 MB, free: 11.07 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001124/0.09341, allocations: 23.92 kB / 455.1 MB, free: 11.04 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.37e-06/0.09342, allocations: 0 / 455.1 MB, free: 11.04 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.117e-05/0.09345, allocations: 0 / 455.1 MB, free: 11.04 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.685e-06/0.09346, allocations: 7.938 kB / 455.1 MB, free: 11.04 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.0001339/0.0936, allocations: 130.4 kB / 455.3 MB, free: 10.9 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.524e-05/0.09363, allocations: 4 kB / 455.3 MB, free: 10.89 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.701e-05/0.09366, allocations: 7.969 kB / 455.3 MB, free: 10.88 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.278e-06/0.09367, allocations: 4 kB / 455.3 MB, free: 10.88 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.218e-06/0.09368, allocations: 0 / 455.3 MB, free: 10.88 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.906e-06/0.09369, allocations: 0 / 455.3 MB, free: 10.88 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004061/0.0941, allocations: 377.7 kB / 455.7 MB, free: 10.44 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.034e-06/0.09412, allocations: 4.094 kB / 455.7 MB, free: 10.44 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.034e-05/0.09417, allocations: 8 kB / 455.7 MB, free: 10.43 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.802e-05/0.09428, allocations: 24.78 kB / 455.7 MB, free: 10.4 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.458e-06/0.0943, allocations: 4 kB / 455.7 MB, free: 10.4 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009578/0.09526, allocations: 1.379 MB / 457.1 MB, free: 8.879 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.046e-06/0.09528, allocations: 3.938 kB / 457.1 MB, free: 8.875 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002653/0.09555, allocations: 226.9 kB / 457.3 MB, free: 8.625 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.705e-05/0.0956, allocations: 88.98 kB / 457.4 MB, free: 8.52 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.397e-05/0.09562, allocations: 8.047 kB / 457.4 MB, free: 8.512 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.186e-05/0.09568, allocations: 8 kB / 457.4 MB, free: 8.504 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.163e-05/0.09571, allocations: 4 kB / 457.4 MB, free: 8.5 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.198e-06/0.09572, allocations: 0 / 457.4 MB, free: 8.5 MB / 334.1 MB Notification: Performance of sorting global known variables: time 3.274e-05/0.09576, allocations: 87.27 kB / 457.5 MB, free: 8.414 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.09577, allocations: 4.062 kB / 457.5 MB, free: 8.41 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002561/0.09603, allocations: 8 kB / 457.5 MB, free: 8.402 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.489e-05/0.09612, allocations: 95.25 kB / 457.6 MB, free: 8.301 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001144/0.09624, allocations: 44.48 kB / 457.6 MB, free: 8.258 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.235e-06/0.09625, allocations: 3.938 kB / 457.6 MB, free: 8.254 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002222/0.09648, allocations: 146.6 kB / 457.8 MB, free: 8.098 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002294/0.09672, allocations: 22.28 kB / 457.8 MB, free: 8.082 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002586/0.09699, allocations: 164.8 kB / 458 MB, free: 7.887 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002384/0.09724, allocations: 0.6892 MB / 458.7 MB, free: 7.172 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 1.936e-05/0.09726, allocations: 7.922 kB / 458.7 MB, free: 7.164 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.06e-05/0.09729, allocations: 11.44 kB / 458.7 MB, free: 7.152 MB / 334.1 MB Notification: Performance of SimCode: time 2.41e-07/0.0973, allocations: 4 kB / 458.7 MB, free: 7.148 MB / 334.1 MB Notification: Performance of Templates: time 0.002641/0.09994, allocations: 0.5908 MB / 459.3 MB, free: 6.605 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)