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.001401/0.001402, 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.001573/0.001573, allocations: 196.6 kB / 16.53 MB, free: 6.664 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.43/1.43, allocations: 222.9 MB / 240.2 MB, free: 4.379 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.002637/0.002638, allocations: 0.5663 MB / 290.9 MB, free: 1.68 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001352/0.001352, allocations: 63.91 kB / 351.5 MB, free: 2.316 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1206/0.122, allocations: 49.59 MB / 401.1 MB, free: 0.6836 MB / 286.1 MB Notification: Performance of NFInst.instantiate(ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesEquationsFullSteadyState): time 0.001974/0.124, allocations: 0.5249 MB / 401.7 MB, free: 164 kB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.000175/0.1242, allocations: 23.89 kB / 401.7 MB, free: 140 kB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.842e-05/0.1242, allocations: 0 / 401.7 MB, free: 140 kB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 1.51e-05/0.1243, allocations: 0 / 401.7 MB, free: 140 kB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 3.482e-05/0.1243, allocations: 3.938 kB / 401.7 MB, free: 136 kB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001408/0.1244, allocations: 12 kB / 401.7 MB, free: 124 kB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 6.209e-05/0.1245, allocations: 19.97 kB / 401.7 MB, free: 104 kB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.195e-05/0.1246, allocations: 4 kB / 401.7 MB, free: 100 kB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.371e-05/0.1246, allocations: 11.92 kB / 401.7 MB, free: 88 kB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.379e-05/0.1247, allocations: 19.92 kB / 401.7 MB, free: 68 kB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 2.062e-05/0.1247, allocations: 0 / 401.7 MB, free: 68 kB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.037e-05/0.1247, allocations: 0 / 401.7 MB, free: 68 kB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 2.131e-05/0.1248, allocations: 8 kB / 401.8 MB, free: 60 kB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 2.768e-05/0.1248, allocations: 15.86 kB / 401.8 MB, free: 44 kB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 6.251e-05/0.1249, allocations: 11.92 kB / 401.8 MB, free: 32 kB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.839e-06/0.1249, allocations: 0 / 401.8 MB, free: 32 kB / 286.1 MB Notification: Performance of FrontEnd: time 1.874e-06/0.1249, allocations: 0 / 401.8 MB, free: 32 kB / 286.1 MB Notification: Performance of Transformations before backend: time 6.713e-06/0.1249, allocations: 0 / 401.8 MB, free: 32 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.1953/0.3202, allocations: 338.1 kB / 402.1 MB, free: 10.52 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.085e-05/0.3202, allocations: 13.2 kB / 402.1 MB, free: 10.51 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.878e-05/0.3203, allocations: 2.688 kB / 402.1 MB, free: 10.51 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.576e-05/0.3204, allocations: 163.3 kB / 402.3 MB, free: 10.32 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.068e-05/0.3204, allocations: 6.281 kB / 402.3 MB, free: 10.32 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.693e-05/0.3204, allocations: 4.094 kB / 402.3 MB, free: 10.32 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001116/0.3205, allocations: 45 kB / 402.3 MB, free: 10.29 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.213e-05/0.3206, allocations: 1.547 kB / 402.3 MB, free: 10.29 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.999e-06/0.3206, allocations: 3.938 kB / 402.3 MB, free: 10.28 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.328e-06/0.3206, allocations: 3.719 kB / 402.4 MB, free: 10.28 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.66e-05/0.3206, allocations: 17.12 kB / 402.4 MB, free: 10.28 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002727/0.3209, allocations: 250.2 kB / 402.6 MB, free: 10.01 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001056/0.321, allocations: 53.34 kB / 402.7 MB, free: 9.988 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.883e-05/0.3211, allocations: 23.38 kB / 402.7 MB, free: 9.977 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.055e-06/0.3211, allocations: 0 / 402.7 MB, free: 9.977 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.581e-05/0.3211, allocations: 39.17 kB / 402.7 MB, free: 9.938 MB / 286.1 MB Notification: Performance of pre-optimization done (n=6): time 9.72e-07/0.3211, allocations: 2.062 kB / 402.7 MB, free: 9.938 MB / 286.1 MB Notification: Performance of matching and sorting (n=8): time 0.0006918/0.3218, allocations: 0.4987 MB / 403.2 MB, free: 9.504 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.523e-05/0.3218, allocations: 56.72 kB / 403.3 MB, free: 9.438 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.238e-05/0.3219, allocations: 95.52 kB / 403.4 MB, free: 9.34 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 8.947e-06/0.3219, allocations: 29.55 kB / 403.4 MB, free: 9.309 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.208e-05/0.3219, allocations: 82.02 kB / 403.5 MB, free: 9.227 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.409e-05/0.322, allocations: 41.59 kB / 403.5 MB, free: 9.207 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.576e-05/0.322, allocations: 20.66 kB / 403.5 MB, free: 9.191 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 5.708e-05/0.3221, allocations: 324.8 kB / 403.9 MB, free: 8.875 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.476e-05/0.3221, allocations: 14.78 kB / 403.9 MB, free: 8.875 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.603e-05/0.3222, allocations: 32.27 kB / 403.9 MB, free: 8.859 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002824/0.3225, allocations: 250.4 kB / 404.2 MB, free: 8.652 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.12e-07/0.3225, allocations: 4 kB / 404.2 MB, free: 8.648 MB / 286.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001092/0.3226, allocations: 78.97 kB / 404.2 MB, free: 8.613 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.534e-05/0.3226, allocations: 8.891 kB / 404.2 MB, free: 8.613 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.408e-06/0.3226, allocations: 0 / 404.2 MB, free: 8.613 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.276e-05/0.3226, allocations: 0.9062 kB / 404.2 MB, free: 8.613 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001045/0.3228, allocations: 23.83 kB / 404.3 MB, free: 8.609 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.452e-06/0.3228, allocations: 1.281 kB / 404.3 MB, free: 8.609 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.969e-05/0.3228, allocations: 3.438 kB / 404.3 MB, free: 8.609 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.105e-06/0.3228, allocations: 7.281 kB / 404.3 MB, free: 8.605 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: $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.0001455/0.323, allocations: 119 kB / 404.4 MB, free: 8.488 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.315e-05/0.323, allocations: 2.625 kB / 404.4 MB, free: 8.488 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.183e-05/0.323, allocations: 8.062 kB / 404.4 MB, free: 8.477 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.715e-06/0.323, allocations: 1.641 kB / 404.4 MB, free: 8.477 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.382e-06/0.323, allocations: 0.7812 kB / 404.4 MB, free: 8.477 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.518e-06/0.3231, allocations: 1.734 kB / 404.4 MB, free: 8.477 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003479/0.3234, allocations: 378.9 kB / 404.8 MB, free: 8.129 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.683e-06/0.3234, allocations: 5.188 kB / 404.8 MB, free: 8.125 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.817e-05/0.3235, allocations: 11.91 kB / 404.8 MB, free: 8.121 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001111/0.3236, allocations: 25.47 kB / 404.8 MB, free: 8.113 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.012e-05/0.3236, allocations: 4.75 kB / 404.8 MB, free: 8.113 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007544/0.3244, allocations: 1.388 MB / 406.2 MB, free: 6.75 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.445e-06/0.3244, allocations: 4.5 kB / 406.2 MB, free: 6.746 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001903/0.3246, allocations: 219 kB / 406.4 MB, free: 6.578 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.186e-05/0.3246, allocations: 88.23 kB / 406.5 MB, free: 6.477 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.164e-05/0.3246, allocations: 5.469 kB / 406.5 MB, free: 6.477 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.518e-05/0.3247, allocations: 1.391 kB / 406.5 MB, free: 6.477 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.098e-05/0.3247, allocations: 14.03 kB / 406.5 MB, free: 6.473 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.331e-06/0.3247, allocations: 2.406 kB / 406.5 MB, free: 6.473 MB / 286.1 MB Notification: Performance of sorting global known variables: time 2.069e-05/0.3248, allocations: 79.7 kB / 406.6 MB, free: 6.398 MB / 286.1 MB Notification: Performance of sort global known variables: time 1.192e-06/0.3248, allocations: 0 / 406.6 MB, free: 6.398 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0002311/0.325, allocations: 16.83 kB / 406.6 MB, free: 6.398 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 8.351e-05/0.3251, allocations: 93.86 kB / 406.7 MB, free: 6.312 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.0001484/0.3252, allocations: 46.48 kB / 406.8 MB, free: 6.309 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 2.745e-06/0.3253, allocations: 5.062 kB / 406.8 MB, free: 6.305 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002063/0.3255, allocations: 143.1 kB / 406.9 MB, free: 6.191 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002225/0.3257, allocations: 14.52 kB / 406.9 MB, free: 6.188 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002574/0.326, allocations: 174.4 kB / 407.1 MB, free: 6.035 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001397/0.3261, allocations: 0.6839 MB / 407.8 MB, free: 5.34 MB / 286.1 MB Notification: Performance of simCode: alias equations: time 2.277e-05/0.3261, allocations: 3.859 kB / 407.8 MB, free: 5.34 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.894e-05/0.3262, allocations: 10.75 kB / 407.8 MB, free: 5.336 MB / 286.1 MB Notification: Performance of SimCode: time 2e-07/0.3262, allocations: 0 / 407.8 MB, free: 5.336 MB / 286.1 MB Notification: Performance of Templates: time 0.002943/0.3291, allocations: 0.5829 MB / 408.4 MB, free: 5.312 MB / 286.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)