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.00483/0.00483, allocations: 102.7 kB / 15.73 MB, free: 6.488 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.001133/0.001133, allocations: 195.2 kB / 16.68 MB, free: 6.375 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.325/1.325, allocations: 222.9 MB / 240.4 MB, free: 4.32 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.002785/0.002785, allocations: 0.5624 MB / 291.1 MB, free: 1.629 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001232/0.001232, allocations: 64.91 kB / 402.4 MB, free: 9.312 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07773/0.07898, allocations: 49.6 MB / 452 MB, free: 5.266 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesEquationsFullInitial): time 0.001486/0.0805, allocations: 0.5128 MB / 452.5 MB, free: 4.758 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0001472/0.08066, allocations: 30.95 kB / 452.5 MB, free: 4.73 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.2e-05/0.08069, allocations: 3.938 kB / 452.6 MB, free: 4.727 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 1.523e-05/0.08071, allocations: 0 / 452.6 MB, free: 4.727 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 2.331e-05/0.08075, allocations: 3.938 kB / 452.6 MB, free: 4.723 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001114/0.08086, allocations: 11.98 kB / 452.6 MB, free: 4.711 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 4.947e-05/0.08092, allocations: 15.98 kB / 452.6 MB, free: 4.695 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.637e-05/0.08097, allocations: 4 kB / 452.6 MB, free: 4.691 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.09e-05/0.081, allocations: 11.92 kB / 452.6 MB, free: 4.68 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.776e-05/0.08106, allocations: 11.92 kB / 452.6 MB, free: 4.668 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 1.629e-05/0.08108, allocations: 7.938 kB / 452.6 MB, free: 4.66 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.294e-06/0.08109, allocations: 4 kB / 452.6 MB, free: 4.656 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 1.348e-05/0.08111, allocations: 0 / 452.6 MB, free: 4.656 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 2.522e-05/0.08114, allocations: 15.92 kB / 452.6 MB, free: 4.641 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 5.599e-05/0.0812, allocations: 15.91 kB / 452.7 MB, free: 4.625 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.547e-06/0.08121, allocations: 0 / 452.7 MB, free: 4.625 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.182e-06/0.08122, allocations: 0 / 452.7 MB, free: 4.625 MB / 318.1 MB Notification: Performance of Transformations before backend: time 4.228e-06/0.08123, allocations: 0 / 452.7 MB, free: 4.625 MB / 318.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.0003439/0.08157, allocations: 335.5 kB / 453 MB, free: 4.246 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.596e-05/0.08162, allocations: 15.89 kB / 453 MB, free: 4.23 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.142e-05/0.08165, allocations: 4.844 kB / 453 MB, free: 4.227 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001047/0.08176, allocations: 168.4 kB / 453.2 MB, free: 4.023 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.177e-05/0.08178, allocations: 4.375 kB / 453.2 MB, free: 4.02 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.261e-05/0.08181, allocations: 8.375 kB / 453.2 MB, free: 4.012 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001045/0.08192, allocations: 46.23 kB / 453.2 MB, free: 3.961 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.123e-05/0.08194, allocations: 192 / 453.2 MB, free: 3.961 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.066e-05/0.08195, allocations: 3.938 kB / 453.2 MB, free: 3.957 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.318e-06/0.08196, allocations: 0 / 453.2 MB, free: 3.957 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.321e-05/0.08201, allocations: 15.94 kB / 453.2 MB, free: 3.941 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002781/0.08229, allocations: 249 kB / 453.5 MB, free: 3.648 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.926e-05/0.0824, allocations: 50.55 kB / 453.5 MB, free: 3.59 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.651e-05/0.08244, allocations: 24.91 kB / 453.6 MB, free: 3.562 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.151e-05/0.08246, allocations: 4 kB / 453.6 MB, free: 3.559 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.418e-05/0.08249, allocations: 38.5 kB / 453.6 MB, free: 3.512 MB / 318.1 MB Notification: Performance of pre-optimization done (n=6): time 1.052e-06/0.0825, allocations: 0 / 453.6 MB, free: 3.512 MB / 318.1 MB Notification: Performance of matching and sorting (n=8): time 0.000753/0.08325, allocations: 0.502 MB / 454.1 MB, free: 2.914 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.247e-05/0.0833, allocations: 51.41 kB / 454.2 MB, free: 2.852 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.653e-05/0.08337, allocations: 97.84 kB / 454.2 MB, free: 2.746 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 2.061e-05/0.0834, allocations: 37.64 kB / 454.3 MB, free: 2.703 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.264e-05/0.08344, allocations: 80.14 kB / 454.4 MB, free: 2.621 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.128e-05/0.08347, allocations: 27.62 kB / 454.4 MB, free: 2.594 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.802e-05/0.08352, allocations: 25.7 kB / 454.4 MB, free: 2.562 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 9.976e-05/0.08362, allocations: 318.8 kB / 454.7 MB, free: 2.242 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.258e-05/0.08366, allocations: 19.92 kB / 454.7 MB, free: 2.223 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.923e-05/0.08371, allocations: 29.7 kB / 454.8 MB, free: 2.188 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003005/0.08401, allocations: 252.7 kB / 455 MB, free: 1.898 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.424e-06/0.08403, allocations: 4 kB / 455 MB, free: 1.895 MB / 318.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001605/0.08419, allocations: 98.38 kB / 455.1 MB, free: 1.789 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.423e-05/0.08422, allocations: 4 kB / 455.1 MB, free: 1.785 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.859e-06/0.08423, allocations: 0 / 455.1 MB, free: 1.785 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001231/0.08435, allocations: 28.78 kB / 455.2 MB, free: 1.754 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.05e-05/0.08443, allocations: 8 kB / 455.2 MB, free: 1.746 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001107/0.08554, allocations: 1.383 MB / 456.5 MB, free: 224 kB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.595e-05/0.08558, allocations: 4 kB / 456.5 MB, free: 220 kB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.27e-06/0.08559, allocations: 400 / 456.5 MB, free: 220 kB / 318.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.0001501/0.08575, allocations: 126.4 kB / 456.7 MB, free: 84 kB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.946e-05/0.08578, allocations: 7.906 kB / 456.7 MB, free: 76 kB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.359e-05/0.08581, allocations: 7.969 kB / 456.7 MB, free: 68 kB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.626e-06/0.08582, allocations: 0 / 456.7 MB, free: 68 kB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.316e-06/0.08583, allocations: 3.938 kB / 456.7 MB, free: 64 kB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.38e-06/0.08584, allocations: 3.984 kB / 456.7 MB, free: 60 kB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004485/0.08629, allocations: 365.8 kB / 457.1 MB, free: 15.63 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.245e-06/0.08631, allocations: 0 / 457.1 MB, free: 15.63 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.909e-05/0.08636, allocations: 8 kB / 457.1 MB, free: 15.62 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.699e-05/0.08645, allocations: 28.78 kB / 457.1 MB, free: 15.59 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.403e-06/0.08646, allocations: 0 / 457.1 MB, free: 15.59 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009074/0.08738, allocations: 1.399 MB / 458.5 MB, free: 14.05 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.174e-06/0.08739, allocations: 0 / 458.5 MB, free: 14.05 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000225/0.08762, allocations: 238.8 kB / 458.7 MB, free: 13.79 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.348e-05/0.08767, allocations: 81.14 kB / 458.8 MB, free: 13.7 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.849e-06/0.08769, allocations: 3.938 kB / 458.8 MB, free: 13.69 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.855e-05/0.08775, allocations: 3.938 kB / 458.8 MB, free: 13.69 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.286e-05/0.08778, allocations: 11.98 kB / 458.8 MB, free: 13.68 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.6e-06/0.08779, allocations: 8.062 kB / 458.8 MB, free: 13.67 MB / 334.1 MB Notification: Performance of sorting global known variables: time 3.321e-05/0.08783, allocations: 79.28 kB / 458.9 MB, free: 13.59 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.08784, allocations: 0 / 458.9 MB, free: 13.59 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002509/0.08809, allocations: 12 kB / 458.9 MB, free: 13.58 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 9.071e-05/0.08819, allocations: 95.19 kB / 459 MB, free: 13.48 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0002989/0.08849, allocations: 170.7 kB / 459.2 MB, free: 13.3 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 4.298e-06/0.08851, allocations: 7.938 kB / 459.2 MB, free: 13.29 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001718/0.08869, allocations: 146.6 kB / 459.3 MB, free: 13.13 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002205/0.08892, allocations: 7.047 kB / 459.3 MB, free: 13.13 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003036/0.08923, allocations: 176.7 kB / 459.5 MB, free: 12.92 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002459/0.08949, allocations: 0.6887 MB / 460.2 MB, free: 12.2 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 1.883e-05/0.08951, allocations: 3.984 kB / 460.2 MB, free: 12.2 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.854e-05/0.08954, allocations: 11.44 kB / 460.2 MB, free: 12.19 MB / 334.1 MB Notification: Performance of SimCode: time 2.11e-07/0.08954, allocations: 0 / 460.2 MB, free: 12.19 MB / 334.1 MB Notification: Performance of Templates: time 0.002786/0.09233, allocations: 0.6933 MB / 460.9 MB, free: 11.54 MB / 334.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)