Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesFullInitial.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.TwoMassesFullInitial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesFullInitial") translateModel(ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesFullInitial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesFullInitial") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001109/0.001109, allocations: 92.31 kB / 16.02 MB, free: 76 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.001171/0.001171, allocations: 183.3 kB / 16.92 MB, free: 6.926 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.395/1.395, allocations: 223.3 MB / 241 MB, free: 5.34 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.002313/0.002313, allocations: 0.5506 MB / 292.6 MB, free: 1.594 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003133/0.0003134, allocations: 8 kB / 354 MB, free: 2.508 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2597/0.26, allocations: 50.56 MB / 404.5 MB, free: 10.02 MB / 286.1 MB Notification: Performance of NFInst.instantiate(ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesFullInitial): time 0.001948/0.262, allocations: 1.357 MB / 405.9 MB, free: 9.965 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002639/0.2623, allocations: 95.67 kB / 406 MB, free: 9.953 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.343e-05/0.2624, allocations: 1.969 kB / 406 MB, free: 9.953 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 3.506e-05/0.2624, allocations: 11.25 kB / 406 MB, free: 9.949 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001186/0.2626, allocations: 25.14 kB / 406 MB, free: 9.938 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001331/0.2627, allocations: 23.38 kB / 406 MB, free: 9.938 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001419/0.2628, allocations: 104.6 kB / 406.1 MB, free: 9.906 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001427/0.263, allocations: 33.94 kB / 406.2 MB, free: 9.902 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.997e-05/0.2631, allocations: 30.19 kB / 406.2 MB, free: 9.898 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.739e-05/0.2632, allocations: 44.97 kB / 406.2 MB, free: 9.883 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 2.197e-05/0.2632, allocations: 6 kB / 406.2 MB, free: 9.883 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.063e-05/0.2632, allocations: 5.062 kB / 406.2 MB, free: 9.883 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 2.827e-05/0.2633, allocations: 16.5 kB / 406.3 MB, free: 9.879 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 6.748e-05/0.2633, allocations: 68.73 kB / 406.3 MB, free: 9.836 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001331/0.2635, allocations: 79.89 kB / 406.4 MB, free: 9.828 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.008e-06/0.2635, allocations: 0.5 kB / 406.4 MB, free: 9.828 MB / 286.1 MB Notification: Performance of FrontEnd: time 2.605e-06/0.2635, allocations: 3.938 kB / 406.4 MB, free: 9.824 MB / 286.1 MB Notification: Performance of Transformations before backend: time 4.789e-06/0.2635, allocations: 4.812 kB / 406.4 MB, free: 9.82 MB / 286.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 22 * Number of variables: 22 Notification: Performance of Generate backend data structure: time 0.0004026/0.2639, allocations: 384.6 kB / 406.8 MB, free: 9.441 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.011e-05/0.264, allocations: 8.969 kB / 406.8 MB, free: 9.441 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.874e-05/0.264, allocations: 11.19 kB / 406.8 MB, free: 9.438 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001359/0.2641, allocations: 191.6 kB / 407 MB, free: 9.23 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.665e-05/0.2642, allocations: 11.53 kB / 407 MB, free: 9.227 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.152e-05/0.2642, allocations: 11.12 kB / 407 MB, free: 9.227 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001868/0.2644, allocations: 91.97 kB / 407.1 MB, free: 9.191 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.337e-05/0.2644, allocations: 1.188 kB / 407.1 MB, free: 9.191 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.553e-05/0.2644, allocations: 7.812 kB / 407.1 MB, free: 9.188 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.224e-06/0.2644, allocations: 1.969 kB / 407.1 MB, free: 9.188 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001306/0.2646, allocations: 56.44 kB / 407.2 MB, free: 9.188 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005175/0.2651, allocations: 394.7 kB / 407.6 MB, free: 8.887 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001691/0.2653, allocations: 98.98 kB / 407.7 MB, free: 8.836 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.122e-05/0.2654, allocations: 37.33 kB / 407.7 MB, free: 8.816 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.364e-05/0.2654, allocations: 3.047 kB / 407.7 MB, free: 8.816 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.518e-05/0.2654, allocations: 35.56 kB / 407.7 MB, free: 8.773 MB / 286.1 MB Notification: Performance of pre-optimization done (n=12): time 1.403e-06/0.2654, allocations: 0 / 407.7 MB, free: 8.773 MB / 286.1 MB Notification: Performance of matching and sorting (n=16): time 0.0009807/0.2664, allocations: 0.6884 MB / 408.4 MB, free: 8.191 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.833e-05/0.2664, allocations: 53.62 kB / 408.5 MB, free: 8.129 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.542e-05/0.2665, allocations: 120.1 kB / 408.6 MB, free: 8.023 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 1.138e-05/0.2665, allocations: 26.67 kB / 408.6 MB, free: 7.992 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.341e-05/0.2666, allocations: 101.9 kB / 408.7 MB, free: 7.891 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.408e-05/0.2666, allocations: 62.97 kB / 408.8 MB, free: 7.844 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.864e-05/0.2667, allocations: 19.83 kB / 408.8 MB, free: 7.824 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 6.109e-05/0.2667, allocations: 325 kB / 409.1 MB, free: 7.504 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.206e-05/0.2668, allocations: 34.33 kB / 409.1 MB, free: 7.492 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.105e-05/0.2669, allocations: 68.62 kB / 409.2 MB, free: 7.449 MB / 286.1 MB Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: mass1.v = $START.mass1.v ($START.mass2.v = $START.mass1.v) Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: mass2.s = $START.mass2.s ($START.mass1.s + 0.5 * (mass1.L + mass2.L) = $START.mass2.s) Notification: Performance of analyzeInitialSystem (initialization): time 0.0006843/0.2676, allocations: 416.9 kB / 409.6 MB, free: 7.152 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.693e-06/0.2676, allocations: 1.438 kB / 409.6 MB, free: 7.152 MB / 286.1 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0002681/0.2679, allocations: 171.4 kB / 409.8 MB, free: 7.059 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.719e-05/0.2679, allocations: 3.906 kB / 409.8 MB, free: 7.059 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.699e-06/0.2679, allocations: 5.219 kB / 409.8 MB, free: 7.055 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001283/0.268, allocations: 32.23 kB / 409.8 MB, free: 7.039 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.462e-05/0.2681, allocations: 22.97 kB / 409.9 MB, free: 7.039 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008954/0.269, allocations: 1.45 MB / 411.3 MB, free: 5.594 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.032e-05/0.2691, allocations: 6.156 kB / 411.3 MB, free: 5.59 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.897e-06/0.2691, allocations: 3.594 kB / 411.3 MB, free: 5.59 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 sytem: mass1.v = $START.mass1.v mass2.s = $START.mass2.s. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * 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 (16): * Single equations (assignments): 15 * 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,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 8.965e-05/0.2692, allocations: 131.3 kB / 411.4 MB, free: 5.461 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.74e-05/0.2693, allocations: 14.41 kB / 411.5 MB, free: 5.453 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.634e-05/0.2693, allocations: 22.77 kB / 411.5 MB, free: 5.43 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.266e-06/0.2693, allocations: 1.969 kB / 411.5 MB, free: 5.43 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.669e-06/0.2693, allocations: 1.031 kB / 411.5 MB, free: 5.43 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.468e-06/0.2693, allocations: 5.484 kB / 411.5 MB, free: 5.426 MB / 286.1 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005425/0.2699, allocations: 0.6028 MB / 412.1 MB, free: 4.879 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.396e-06/0.2699, allocations: 0.9375 kB / 412.1 MB, free: 4.879 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001196/0.27, allocations: 26.59 kB / 412.1 MB, free: 4.875 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.289e-05/0.2701, allocations: 20.22 kB / 412.1 MB, free: 4.863 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.234e-05/0.2701, allocations: 7.094 kB / 412.1 MB, free: 4.859 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00057/0.2707, allocations: 1.271 MB / 413.4 MB, free: 3.555 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.816e-06/0.2707, allocations: 1.156 kB / 413.4 MB, free: 3.555 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002997/0.271, allocations: 305.7 kB / 413.7 MB, free: 3.324 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.745e-05/0.271, allocations: 89.28 kB / 413.8 MB, free: 3.223 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.658e-05/0.2711, allocations: 6.25 kB / 413.8 MB, free: 3.219 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.526e-05/0.2711, allocations: 2 kB / 413.8 MB, free: 3.219 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.846e-05/0.2712, allocations: 14.66 kB / 413.8 MB, free: 3.215 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.035e-06/0.2712, allocations: 7.625 kB / 413.8 MB, free: 3.211 MB / 286.1 MB Notification: Performance of sorting global known variables: time 4.023e-05/0.2712, allocations: 99.69 kB / 413.9 MB, free: 3.129 MB / 286.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.2712, allocations: 0 / 413.9 MB, free: 3.129 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0003063/0.2716, allocations: 35.91 kB / 414 MB, free: 3.121 MB / 286.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 2 (mass2.s,mass2.v) * 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 (15): * Single equations (assignments): 14 * 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,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 8.183e-05/0.2716, allocations: 99.16 kB / 414.1 MB, free: 3.023 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.0003628/0.272, allocations: 225.9 kB / 414.3 MB, free: 2.875 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 2.435e-06/0.272, allocations: 0 / 414.3 MB, free: 2.875 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001534/0.2722, allocations: 170.4 kB / 414.4 MB, free: 2.742 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003453/0.2725, allocations: 24.27 kB / 414.5 MB, free: 2.734 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006547/0.2732, allocations: 0.4896 MB / 415 MB, free: 2.352 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001333/0.2733, allocations: 0.7083 MB / 415.7 MB, free: 1.652 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.536e-05/0.2734, allocations: 14.62 kB / 415.7 MB, free: 1.648 MB / 286.1 MB Notification: Performance of SimCode: time 3.81e-07/0.2734, allocations: 0 / 415.7 MB, free: 1.648 MB / 286.1 MB Notification: Performance of Templates: time 0.004078/0.2775, allocations: 1.945 MB / 417.6 MB, free: 1.508 MB / 286.1 MB make -j1 -f ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesFullInitial.makefile (rm -f ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesFullInitial.pipe ; mkfifo ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesFullInitial.pipe ; head -c 1048576 < ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesFullInitial.pipe >> ../files/ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesFullInitial.sim & ./ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesFullInitial -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesFullInitial.pipe 2>&1)