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.001122/0.001122, allocations: 108 kB / 15.61 MB, free: 152 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.001477/0.001477, allocations: 193.9 kB / 16.53 MB, free: 6.699 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.446/1.446, allocations: 222.9 MB / 240.2 MB, free: 4.41 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.004259/0.004259, allocations: 0.5718 MB / 290.9 MB, free: 1.715 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002062/0.002063, allocations: 63.89 kB / 351.5 MB, free: 2.32 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1161/0.1181, allocations: 49.6 MB / 401.1 MB, free: 0.6836 MB / 286.1 MB Notification: Performance of NFInst.instantiate(ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesEquationsFullInitial): time 0.001959/0.1202, allocations: 0.5201 MB / 401.7 MB, free: 172 kB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.0001783/0.1204, allocations: 23.89 kB / 401.7 MB, free: 148 kB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.068e-05/0.1204, allocations: 4 kB / 401.7 MB, free: 144 kB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 1.319e-05/0.1204, allocations: 0 / 401.7 MB, free: 144 kB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 3.573e-05/0.1205, allocations: 3.938 kB / 401.7 MB, free: 140 kB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001361/0.1206, allocations: 12 kB / 401.7 MB, free: 128 kB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 5.866e-05/0.1207, allocations: 15.98 kB / 401.7 MB, free: 112 kB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.593e-05/0.1208, allocations: 4 kB / 401.7 MB, free: 108 kB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.681e-05/0.1208, allocations: 15.91 kB / 401.7 MB, free: 92 kB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.606e-05/0.1209, allocations: 11.94 kB / 401.7 MB, free: 80 kB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 1.813e-05/0.1209, allocations: 0 / 401.7 MB, free: 80 kB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.737e-06/0.1209, allocations: 0 / 401.7 MB, free: 80 kB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 2.026e-05/0.1209, allocations: 7.984 kB / 401.8 MB, free: 72 kB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 2.88e-05/0.121, allocations: 7.938 kB / 401.8 MB, free: 64 kB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 6.399e-05/0.121, allocations: 11.92 kB / 401.8 MB, free: 52 kB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.36e-06/0.1211, allocations: 3.938 kB / 401.8 MB, free: 48 kB / 286.1 MB Notification: Performance of FrontEnd: time 2.725e-06/0.1211, allocations: 4 kB / 401.8 MB, free: 44 kB / 286.1 MB Notification: Performance of Transformations before backend: time 8.867e-06/0.1211, allocations: 0 / 401.8 MB, free: 44 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.1799/0.301, allocations: 336.6 kB / 402.1 MB, free: 10.5 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.732e-05/0.3011, allocations: 13.42 kB / 402.1 MB, free: 10.5 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.667e-05/0.3011, allocations: 3.875 kB / 402.1 MB, free: 10.5 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.928e-05/0.3012, allocations: 166.1 kB / 402.3 MB, free: 10.3 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.357e-05/0.3013, allocations: 2.359 kB / 402.3 MB, free: 10.3 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.53e-05/0.3013, allocations: 6.344 kB / 402.3 MB, free: 10.3 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001285/0.3014, allocations: 42.91 kB / 402.3 MB, free: 10.27 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.27e-05/0.3014, allocations: 2.391 kB / 402.3 MB, free: 10.27 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.416e-05/0.3015, allocations: 8.625 kB / 402.3 MB, free: 10.27 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.006e-06/0.3015, allocations: 0 / 402.3 MB, free: 10.27 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.79e-05/0.3015, allocations: 12.27 kB / 402.4 MB, free: 10.27 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003419/0.3019, allocations: 249.7 kB / 402.6 MB, free: 10 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001406/0.302, allocations: 51.8 kB / 402.7 MB, free: 9.98 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.604e-05/0.3021, allocations: 30.25 kB / 402.7 MB, free: 9.969 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.513e-05/0.3021, allocations: 0.5938 kB / 402.7 MB, free: 9.969 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.613e-05/0.3021, allocations: 39.69 kB / 402.7 MB, free: 9.93 MB / 286.1 MB Notification: Performance of pre-optimization done (n=6): time 9.32e-07/0.3022, allocations: 0 / 402.7 MB, free: 9.93 MB / 286.1 MB Notification: Performance of matching and sorting (n=8): time 0.0008884/0.303, allocations: 0.496 MB / 403.2 MB, free: 9.488 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.866e-05/0.3031, allocations: 52.09 kB / 403.3 MB, free: 9.426 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.626e-05/0.3032, allocations: 100.4 kB / 403.4 MB, free: 9.328 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 1.465e-05/0.3032, allocations: 26.73 kB / 403.4 MB, free: 9.297 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.111e-05/0.3032, allocations: 92.03 kB / 403.5 MB, free: 9.215 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.632e-05/0.3033, allocations: 29.86 kB / 403.5 MB, free: 9.195 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.615e-05/0.3033, allocations: 23.69 kB / 403.5 MB, free: 9.18 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 8.438e-05/0.3034, allocations: 323.4 kB / 403.9 MB, free: 8.863 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.685e-05/0.3035, allocations: 14.52 kB / 403.9 MB, free: 8.863 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.789e-05/0.3035, allocations: 31.39 kB / 403.9 MB, free: 8.848 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003578/0.3039, allocations: 250.3 kB / 404.1 MB, free: 8.641 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.62e-07/0.3039, allocations: 1.188 kB / 404.1 MB, free: 8.641 MB / 286.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002164/0.3041, allocations: 98.2 kB / 404.2 MB, free: 8.594 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.658e-05/0.3042, allocations: 5.938 kB / 404.2 MB, free: 8.594 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.636e-06/0.3042, allocations: 0 / 404.2 MB, free: 8.594 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001648/0.3044, allocations: 26.88 kB / 404.3 MB, free: 8.582 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.709e-05/0.3045, allocations: 11.78 kB / 404.3 MB, free: 8.582 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001035/0.3055, allocations: 1.393 MB / 405.7 MB, free: 7.219 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.484e-05/0.3055, allocations: 1.516 kB / 405.7 MB, free: 7.219 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.606e-06/0.3056, allocations: 2.469 kB / 405.7 MB, free: 7.219 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.0002435/0.3058, allocations: 121 kB / 405.8 MB, free: 7.102 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.534e-05/0.3058, allocations: 2.047 kB / 405.8 MB, free: 7.102 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.72e-05/0.3059, allocations: 8.625 kB / 405.8 MB, free: 7.086 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.036e-06/0.3059, allocations: 1.953 kB / 405.8 MB, free: 7.086 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.086e-06/0.3059, allocations: 4.062 kB / 405.8 MB, free: 7.082 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.941e-06/0.3059, allocations: 1.531 kB / 405.8 MB, free: 7.082 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004837/0.3064, allocations: 375.1 kB / 406.2 MB, free: 6.738 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.767e-06/0.3064, allocations: 1.219 kB / 406.2 MB, free: 6.738 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.624e-05/0.3065, allocations: 12.34 kB / 406.2 MB, free: 6.734 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.745e-05/0.3066, allocations: 31.98 kB / 406.2 MB, free: 6.719 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.231e-05/0.3066, allocations: 1.406 kB / 406.2 MB, free: 6.719 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009458/0.3075, allocations: 1.382 MB / 407.6 MB, free: 5.371 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.3e-06/0.3076, allocations: 1.859 kB / 407.6 MB, free: 5.371 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003167/0.3079, allocations: 231.4 kB / 407.8 MB, free: 5.195 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.397e-05/0.3079, allocations: 80 kB / 407.9 MB, free: 5.102 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.437e-05/0.308, allocations: 3.562 kB / 407.9 MB, free: 5.102 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.377e-05/0.308, allocations: 8.734 kB / 407.9 MB, free: 5.098 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.355e-05/0.3081, allocations: 6.109 kB / 407.9 MB, free: 5.098 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.065e-06/0.3081, allocations: 3.359 kB / 407.9 MB, free: 5.098 MB / 286.1 MB Notification: Performance of sorting global known variables: time 3.515e-05/0.3081, allocations: 82.47 kB / 408 MB, free: 5.023 MB / 286.1 MB Notification: Performance of sort global known variables: time 1.283e-06/0.3081, allocations: 0 / 408 MB, free: 5.023 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0002749/0.3084, allocations: 17.2 kB / 408 MB, free: 5.023 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 0.0001116/0.3085, allocations: 100.7 kB / 408.1 MB, free: 4.93 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.0003526/0.3089, allocations: 169 kB / 408.3 MB, free: 4.812 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 4.459e-06/0.3089, allocations: 1.094 kB / 408.3 MB, free: 4.812 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001793/0.3091, allocations: 140.5 kB / 408.4 MB, free: 4.703 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002343/0.3093, allocations: 7.562 kB / 408.4 MB, free: 4.703 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003611/0.3097, allocations: 181.3 kB / 408.6 MB, free: 4.539 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002028/0.3099, allocations: 0.6844 MB / 409.3 MB, free: 3.844 MB / 286.1 MB Notification: Performance of simCode: alias equations: time 2.107e-05/0.31, allocations: 2.953 kB / 409.3 MB, free: 3.844 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.473e-05/0.31, allocations: 14.94 kB / 409.3 MB, free: 3.836 MB / 286.1 MB Notification: Performance of SimCode: time 2.21e-07/0.31, allocations: 0 / 409.3 MB, free: 3.836 MB / 286.1 MB Notification: Performance of Templates: time 0.003977/0.314, allocations: 0.6772 MB / 410 MB, free: 3.801 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)