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.001182/0.001183, allocations: 100.1 kB / 15.88 MB, free: 12 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001273/0.001273, allocations: 197.4 kB / 16.79 MB, free: 6.809 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.42/1.42, allocations: 222.9 MB / 240.5 MB, free: 4.539 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.003889/0.003889, allocations: 0.57 MB / 291.2 MB, free: 1.859 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001196/0.001196, allocations: 60.14 kB / 351.5 MB, free: 2.758 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1071/0.1083, allocations: 49.6 MB / 401.1 MB, free: 1.121 MB / 286.1 MB Notification: Performance of NFInst.instantiate(ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesEquationsFullInitial): time 0.001795/0.1102, allocations: 0.5793 MB / 401.7 MB, free: 0.5391 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.0001397/0.1103, allocations: 23.91 kB / 401.7 MB, free: 0.5156 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.015e-05/0.1103, allocations: 0 / 401.7 MB, free: 0.5156 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 1.493e-05/0.1104, allocations: 0 / 401.7 MB, free: 0.5156 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 2.389e-05/0.1104, allocations: 3.938 kB / 401.7 MB, free: 0.5117 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001228/0.1105, allocations: 15.92 kB / 401.7 MB, free: 0.4961 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 4.678e-05/0.1106, allocations: 19.98 kB / 401.8 MB, free: 488 kB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.21e-05/0.1106, allocations: 0 / 401.8 MB, free: 488 kB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.98e-05/0.1107, allocations: 7.938 kB / 401.8 MB, free: 480 kB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.815e-05/0.1107, allocations: 19.92 kB / 401.8 MB, free: 460 kB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 1.424e-05/0.1107, allocations: 0 / 401.8 MB, free: 460 kB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.157e-06/0.1107, allocations: 0 / 401.8 MB, free: 460 kB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 1.773e-05/0.1108, allocations: 4 kB / 401.8 MB, free: 456 kB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 3.124e-05/0.1108, allocations: 19.91 kB / 401.8 MB, free: 436 kB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 3.9e-05/0.1108, allocations: 0 / 401.8 MB, free: 436 kB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.589e-06/0.1109, allocations: 0 / 401.8 MB, free: 436 kB / 286.1 MB Notification: Performance of FrontEnd: time 7.31e-07/0.1109, allocations: 0 / 401.8 MB, free: 436 kB / 286.1 MB Notification: Performance of Transformations before backend: time 4.589e-06/0.1109, allocations: 0 / 401.8 MB, free: 436 kB / 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.0004466/0.1113, allocations: 335.8 kB / 402.1 MB, free: 48 kB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.093e-05/0.1114, allocations: 16.03 kB / 402.2 MB, free: 32 kB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.813e-05/0.1114, allocations: 0.9375 kB / 402.2 MB, free: 32 kB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.1841/0.2956, allocations: 167.4 kB / 402.3 MB, free: 10.66 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.095e-05/0.2956, allocations: 5.75 kB / 402.3 MB, free: 10.66 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.467e-05/0.2957, allocations: 4.094 kB / 402.3 MB, free: 10.66 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000119/0.2958, allocations: 52.72 kB / 402.4 MB, free: 10.63 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.042e-05/0.2958, allocations: 1.547 kB / 402.4 MB, free: 10.63 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.437e-06/0.2958, allocations: 0.9062 kB / 402.4 MB, free: 10.63 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.109e-06/0.2958, allocations: 1.156 kB / 402.4 MB, free: 10.63 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.794e-05/0.2959, allocations: 20.66 kB / 402.4 MB, free: 10.62 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000269/0.2962, allocations: 244.2 kB / 402.6 MB, free: 10.36 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001037/0.2963, allocations: 53.28 kB / 402.7 MB, free: 10.34 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.459e-05/0.2963, allocations: 19.36 kB / 402.7 MB, free: 10.33 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.113e-05/0.2963, allocations: 7.453 kB / 402.7 MB, free: 10.33 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.581e-05/0.2963, allocations: 31.17 kB / 402.8 MB, free: 10.29 MB / 286.1 MB Notification: Performance of pre-optimization done (n=6): time 1.403e-06/0.2964, allocations: 0.7812 kB / 402.8 MB, free: 10.29 MB / 286.1 MB Notification: Performance of matching and sorting (n=8): time 0.000639/0.297, allocations: 0.5081 MB / 403.3 MB, free: 9.848 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.29e-05/0.297, allocations: 54.09 kB / 403.3 MB, free: 9.785 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.847e-05/0.2971, allocations: 99 kB / 403.4 MB, free: 9.688 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 7.624e-06/0.2971, allocations: 32.11 kB / 403.4 MB, free: 9.656 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 1.75e-05/0.2971, allocations: 81.23 kB / 403.5 MB, free: 9.574 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.108e-05/0.2972, allocations: 28.92 kB / 403.5 MB, free: 9.559 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.091e-05/0.2972, allocations: 24.53 kB / 403.6 MB, free: 9.543 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 4.79e-05/0.2973, allocations: 322.2 kB / 403.9 MB, free: 9.227 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.361e-05/0.2973, allocations: 13.7 kB / 403.9 MB, free: 9.227 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.223e-05/0.2973, allocations: 32.62 kB / 403.9 MB, free: 9.211 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002623/0.2976, allocations: 253.2 kB / 404.2 MB, free: 9.004 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.22e-07/0.2976, allocations: 1.062 kB / 404.2 MB, free: 9.004 MB / 286.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001597/0.2978, allocations: 98.16 kB / 404.3 MB, free: 8.957 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.765e-05/0.2978, allocations: 7.016 kB / 404.3 MB, free: 8.957 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.278e-06/0.2978, allocations: 0 / 404.3 MB, free: 8.957 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001294/0.298, allocations: 22.45 kB / 404.3 MB, free: 8.949 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.776e-05/0.298, allocations: 10.92 kB / 404.3 MB, free: 8.949 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007155/0.2988, allocations: 1.289 MB / 405.6 MB, free: 7.676 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.268e-05/0.2988, allocations: 4.734 kB / 405.6 MB, free: 7.676 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.222e-06/0.2988, allocations: 2.312 kB / 405.6 MB, free: 7.676 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 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.0001416/0.299, allocations: 119.4 kB / 405.7 MB, free: 7.559 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.555e-05/0.299, allocations: 4.312 kB / 405.7 MB, free: 7.559 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.124e-05/0.299, allocations: 16.19 kB / 405.7 MB, free: 7.535 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.004e-06/0.299, allocations: 1.219 kB / 405.7 MB, free: 7.535 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.855e-06/0.299, allocations: 3.016 kB / 405.8 MB, free: 7.535 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.566e-06/0.299, allocations: 1.5 kB / 405.8 MB, free: 7.535 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003594/0.2994, allocations: 376.4 kB / 406.1 MB, free: 7.191 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.105e-06/0.2994, allocations: 1.094 kB / 406.1 MB, free: 7.191 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.085e-05/0.2995, allocations: 11.94 kB / 406.1 MB, free: 7.191 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.143e-05/0.2995, allocations: 22.58 kB / 406.2 MB, free: 7.184 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.406e-06/0.2996, allocations: 2.031 kB / 406.2 MB, free: 7.184 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006024/0.3002, allocations: 1.292 MB / 407.4 MB, free: 5.922 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.433e-06/0.3002, allocations: 1.312 kB / 407.5 MB, free: 5.922 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002067/0.3004, allocations: 230 kB / 407.7 MB, free: 5.746 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.187e-05/0.3004, allocations: 83.31 kB / 407.8 MB, free: 5.652 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.171e-05/0.3004, allocations: 2.672 kB / 407.8 MB, free: 5.652 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.717e-05/0.3005, allocations: 3.812 kB / 407.8 MB, free: 5.652 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.133e-05/0.3005, allocations: 8.312 kB / 407.8 MB, free: 5.652 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.111e-06/0.3005, allocations: 3 kB / 407.8 MB, free: 5.652 MB / 286.1 MB Notification: Performance of sorting global known variables: time 2.31e-05/0.3006, allocations: 84.81 kB / 407.9 MB, free: 5.574 MB / 286.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3006, allocations: 3.938 kB / 407.9 MB, free: 5.57 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0002404/0.3008, allocations: 13.31 kB / 407.9 MB, free: 5.57 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 7.32e-05/0.3009, allocations: 100 kB / 408 MB, free: 5.48 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.0002586/0.3012, allocations: 164.1 kB / 408.1 MB, free: 5.363 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 2.044e-06/0.3012, allocations: 0 / 408.1 MB, free: 5.363 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001433/0.3013, allocations: 146.4 kB / 408.3 MB, free: 5.25 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002175/0.3016, allocations: 8.828 kB / 408.3 MB, free: 5.246 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003016/0.3019, allocations: 219.2 kB / 408.5 MB, free: 5.051 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001283/0.302, allocations: 0.6929 MB / 409.2 MB, free: 4.352 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.703e-05/0.302, allocations: 10.94 kB / 409.2 MB, free: 4.348 MB / 286.1 MB Notification: Performance of SimCode: time 3.3e-07/0.302, allocations: 0 / 409.2 MB, free: 4.348 MB / 286.1 MB Notification: Performance of Templates: time 0.002658/0.3047, allocations: 0.9183 MB / 410.1 MB, free: 4.316 MB / 286.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)