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.001266/0.001266, allocations: 107.9 kB / 16.41 MB, free: 6.008 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.001308/0.001308, allocations: 188.9 kB / 17.34 MB, free: 5.629 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.252/1.252, allocations: 222.9 MB / 241 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.002404/0.002404, allocations: 0.5633 MB / 291.8 MB, free: 14.19 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001181/0.001181, allocations: 67.88 kB / 403.1 MB, free: 32.27 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07776/0.07896, allocations: 49.6 MB / 452.7 MB, free: 14.64 MB / 334.1 MB Notification: Performance of NFInst.instantiate(ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesEquationsFullSteadyState): time 0.001403/0.0804, allocations: 0.5152 MB / 453.2 MB, free: 14.13 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0001466/0.08056, allocations: 27.83 kB / 453.2 MB, free: 14.1 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.196e-05/0.08059, allocations: 0 / 453.2 MB, free: 14.1 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 1.628e-05/0.08062, allocations: 3.938 kB / 453.2 MB, free: 14.1 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 2.182e-05/0.08065, allocations: 0 / 453.2 MB, free: 14.1 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001084/0.08076, allocations: 4 kB / 453.2 MB, free: 14.09 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 5.211e-05/0.08082, allocations: 19.92 kB / 453.3 MB, free: 14.07 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.759e-05/0.08087, allocations: 11.98 kB / 453.3 MB, free: 14.06 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.844e-05/0.0809, allocations: 15.92 kB / 453.3 MB, free: 14.05 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.655e-05/0.08097, allocations: 8 kB / 453.3 MB, free: 14.04 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.568e-05/0.08099, allocations: 0 / 453.3 MB, free: 14.04 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.655e-06/0.081, allocations: 0 / 453.3 MB, free: 14.04 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 1.918e-05/0.08102, allocations: 11.92 kB / 453.3 MB, free: 14.03 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 2.665e-05/0.08105, allocations: 15.92 kB / 453.3 MB, free: 14.01 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 4.945e-05/0.08111, allocations: 11.98 kB / 453.3 MB, free: 14 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.857e-06/0.08112, allocations: 0 / 453.3 MB, free: 14 MB / 334.1 MB Notification: Performance of FrontEnd: time 3.377e-06/0.08112, allocations: 0 / 453.3 MB, free: 14 MB / 334.1 MB Notification: Performance of Transformations before backend: time 7.544e-06/0.08113, allocations: 3.938 kB / 453.3 MB, free: 13.99 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.0003525/0.08149, allocations: 339.5 kB / 453.7 MB, free: 13.61 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.271e-05/0.08153, allocations: 11.89 kB / 453.7 MB, free: 13.6 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.965e-05/0.08157, allocations: 8.844 kB / 453.7 MB, free: 13.59 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001022/0.08167, allocations: 160.4 kB / 453.8 MB, free: 13.39 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.488e-05/0.08169, allocations: 8.375 kB / 453.9 MB, free: 13.39 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.326e-05/0.08172, allocations: 384 / 453.9 MB, free: 13.39 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.957e-05/0.08183, allocations: 46.19 kB / 453.9 MB, free: 13.34 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.032e-05/0.08184, allocations: 4.188 kB / 453.9 MB, free: 13.33 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.04e-05/0.08186, allocations: 7.938 kB / 453.9 MB, free: 13.32 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.971e-06/0.08187, allocations: 4 kB / 453.9 MB, free: 13.32 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.615e-05/0.08191, allocations: 11.98 kB / 453.9 MB, free: 13.31 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002675/0.08218, allocations: 240.9 kB / 454.2 MB, free: 13.02 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.539e-05/0.08229, allocations: 62.56 kB / 454.2 MB, free: 12.95 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.308e-05/0.08232, allocations: 20.92 kB / 454.2 MB, free: 12.93 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.917e-06/0.08234, allocations: 0 / 454.2 MB, free: 12.93 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.091e-05/0.08237, allocations: 38.56 kB / 454.3 MB, free: 12.88 MB / 334.1 MB Notification: Performance of pre-optimization done (n=6): time 8.11e-07/0.08237, allocations: 0 / 454.3 MB, free: 12.88 MB / 334.1 MB Notification: Performance of matching and sorting (n=8): time 0.000666/0.08304, allocations: 0.5019 MB / 454.8 MB, free: 12.29 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.245e-05/0.08308, allocations: 51.75 kB / 454.8 MB, free: 12.22 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.884e-05/0.08316, allocations: 105.8 kB / 454.9 MB, free: 12.11 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.262e-05/0.08318, allocations: 25.7 kB / 455 MB, free: 12.08 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.811e-05/0.08322, allocations: 88.14 kB / 455 MB, free: 11.99 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.723e-05/0.08326, allocations: 23.61 kB / 455.1 MB, free: 11.96 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.446e-05/0.08329, allocations: 21.72 kB / 455.1 MB, free: 11.94 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001121/0.08341, allocations: 322.8 kB / 455.4 MB, free: 11.61 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.666e-05/0.08344, allocations: 16 kB / 455.4 MB, free: 11.6 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.85e-05/0.0835, allocations: 33.7 kB / 455.5 MB, free: 11.56 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002886/0.08379, allocations: 252 kB / 455.7 MB, free: 11.27 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.41e-07/0.0838, allocations: 0 / 455.7 MB, free: 11.27 MB / 334.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001099/0.08392, allocations: 82.56 kB / 455.8 MB, free: 11.18 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.288e-05/0.08394, allocations: 8 kB / 455.8 MB, free: 11.18 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.118e-06/0.08395, allocations: 3.938 kB / 455.8 MB, free: 11.17 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.135e-05/0.08396, allocations: 0 / 455.8 MB, free: 11.17 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.333e-05/0.08406, allocations: 19.98 kB / 455.8 MB, free: 11.15 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.367e-06/0.08408, allocations: 11.98 kB / 455.8 MB, free: 11.14 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.117e-05/0.0841, allocations: 4.062 kB / 455.8 MB, free: 11.14 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.913e-06/0.08411, allocations: 7.938 kB / 455.8 MB, free: 11.13 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.0001035/0.08422, allocations: 126.4 kB / 456 MB, free: 11 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.393e-05/0.08425, allocations: 7.938 kB / 456 MB, free: 10.99 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.421e-05/0.08429, allocations: 7.969 kB / 456 MB, free: 10.98 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.453e-06/0.0843, allocations: 0 / 456 MB, free: 10.98 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.041e-06/0.08432, allocations: 0 / 456 MB, free: 10.98 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.807e-06/0.08433, allocations: 4 kB / 456 MB, free: 10.97 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003701/0.08471, allocations: 373.7 kB / 456.3 MB, free: 10.54 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.899e-06/0.08472, allocations: 3.984 kB / 456.3 MB, free: 10.54 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.394e-05/0.08477, allocations: 8 kB / 456.4 MB, free: 10.53 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001013/0.08488, allocations: 24.84 kB / 456.4 MB, free: 10.5 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.134e-06/0.0849, allocations: 4.094 kB / 456.4 MB, free: 10.5 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008936/0.0858, allocations: 1.379 MB / 457.8 MB, free: 8.977 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.454e-06/0.08581, allocations: 8 kB / 457.8 MB, free: 8.969 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002029/0.08602, allocations: 223 kB / 458 MB, free: 8.723 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.463e-05/0.08607, allocations: 92.97 kB / 458.1 MB, free: 8.613 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.975e-06/0.08608, allocations: 0 / 458.1 MB, free: 8.613 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.316e-05/0.08614, allocations: 4.062 kB / 458.1 MB, free: 8.609 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.715e-05/0.08617, allocations: 12.08 kB / 458.1 MB, free: 8.598 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.099e-06/0.08618, allocations: 7.938 kB / 458.1 MB, free: 8.59 MB / 334.1 MB Notification: Performance of sorting global known variables: time 2.995e-05/0.08622, allocations: 79.28 kB / 458.2 MB, free: 8.512 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.08622, allocations: 3.938 kB / 458.2 MB, free: 8.508 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002225/0.08645, allocations: 12 kB / 458.2 MB, free: 8.496 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 7.423e-05/0.08653, allocations: 95.31 kB / 458.3 MB, free: 8.395 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001162/0.08665, allocations: 51.91 kB / 458.3 MB, free: 8.344 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 3.306e-06/0.08666, allocations: 4 kB / 458.3 MB, free: 8.34 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001938/0.08686, allocations: 146.6 kB / 458.5 MB, free: 8.184 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002213/0.08709, allocations: 3.938 kB / 458.5 MB, free: 8.18 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002565/0.08735, allocations: 198.8 kB / 458.7 MB, free: 7.945 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002229/0.08759, allocations: 0.6892 MB / 459.4 MB, free: 7.23 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.902e-05/0.08761, allocations: 15.38 kB / 459.4 MB, free: 7.215 MB / 334.1 MB Notification: Performance of SimCode: time 6.01e-07/0.08762, allocations: 0 / 459.4 MB, free: 7.215 MB / 334.1 MB Notification: Performance of Templates: time 0.001955/0.08958, allocations: 0.778 MB / 460.2 MB, free: 6.441 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)