Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesFullSteadyState.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.TwoMassesFullSteadyState,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesFullSteadyState") translateModel(ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesFullSteadyState,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesFullSteadyState") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00156/0.00156, allocations: 100.1 kB / 15.88 MB, free: 12 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.001939/0.001939, allocations: 196 kB / 16.79 MB, free: 6.809 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.334/1.334, allocations: 222.9 MB / 240.5 MB, free: 4.516 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.002571/0.002571, allocations: 0.5652 MB / 291.2 MB, free: 1.816 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00118/0.00118, allocations: 63.88 kB / 351.5 MB, free: 2.773 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09869/0.09989, allocations: 49.59 MB / 401.1 MB, free: 1.145 MB / 286.1 MB Notification: Performance of NFInst.instantiate(ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesFullSteadyState): time 0.1683/0.2682, allocations: 1.711 MB / 402.8 MB, free: 9.93 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002473/0.2685, allocations: 90.23 kB / 402.9 MB, free: 9.895 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.95e-05/0.2686, allocations: 1.906 kB / 402.9 MB, free: 9.895 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 6.492e-05/0.2687, allocations: 10.09 kB / 402.9 MB, free: 9.891 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 9.883e-05/0.2688, allocations: 24.59 kB / 403 MB, free: 9.875 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001293/0.2689, allocations: 26.67 kB / 403 MB, free: 9.871 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001342/0.269, allocations: 106.5 kB / 403.1 MB, free: 9.84 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001425/0.2692, allocations: 32.75 kB / 403.1 MB, free: 9.836 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.204e-05/0.2693, allocations: 32.3 kB / 403.1 MB, free: 9.832 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001019/0.2694, allocations: 48.38 kB / 403.2 MB, free: 9.816 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 3.009e-05/0.2694, allocations: 6.219 kB / 403.2 MB, free: 9.816 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.725e-05/0.2695, allocations: 6.125 kB / 403.2 MB, free: 9.816 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 2.71e-05/0.2695, allocations: 16.5 kB / 403.2 MB, free: 9.812 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 6.642e-05/0.2696, allocations: 48.89 kB / 403.3 MB, free: 9.801 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001415/0.2697, allocations: 88.34 kB / 403.4 MB, free: 9.785 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.46e-06/0.2697, allocations: 0 / 403.4 MB, free: 9.785 MB / 286.1 MB Notification: Performance of FrontEnd: time 7.82e-07/0.2697, allocations: 0.8125 kB / 403.4 MB, free: 9.785 MB / 286.1 MB Notification: Performance of Transformations before backend: time 5.881e-06/0.2698, allocations: 0 / 403.4 MB, free: 9.785 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.0004588/0.2702, allocations: 401.5 kB / 403.7 MB, free: 9.406 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.421e-05/0.2703, allocations: 8.938 kB / 403.8 MB, free: 9.406 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.563e-05/0.2703, allocations: 15.12 kB / 403.8 MB, free: 9.398 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001381/0.2705, allocations: 183.5 kB / 404 MB, free: 9.199 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.491e-05/0.2705, allocations: 12.67 kB / 404 MB, free: 9.195 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.169e-05/0.2705, allocations: 13.19 kB / 404 MB, free: 9.191 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001889/0.2707, allocations: 91.53 kB / 404.1 MB, free: 9.156 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.52e-05/0.2707, allocations: 4.891 kB / 404.1 MB, free: 9.156 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.439e-05/0.2708, allocations: 4.469 kB / 404.1 MB, free: 9.156 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.901e-06/0.2708, allocations: 3.688 kB / 404.1 MB, free: 9.156 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001261/0.2709, allocations: 58 kB / 404.1 MB, free: 9.156 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005206/0.2714, allocations: 392.4 kB / 404.5 MB, free: 8.863 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000179/0.2716, allocations: 97.78 kB / 404.6 MB, free: 8.84 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.232e-05/0.2717, allocations: 36.47 kB / 404.7 MB, free: 8.832 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.091e-05/0.2717, allocations: 6.125 kB / 404.7 MB, free: 8.828 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.64e-05/0.2717, allocations: 35.59 kB / 404.7 MB, free: 8.785 MB / 286.1 MB Notification: Performance of pre-optimization done (n=12): time 1.182e-06/0.2717, allocations: 0 / 404.7 MB, free: 8.785 MB / 286.1 MB Notification: Performance of matching and sorting (n=16): time 0.001016/0.2728, allocations: 0.6854 MB / 405.4 MB, free: 8.312 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.382e-05/0.2728, allocations: 57.95 kB / 405.4 MB, free: 8.246 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.807e-05/0.2729, allocations: 120.8 kB / 405.6 MB, free: 8.148 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 1.196e-05/0.2729, allocations: 29.73 kB / 405.6 MB, free: 8.117 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.755e-05/0.273, allocations: 102.2 kB / 405.7 MB, free: 8.027 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.723e-05/0.273, allocations: 55.19 kB / 405.7 MB, free: 7.992 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.961e-05/0.2731, allocations: 31.33 kB / 405.8 MB, free: 7.977 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 5.308e-05/0.2731, allocations: 320.8 kB / 406.1 MB, free: 7.664 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.377e-05/0.2732, allocations: 38.31 kB / 406.1 MB, free: 7.664 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.265e-05/0.2733, allocations: 67.22 kB / 406.2 MB, free: 7.629 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.a = $START.mass2.a ($START.mass1.a = $START.mass2.a) Notification: Performance of analyzeInitialSystem (initialization): time 0.0005589/0.2739, allocations: 371.8 kB / 406.5 MB, free: 7.41 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.082e-06/0.2739, allocations: 0 / 406.5 MB, free: 7.41 MB / 286.1 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0001938/0.2741, allocations: 149.5 kB / 406.7 MB, free: 7.359 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.593e-05/0.2741, allocations: 5.844 kB / 406.7 MB, free: 7.359 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.853e-06/0.2741, allocations: 1.562 kB / 406.7 MB, free: 7.359 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.487e-05/0.2741, allocations: 1.438 kB / 406.7 MB, free: 7.359 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001808/0.2743, allocations: 41.66 kB / 406.7 MB, free: 7.352 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.071e-06/0.2743, allocations: 1.406 kB / 406.7 MB, free: 7.352 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.694e-05/0.2744, allocations: 5.188 kB / 406.7 MB, free: 7.352 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.009e-05/0.2744, allocations: 8.828 kB / 406.8 MB, free: 7.352 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: mass1.v = $START.mass1.v mass2.a = $START.mass2.a. 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 (19): * Single equations (assignments): 19 * 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 8.239e-05/0.2745, allocations: 139.6 kB / 406.9 MB, free: 7.223 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.078e-05/0.2745, allocations: 8.281 kB / 406.9 MB, free: 7.219 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.96e-05/0.2746, allocations: 18.28 kB / 406.9 MB, free: 7.211 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.776e-06/0.2746, allocations: 2.906 kB / 406.9 MB, free: 7.211 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.785e-06/0.2746, allocations: 0.5156 kB / 406.9 MB, free: 7.211 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.166e-06/0.2746, allocations: 2.078 kB / 406.9 MB, free: 7.211 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.0005698/0.2752, allocations: 0.5993 MB / 407.5 MB, free: 6.719 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.805e-06/0.2752, allocations: 1.156 kB / 407.5 MB, free: 6.719 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001282/0.2753, allocations: 25.14 kB / 407.5 MB, free: 6.719 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001008/0.2754, allocations: 25.22 kB / 407.6 MB, free: 6.703 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.234e-05/0.2754, allocations: 6.094 kB / 407.6 MB, free: 6.699 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006556/0.2761, allocations: 1.264 MB / 408.8 MB, free: 5.391 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.757e-06/0.2761, allocations: 4.969 kB / 408.8 MB, free: 5.387 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003143/0.2764, allocations: 305.6 kB / 409.1 MB, free: 5.156 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.871e-05/0.2765, allocations: 84.22 kB / 409.2 MB, free: 5.059 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.865e-05/0.2765, allocations: 3.25 kB / 409.2 MB, free: 5.059 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.852e-05/0.2766, allocations: 5.344 kB / 409.2 MB, free: 5.055 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.06e-05/0.2766, allocations: 19.27 kB / 409.3 MB, free: 5.047 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.578e-06/0.2766, allocations: 7.688 kB / 409.3 MB, free: 5.043 MB / 286.1 MB Notification: Performance of sorting global known variables: time 4.296e-05/0.2767, allocations: 101.4 kB / 409.4 MB, free: 4.957 MB / 286.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.2767, allocations: 1.062 kB / 409.4 MB, free: 4.957 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0002673/0.277, allocations: 28.38 kB / 409.4 MB, free: 4.953 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 7.894e-05/0.277, allocations: 97.06 kB / 409.5 MB, free: 4.863 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.0002122/0.2773, allocations: 107 kB / 409.6 MB, free: 4.832 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 2.575e-06/0.2773, allocations: 3.938 kB / 409.6 MB, free: 4.828 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002275/0.2775, allocations: 163 kB / 409.8 MB, free: 4.703 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003382/0.2779, allocations: 22.17 kB / 409.8 MB, free: 4.695 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005879/0.2784, allocations: 459.9 kB / 410.2 MB, free: 4.324 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001229/0.2786, allocations: 0.7105 MB / 410.9 MB, free: 3.625 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.608e-05/0.2786, allocations: 15.03 kB / 410.9 MB, free: 3.621 MB / 286.1 MB Notification: Performance of SimCode: time 1.062e-06/0.2786, allocations: 0 / 410.9 MB, free: 3.621 MB / 286.1 MB Notification: Performance of Templates: time 0.003785/0.2824, allocations: 1.704 MB / 412.7 MB, free: 3.48 MB / 286.1 MB make -j1 -f ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesFullSteadyState.makefile (rm -f ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesFullSteadyState.pipe ; mkfifo ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesFullSteadyState.pipe ; head -c 1048576 < ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesFullSteadyState.pipe >> ../files/ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesFullSteadyState.sim & ./ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesFullSteadyState -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesFullSteadyState.pipe 2>&1)