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.00151/0.001511, allocations: 101.1 kB / 16.27 MB, free: 6.414 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.001482/0.001482, allocations: 190.3 kB / 17.2 MB, free: 5.953 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.493/1.493, allocations: 222.9 MB / 240.9 MB, free: 15.24 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.01528/0.01528, allocations: 0.5737 MB / 291.6 MB, free: 14.26 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0016/0.0016, allocations: 63.89 kB / 352.2 MB, free: 1.629 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2909/0.2925, allocations: 49.59 MB / 401.8 MB, free: 36.04 MB / 302.1 MB Notification: Performance of NFInst.instantiate(ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesEquationsFullInitial): time 0.001834/0.2944, allocations: 0.504 MB / 402.3 MB, free: 35.55 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.0001476/0.2945, allocations: 35.89 kB / 402.4 MB, free: 35.51 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.742e-05/0.2946, allocations: 1.75 kB / 402.4 MB, free: 35.51 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 2.818e-05/0.2946, allocations: 3.938 kB / 402.4 MB, free: 35.51 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 3.585e-05/0.2947, allocations: 3.938 kB / 402.4 MB, free: 35.5 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001396/0.2948, allocations: 3.984 kB / 402.4 MB, free: 35.5 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 5.327e-05/0.2949, allocations: 24.58 kB / 402.4 MB, free: 35.48 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.968e-05/0.2949, allocations: 0 / 402.4 MB, free: 35.48 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.398e-05/0.295, allocations: 15.94 kB / 402.4 MB, free: 35.46 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.286e-05/0.295, allocations: 11.92 kB / 402.4 MB, free: 35.45 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 1.532e-05/0.295, allocations: 0 / 402.4 MB, free: 35.45 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.959e-06/0.2951, allocations: 4 kB / 402.4 MB, free: 35.45 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 1.779e-05/0.2951, allocations: 7.984 kB / 402.4 MB, free: 35.44 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 2.969e-05/0.2951, allocations: 11.92 kB / 402.4 MB, free: 35.43 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 5.692e-05/0.2952, allocations: 7.938 kB / 402.5 MB, free: 35.42 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.43e-06/0.2952, allocations: 7.984 kB / 402.5 MB, free: 35.41 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.493e-06/0.2952, allocations: 0 / 402.5 MB, free: 35.41 MB / 302.1 MB Notification: Performance of Transformations before backend: time 9.247e-06/0.2952, allocations: 0 / 402.5 MB, free: 35.41 MB / 302.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.0003454/0.2956, allocations: 337.5 kB / 402.8 MB, free: 35.03 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.842e-05/0.2956, allocations: 11.89 kB / 402.8 MB, free: 35.02 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.1e-05/0.2956, allocations: 4.938 kB / 402.8 MB, free: 35.02 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.876e-05/0.2957, allocations: 160.4 kB / 403 MB, free: 34.82 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.193e-05/0.2957, allocations: 384 / 403 MB, free: 34.82 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.855e-05/0.2958, allocations: 8.375 kB / 403 MB, free: 34.81 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001032/0.2959, allocations: 46.23 kB / 403 MB, free: 34.76 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.133e-05/0.2959, allocations: 4.125 kB / 403 MB, free: 34.76 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.798e-06/0.2959, allocations: 3.938 kB / 403 MB, free: 34.75 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.001e-06/0.2959, allocations: 8 kB / 403 MB, free: 34.75 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.096e-05/0.296, allocations: 12 kB / 403 MB, free: 34.73 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002486/0.2962, allocations: 252.8 kB / 403.3 MB, free: 34.44 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.626e-05/0.2963, allocations: 54.62 kB / 403.3 MB, free: 34.38 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.121e-05/0.2964, allocations: 28.84 kB / 403.4 MB, free: 34.34 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.284e-05/0.2964, allocations: 0 / 403.4 MB, free: 34.34 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.978e-05/0.2964, allocations: 34.56 kB / 403.4 MB, free: 34.3 MB / 302.1 MB Notification: Performance of pre-optimization done (n=6): time 9.12e-07/0.2964, allocations: 0 / 403.4 MB, free: 34.3 MB / 302.1 MB Notification: Performance of matching and sorting (n=8): time 0.0006246/0.2971, allocations: 0.4943 MB / 403.9 MB, free: 33.71 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.651e-05/0.2971, allocations: 51.41 kB / 403.9 MB, free: 33.65 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.303e-05/0.2972, allocations: 105.8 kB / 404.1 MB, free: 33.54 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 9.628e-06/0.2972, allocations: 29.64 kB / 404.1 MB, free: 33.5 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.331e-05/0.2972, allocations: 80.14 kB / 404.2 MB, free: 33.42 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.736e-05/0.2972, allocations: 27.56 kB / 404.2 MB, free: 33.39 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.414e-05/0.2973, allocations: 29.7 kB / 404.2 MB, free: 33.36 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 4.667e-05/0.2973, allocations: 314.8 kB / 404.5 MB, free: 33.04 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.583e-05/0.2974, allocations: 15.98 kB / 404.5 MB, free: 33.02 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.289e-05/0.2974, allocations: 37.64 kB / 404.6 MB, free: 32.98 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002379/0.2976, allocations: 252 kB / 404.8 MB, free: 32.69 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.71e-07/0.2976, allocations: 0 / 404.8 MB, free: 32.69 MB / 302.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.000131/0.2978, allocations: 99.19 kB / 404.9 MB, free: 32.59 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.581e-05/0.2978, allocations: 11.98 kB / 404.9 MB, free: 32.57 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.121e-06/0.2978, allocations: 0 / 404.9 MB, free: 32.57 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001148/0.2979, allocations: 20.8 kB / 405 MB, free: 32.55 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.466e-05/0.298, allocations: 19.98 kB / 405 MB, free: 32.53 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007148/0.2987, allocations: 1.387 MB / 406.4 MB, free: 31 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.075e-05/0.2988, allocations: 0 / 406.4 MB, free: 31 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.15e-06/0.2988, allocations: 4.031 kB / 406.4 MB, free: 30.99 MB / 302.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.0001272/0.2989, allocations: 122.4 kB / 406.5 MB, free: 30.86 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.403e-05/0.2989, allocations: 0 / 406.5 MB, free: 30.86 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.106e-05/0.299, allocations: 8.156 kB / 406.5 MB, free: 30.85 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.843e-06/0.299, allocations: 4.062 kB / 406.5 MB, free: 30.85 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.356e-06/0.299, allocations: 7.984 kB / 406.5 MB, free: 30.84 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.629e-06/0.299, allocations: 3.984 kB / 406.5 MB, free: 30.84 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003227/0.2993, allocations: 369.8 kB / 406.9 MB, free: 30.41 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.894e-06/0.2993, allocations: 0 / 406.9 MB, free: 30.41 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.676e-05/0.2994, allocations: 8 kB / 406.9 MB, free: 30.4 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.891e-05/0.2994, allocations: 24.88 kB / 406.9 MB, free: 30.37 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.498e-06/0.2995, allocations: 8 kB / 406.9 MB, free: 30.36 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005775/0.3, allocations: 1.375 MB / 408.3 MB, free: 28.85 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.276e-06/0.3001, allocations: 8.031 kB / 408.3 MB, free: 28.84 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001702/0.3002, allocations: 234.8 kB / 408.5 MB, free: 28.59 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.922e-05/0.3003, allocations: 77.11 kB / 408.6 MB, free: 28.49 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.087e-06/0.3003, allocations: 7.938 kB / 408.6 MB, free: 28.48 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.51e-05/0.3003, allocations: 3.938 kB / 408.6 MB, free: 28.48 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.64e-05/0.3004, allocations: 11.98 kB / 408.6 MB, free: 28.47 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.801e-06/0.3004, allocations: 4 kB / 408.6 MB, free: 28.46 MB / 302.1 MB Notification: Performance of sorting global known variables: time 1.975e-05/0.3004, allocations: 83.34 kB / 408.7 MB, free: 28.38 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.3004, allocations: 0 / 408.7 MB, free: 28.38 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002384/0.3007, allocations: 16.06 kB / 408.7 MB, free: 28.37 MB / 302.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.235e-05/0.3007, allocations: 95.25 kB / 408.8 MB, free: 28.27 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0002523/0.301, allocations: 170.5 kB / 409 MB, free: 28.09 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.364e-06/0.301, allocations: 0 / 409 MB, free: 28.09 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001316/0.3011, allocations: 146.7 kB / 409.1 MB, free: 27.93 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002225/0.3014, allocations: 16.12 kB / 409.1 MB, free: 27.91 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002911/0.3017, allocations: 194.5 kB / 409.3 MB, free: 27.68 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001139/0.3018, allocations: 0.6812 MB / 410 MB, free: 26.98 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.894e-05/0.3018, allocations: 11.44 kB / 410 MB, free: 26.96 MB / 302.1 MB Notification: Performance of SimCode: time 2.1e-07/0.3018, allocations: 4 kB / 410 MB, free: 26.96 MB / 302.1 MB Notification: Performance of Templates: time 0.002369/0.3042, allocations: 0.9282 MB / 411 MB, free: 26.04 MB / 302.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)