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.001113/0.001113, allocations: 106.4 kB / 16.41 MB, free: 6.516 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.0009811/0.0009812, allocations: 192.2 kB / 17.34 MB, free: 5.742 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.247/1.247, allocations: 222.9 MB / 241 MB, free: 15.13 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.002992/0.002992, allocations: 0.5612 MB / 291.8 MB, free: 14.16 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00128/0.00128, allocations: 55.91 kB / 403.1 MB, free: 32.14 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07784/0.07914, allocations: 49.6 MB / 452.7 MB, free: 14.5 MB / 334.1 MB Notification: Performance of NFInst.instantiate(ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesEquationsFullSteadyState): time 0.00157/0.08076, allocations: 0.5158 MB / 453.2 MB, free: 13.99 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.00018/0.08097, allocations: 23.89 kB / 453.2 MB, free: 13.96 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.587e-05/0.08101, allocations: 7.938 kB / 453.2 MB, free: 13.96 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 1.349e-05/0.08103, allocations: 0 / 453.2 MB, free: 13.96 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 3.176e-05/0.08107, allocations: 0 / 453.2 MB, free: 13.96 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001236/0.0812, allocations: 15.92 kB / 453.2 MB, free: 13.94 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 5.521e-05/0.08126, allocations: 12 kB / 453.3 MB, free: 13.93 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.389e-05/0.08132, allocations: 11.97 kB / 453.3 MB, free: 13.92 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.277e-05/0.08135, allocations: 7.938 kB / 453.3 MB, free: 13.91 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.012e-05/0.08141, allocations: 11.98 kB / 453.3 MB, free: 13.9 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.547e-05/0.08144, allocations: 0 / 453.3 MB, free: 13.9 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.007e-06/0.08145, allocations: 0 / 453.3 MB, free: 13.9 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 1.698e-05/0.08147, allocations: 11.94 kB / 453.3 MB, free: 13.89 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 3.021e-05/0.08151, allocations: 19.92 kB / 453.3 MB, free: 13.87 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 5.774e-05/0.08157, allocations: 7.984 kB / 453.3 MB, free: 13.86 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.198e-06/0.08158, allocations: 3.938 kB / 453.3 MB, free: 13.86 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.533e-06/0.08159, allocations: 0 / 453.3 MB, free: 13.86 MB / 334.1 MB Notification: Performance of Transformations before backend: time 4.799e-06/0.0816, allocations: 0 / 453.3 MB, free: 13.86 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.0003771/0.08198, allocations: 335.5 kB / 453.7 MB, free: 13.47 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.676e-05/0.08202, allocations: 11.89 kB / 453.7 MB, free: 13.46 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.361e-05/0.08206, allocations: 8.844 kB / 453.7 MB, free: 13.45 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001088/0.08218, allocations: 164.4 kB / 453.8 MB, free: 13.25 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.159e-05/0.08219, allocations: 12.31 kB / 453.8 MB, free: 13.24 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.147e-05/0.08222, allocations: 384 / 453.9 MB, free: 13.24 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001011/0.08233, allocations: 50.23 kB / 453.9 MB, free: 13.19 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.689e-06/0.08235, allocations: 4.188 kB / 453.9 MB, free: 13.18 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.219e-05/0.08236, allocations: 7.922 kB / 453.9 MB, free: 13.18 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.148e-06/0.08237, allocations: 0 / 453.9 MB, free: 13.18 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.027e-05/0.08242, allocations: 12 kB / 453.9 MB, free: 13.16 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002907/0.08271, allocations: 245 kB / 454.2 MB, free: 12.88 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001015/0.08283, allocations: 58.5 kB / 454.2 MB, free: 12.81 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.183e-05/0.08287, allocations: 24.91 kB / 454.2 MB, free: 12.78 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.457e-06/0.08289, allocations: 0 / 454.2 MB, free: 12.78 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.144e-05/0.08292, allocations: 34.56 kB / 454.3 MB, free: 12.74 MB / 334.1 MB Notification: Performance of pre-optimization done (n=6): time 8.32e-07/0.08292, allocations: 0 / 454.3 MB, free: 12.74 MB / 334.1 MB Notification: Performance of matching and sorting (n=8): time 0.0006915/0.08362, allocations: 0.502 MB / 454.8 MB, free: 12.14 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.063e-05/0.08367, allocations: 51.75 kB / 454.8 MB, free: 12.08 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.247e-05/0.08374, allocations: 101.8 kB / 454.9 MB, free: 11.97 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.35e-05/0.08376, allocations: 29.64 kB / 455 MB, free: 11.93 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.399e-05/0.08381, allocations: 88.14 kB / 455 MB, free: 11.84 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.994e-05/0.08384, allocations: 19.62 kB / 455.1 MB, free: 11.82 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.653e-05/0.08389, allocations: 29.7 kB / 455.1 MB, free: 11.79 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001044/0.084, allocations: 322.8 kB / 455.4 MB, free: 11.46 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.08e-05/0.08403, allocations: 15.98 kB / 455.4 MB, free: 11.45 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.994e-05/0.08408, allocations: 33.64 kB / 455.5 MB, free: 11.41 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000293/0.08438, allocations: 243.9 kB / 455.7 MB, free: 11.13 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.445e-06/0.08439, allocations: 4 kB / 455.7 MB, free: 11.12 MB / 334.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001095/0.08451, allocations: 86.34 kB / 455.8 MB, free: 11.04 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.389e-05/0.08453, allocations: 4 kB / 455.8 MB, free: 11.03 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.358e-06/0.08453, allocations: 0 / 455.8 MB, free: 11.03 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.211e-05/0.08455, allocations: 0 / 455.8 MB, free: 11.03 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.853e-05/0.08465, allocations: 23.98 kB / 455.8 MB, free: 11.01 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.873e-06/0.08467, allocations: 4 kB / 455.8 MB, free: 11 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.046e-05/0.08469, allocations: 0 / 455.8 MB, free: 11 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.272e-06/0.0847, allocations: 3.938 kB / 455.8 MB, free: 11 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.0001358/0.08485, allocations: 138.3 kB / 456 MB, free: 10.86 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.556e-05/0.08488, allocations: 4 kB / 456 MB, free: 10.85 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.097e-05/0.08491, allocations: 11.95 kB / 456 MB, free: 10.84 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.644e-06/0.08492, allocations: 0 / 456 MB, free: 10.84 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.785e-06/0.08493, allocations: 4 kB / 456 MB, free: 10.83 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.026e-06/0.08494, allocations: 0 / 456 MB, free: 10.83 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004184/0.08536, allocations: 377.7 kB / 456.3 MB, free: 10.39 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.34e-06/0.08538, allocations: 4 kB / 456.3 MB, free: 10.39 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.46e-05/0.08543, allocations: 4 kB / 456.3 MB, free: 10.39 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.633e-05/0.08553, allocations: 20.84 kB / 456.4 MB, free: 10.36 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.468e-06/0.08555, allocations: 4.234 kB / 456.4 MB, free: 10.36 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009699/0.08653, allocations: 1.383 MB / 457.8 MB, free: 8.836 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.428e-06/0.08654, allocations: 3.938 kB / 457.8 MB, free: 8.832 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002197/0.08677, allocations: 226.9 kB / 458 MB, free: 8.582 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.507e-05/0.08682, allocations: 88.98 kB / 458.1 MB, free: 8.477 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.676e-06/0.08684, allocations: 0 / 458.1 MB, free: 8.477 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.979e-05/0.0869, allocations: 4 kB / 458.1 MB, free: 8.473 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.336e-05/0.08693, allocations: 15.92 kB / 458.1 MB, free: 8.457 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.927e-06/0.08694, allocations: 96 / 458.1 MB, free: 8.457 MB / 334.1 MB Notification: Performance of sorting global known variables: time 3.103e-05/0.08698, allocations: 87.28 kB / 458.2 MB, free: 8.371 MB / 334.1 MB Notification: Performance of sort global known variables: time 9e-08/0.08698, allocations: 0 / 458.2 MB, free: 8.371 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002407/0.08723, allocations: 12 kB / 458.2 MB, free: 8.359 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 8.789e-05/0.08732, allocations: 95.23 kB / 458.3 MB, free: 8.258 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001236/0.08745, allocations: 55.97 kB / 458.3 MB, free: 8.203 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.214e-06/0.08746, allocations: 0 / 458.3 MB, free: 8.203 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002132/0.08768, allocations: 150.8 kB / 458.5 MB, free: 8.043 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002097/0.0879, allocations: 3.938 kB / 458.5 MB, free: 8.039 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002584/0.08817, allocations: 194.6 kB / 458.7 MB, free: 7.809 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002417/0.08842, allocations: 0.6931 MB / 459.4 MB, free: 7.09 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.123e-05/0.08845, allocations: 7.438 kB / 459.4 MB, free: 7.082 MB / 334.1 MB Notification: Performance of SimCode: time 2.51e-07/0.08846, allocations: 4 kB / 459.4 MB, free: 7.078 MB / 334.1 MB Notification: Performance of Templates: time 0.002134/0.09059, allocations: 0.7966 MB / 460.2 MB, free: 6.289 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)