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/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTestOverdetermined 4.0.0-master/package.mo", uses=false) Using package ModelicaTestOverdetermined with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTestOverdetermined 4.0.0-master/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) 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) 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/Complex 4.0.0+maint.om/package.mo): time 0.002053/0.002053, allocations: 183 kB / 15.98 MB, free: 5.77 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.306/1.306, allocations: 222.9 MB / 239.6 MB, free: 11 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009529/0.000953, allocations: 110.4 kB / 289.9 MB, free: 10.95 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTestOverdetermined 4.0.0-master/package.mo): time 0.002698/0.002698, allocations: 0.5588 MB / 340.6 MB, free: 8.242 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001099/0.001099, allocations: 55.22 kB / 400.9 MB, free: 66.08 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1013/0.1024, allocations: 49.6 MB / 450.5 MB, free: 16.5 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesEquationsFullSteadyState): time 0.001891/0.1043, allocations: 0.5682 MB / 451.1 MB, free: 15.93 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0001575/0.1045, allocations: 27.89 kB / 451.1 MB, free: 15.91 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.558e-05/0.1046, allocations: 0 / 451.1 MB, free: 15.91 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 1.631e-05/0.1046, allocations: 4 kB / 451.1 MB, free: 15.9 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 3.667e-05/0.1046, allocations: 3.938 kB / 451.1 MB, free: 15.9 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000131/0.1048, allocations: 11.98 kB / 451.2 MB, free: 15.89 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 5.279e-05/0.1048, allocations: 19.98 kB / 451.2 MB, free: 15.87 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.86e-05/0.1049, allocations: 0 / 451.2 MB, free: 15.87 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 2.148e-05/0.1049, allocations: 7.938 kB / 451.2 MB, free: 15.86 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.669e-05/0.105, allocations: 15.92 kB / 451.2 MB, free: 15.84 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.689e-05/0.105, allocations: 4 kB / 451.2 MB, free: 15.84 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.287e-06/0.105, allocations: 0 / 451.2 MB, free: 15.84 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 1.819e-05/0.1051, allocations: 7.984 kB / 451.2 MB, free: 15.83 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 2.678e-05/0.1051, allocations: 15.92 kB / 451.2 MB, free: 15.82 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 5.136e-05/0.1052, allocations: 11.92 kB / 451.2 MB, free: 15.8 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.607e-06/0.1052, allocations: 0 / 451.2 MB, free: 15.8 MB / 298.7 MB Notification: Performance of FrontEnd: time 9.82e-07/0.1052, allocations: 0 / 451.2 MB, free: 15.8 MB / 298.7 MB Notification: Performance of Transformations before backend: time 7.775e-06/0.1052, allocations: 0 / 451.2 MB, free: 15.8 MB / 298.7 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.0003763/0.1056, allocations: 335.8 kB / 451.6 MB, free: 15.43 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.629e-05/0.1056, allocations: 12.03 kB / 451.6 MB, free: 15.41 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.556e-05/0.1057, allocations: 0.9375 kB / 451.6 MB, free: 15.41 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.582e-05/0.1058, allocations: 172.2 kB / 451.7 MB, free: 15.21 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.599e-05/0.1058, allocations: 8.375 kB / 451.8 MB, free: 15.2 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.141e-05/0.1059, allocations: 12.28 kB / 451.8 MB, free: 15.19 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001127/0.106, allocations: 44.61 kB / 451.8 MB, free: 15.14 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.373e-05/0.106, allocations: 192 / 451.8 MB, free: 15.14 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.11e-05/0.106, allocations: 3.938 kB / 451.8 MB, free: 15.14 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.943e-06/0.106, allocations: 0 / 451.8 MB, free: 15.14 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.873e-05/0.1061, allocations: 15.98 kB / 451.8 MB, free: 15.12 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003029/0.1064, allocations: 248.9 kB / 452.1 MB, free: 14.83 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001076/0.1065, allocations: 50.56 kB / 452.1 MB, free: 14.77 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.886e-05/0.1066, allocations: 24.91 kB / 452.1 MB, free: 14.74 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.201e-05/0.1066, allocations: 4 kB / 452.2 MB, free: 14.74 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.48e-05/0.1066, allocations: 34.56 kB / 452.2 MB, free: 14.7 MB / 298.7 MB Notification: Performance of pre-optimization done (n=6): time 1.283e-06/0.1066, allocations: 0 / 452.2 MB, free: 14.7 MB / 298.7 MB Notification: Performance of matching and sorting (n=8): time 0.0006743/0.1073, allocations: 0.5024 MB / 452.7 MB, free: 14.1 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.153e-05/0.1073, allocations: 51.41 kB / 452.7 MB, free: 14.04 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.977e-05/0.1074, allocations: 101.8 kB / 452.8 MB, free: 13.93 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.2e-05/0.1074, allocations: 33.7 kB / 452.9 MB, free: 13.89 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 1.895e-05/0.1075, allocations: 80.14 kB / 452.9 MB, free: 13.8 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.004e-05/0.1075, allocations: 31.62 kB / 453 MB, free: 13.77 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.409e-05/0.1075, allocations: 25.66 kB / 453 MB, free: 13.74 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 4.621e-05/0.1076, allocations: 326.8 kB / 453.3 MB, free: 13.41 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.838e-05/0.1076, allocations: 19.94 kB / 453.3 MB, free: 13.39 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.681e-05/0.1077, allocations: 33.7 kB / 453.4 MB, free: 13.36 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002881/0.108, allocations: 239.9 kB / 453.6 MB, free: 13.08 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.61e-07/0.108, allocations: 0 / 453.6 MB, free: 13.08 MB / 298.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001324/0.1082, allocations: 93.75 kB / 453.7 MB, free: 12.98 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.304e-05/0.1082, allocations: 4 kB / 453.7 MB, free: 12.98 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.189e-06/0.1082, allocations: 0 / 453.7 MB, free: 12.98 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.359e-05/0.1082, allocations: 4 kB / 453.7 MB, free: 12.97 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001253/0.1083, allocations: 19.98 kB / 453.7 MB, free: 12.95 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.662e-06/0.1084, allocations: 3.938 kB / 453.7 MB, free: 12.95 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.989e-05/0.1084, allocations: 0 / 453.7 MB, free: 12.95 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.975e-06/0.1084, allocations: 7.938 kB / 453.7 MB, free: 12.94 MB / 298.7 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.0001287/0.1085, allocations: 121.8 kB / 453.9 MB, free: 12.81 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.711e-05/0.1086, allocations: 0 / 453.9 MB, free: 12.81 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.15e-05/0.1086, allocations: 7.969 kB / 453.9 MB, free: 12.8 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.935e-06/0.1086, allocations: 4 kB / 453.9 MB, free: 12.8 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.622e-06/0.1087, allocations: 0 / 453.9 MB, free: 12.8 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.126e-06/0.1087, allocations: 0 / 453.9 MB, free: 12.8 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004225/0.1091, allocations: 378.2 kB / 454.2 MB, free: 12.36 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.675e-06/0.1091, allocations: 4.062 kB / 454.2 MB, free: 12.36 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.155e-05/0.1092, allocations: 8 kB / 454.3 MB, free: 12.35 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001184/0.1093, allocations: 20.84 kB / 454.3 MB, free: 12.32 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.073e-05/0.1093, allocations: 11.92 kB / 454.3 MB, free: 12.31 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007916/0.1101, allocations: 1.28 MB / 455.6 MB, free: 10.89 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.706e-06/0.1101, allocations: 3.938 kB / 455.6 MB, free: 10.89 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001713/0.1119, allocations: 2.474 MB / 458 MB, free: 8.125 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.82e-05/0.1119, allocations: 84.95 kB / 458.1 MB, free: 8.023 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.235e-05/0.1119, allocations: 4 kB / 458.1 MB, free: 8.02 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.763e-05/0.112, allocations: 8.156 kB / 458.1 MB, free: 8.012 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.161e-05/0.1121, allocations: 11.98 kB / 458.2 MB, free: 8 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.833e-06/0.1121, allocations: 4 kB / 458.2 MB, free: 7.996 MB / 298.7 MB Notification: Performance of sorting global known variables: time 1.998e-05/0.1121, allocations: 75.28 kB / 458.2 MB, free: 7.922 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.6e-07/0.1121, allocations: 0 / 458.2 MB, free: 7.922 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.000544/0.1127, allocations: 16.09 kB / 458.2 MB, free: 7.906 MB / 298.7 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.501e-05/0.1128, allocations: 107.1 kB / 458.3 MB, free: 7.793 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0001257/0.1129, allocations: 48.11 kB / 458.4 MB, free: 7.746 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.204e-06/0.1129, allocations: 0 / 458.4 MB, free: 7.746 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002183/0.1131, allocations: 142.6 kB / 458.5 MB, free: 7.594 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003445/0.1135, allocations: 8.641 kB / 458.5 MB, free: 7.586 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004475/0.114, allocations: 421.2 kB / 459 MB, free: 7.113 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001016/0.1141, allocations: 0.6887 MB / 459.6 MB, free: 6.398 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 2.707e-05/0.1141, allocations: 7.938 kB / 459.7 MB, free: 6.391 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.348e-05/0.1141, allocations: 15.38 kB / 459.7 MB, free: 6.375 MB / 298.7 MB Notification: Performance of SimCode: time 2.8e-07/0.1142, allocations: 0 / 459.7 MB, free: 6.375 MB / 298.7 MB Notification: Performance of Templates: time 0.003077/0.1172, allocations: 0.7892 MB / 460.5 MB, free: 5.629 MB / 298.7 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)