Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesReducedInitial.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.TwoMassesReducedInitial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesReducedInitial") translateModel(ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesReducedInitial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesReducedInitial") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.008198/0.008198, allocations: 100.1 kB / 15.87 MB, free: 5.867 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.001864/0.001864, allocations: 194.8 kB / 16.79 MB, free: 5.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.825/1.825, allocations: 222.9 MB / 240.5 MB, free: 4.559 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.002659/0.002659, allocations: 0.5623 MB / 291.2 MB, free: 1.883 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001235/0.001235, allocations: 59.89 kB / 351.5 MB, free: 2.773 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09453/0.09579, allocations: 49.61 MB / 401.1 MB, free: 1.125 MB / 286.1 MB Notification: Performance of NFInst.instantiate(ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesReducedInitial): time 0.1675/0.2633, allocations: 1.694 MB / 402.8 MB, free: 9.938 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.00024/0.2636, allocations: 92.64 kB / 402.9 MB, free: 9.906 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.959e-05/0.2637, allocations: 1.188 kB / 402.9 MB, free: 9.906 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 5.609e-05/0.2638, allocations: 9.984 kB / 402.9 MB, free: 9.902 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 9.408e-05/0.2639, allocations: 30.23 kB / 403 MB, free: 9.883 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001261/0.2641, allocations: 23.89 kB / 403 MB, free: 9.883 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001406/0.2642, allocations: 105.5 kB / 403.1 MB, free: 9.852 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001371/0.2643, allocations: 30.11 kB / 403.1 MB, free: 9.844 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.89e-05/0.2644, allocations: 35.28 kB / 403.1 MB, free: 9.836 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.662e-05/0.2645, allocations: 39.89 kB / 403.2 MB, free: 9.828 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 2.228e-05/0.2645, allocations: 9.875 kB / 403.2 MB, free: 9.828 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.13e-05/0.2646, allocations: 7.219 kB / 403.2 MB, free: 9.828 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 2.592e-05/0.2646, allocations: 15.64 kB / 403.2 MB, free: 9.824 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 6.306e-05/0.2647, allocations: 53.73 kB / 403.3 MB, free: 9.805 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001276/0.2648, allocations: 80.08 kB / 403.3 MB, free: 9.797 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.679e-06/0.2648, allocations: 0 / 403.3 MB, free: 9.797 MB / 286.1 MB Notification: Performance of FrontEnd: time 8.82e-07/0.2648, allocations: 0.8125 kB / 403.3 MB, free: 9.797 MB / 286.1 MB Notification: Performance of Transformations before backend: time 4.979e-06/0.2648, allocations: 0 / 403.3 MB, free: 9.797 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.000446/0.2653, allocations: 395.5 kB / 403.7 MB, free: 9.422 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.136e-05/0.2653, allocations: 8.906 kB / 403.7 MB, free: 9.422 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.939e-05/0.2654, allocations: 15.39 kB / 403.8 MB, free: 9.414 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001308/0.2655, allocations: 191.6 kB / 403.9 MB, free: 9.207 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.138e-05/0.2655, allocations: 6.969 kB / 403.9 MB, free: 9.207 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.65e-05/0.2656, allocations: 15.14 kB / 404 MB, free: 9.203 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001879/0.2658, allocations: 93.36 kB / 404.1 MB, free: 9.168 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.454e-05/0.2658, allocations: 2.547 kB / 404.1 MB, free: 9.168 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.304e-05/0.2658, allocations: 11.69 kB / 404.1 MB, free: 9.16 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.153e-06/0.2658, allocations: 6.094 kB / 404.1 MB, free: 9.16 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001188/0.2659, allocations: 57.12 kB / 404.1 MB, free: 9.16 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005045/0.2665, allocations: 389 kB / 404.5 MB, free: 8.875 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001864/0.2667, allocations: 101.3 kB / 404.6 MB, free: 8.848 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.37e-05/0.2667, allocations: 36.78 kB / 404.6 MB, free: 8.84 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.557e-05/0.2667, allocations: 1.906 kB / 404.6 MB, free: 8.84 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.886e-05/0.2668, allocations: 38.91 kB / 404.7 MB, free: 8.797 MB / 286.1 MB Notification: Performance of pre-optimization done (n=12): time 1.232e-06/0.2668, allocations: 1.094 kB / 404.7 MB, free: 8.797 MB / 286.1 MB Notification: Performance of matching and sorting (n=16): time 0.001074/0.2679, allocations: 0.6794 MB / 405.4 MB, free: 8.324 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.579e-05/0.2679, allocations: 56.47 kB / 405.4 MB, free: 8.258 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.676e-05/0.268, allocations: 124.2 kB / 405.5 MB, free: 8.16 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 1.16e-05/0.268, allocations: 25.7 kB / 405.6 MB, free: 8.129 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.607e-05/0.2681, allocations: 105.6 kB / 405.7 MB, free: 8.035 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.265e-05/0.2681, allocations: 58.7 kB / 405.7 MB, free: 7.996 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.358e-05/0.2682, allocations: 33.7 kB / 405.8 MB, free: 7.98 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 5.024e-05/0.2682, allocations: 324.9 kB / 406.1 MB, free: 7.664 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.801e-05/0.2683, allocations: 36.02 kB / 406.1 MB, free: 7.66 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.276e-05/0.2684, allocations: 54.27 kB / 406.2 MB, free: 7.637 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001245/0.2685, allocations: 105 kB / 406.3 MB, free: 7.609 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.92e-07/0.2685, allocations: 0 / 406.3 MB, free: 7.609 MB / 286.1 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.000242/0.2687, allocations: 173.4 kB / 406.4 MB, free: 7.551 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.513e-05/0.2688, allocations: 4.969 kB / 406.4 MB, free: 7.551 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.771e-06/0.2688, allocations: 1.531 kB / 406.4 MB, free: 7.551 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001545/0.2689, allocations: 26.78 kB / 406.5 MB, free: 7.543 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001179/0.2691, allocations: 27.16 kB / 406.5 MB, free: 7.539 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008749/0.27, allocations: 1.453 MB / 407.9 MB, free: 6.172 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.012e-05/0.27, allocations: 5.156 kB / 408 MB, free: 6.168 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.012e-05/0.27, allocations: 3.438 kB / 408 MB, free: 6.168 MB / 286.1 MB 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 7.674e-05/0.2701, allocations: 127.6 kB / 408.1 MB, free: 6.039 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.125e-05/0.2701, allocations: 18.25 kB / 408.1 MB, free: 6.027 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.962e-05/0.2702, allocations: 15.7 kB / 408.1 MB, free: 6.012 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.657e-06/0.2702, allocations: 2.641 kB / 408.1 MB, free: 6.012 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.32e-06/0.2702, allocations: 1.312 kB / 408.1 MB, free: 6.012 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.917e-06/0.2702, allocations: 0.7031 kB / 408.1 MB, free: 6.012 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005384/0.2708, allocations: 0.5439 MB / 408.7 MB, free: 5.527 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.536e-06/0.2708, allocations: 1.734 kB / 408.7 MB, free: 5.527 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001192/0.2709, allocations: 23.41 kB / 408.7 MB, free: 5.527 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.77e-05/0.271, allocations: 20.92 kB / 408.7 MB, free: 5.516 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.335e-05/0.271, allocations: 10.91 kB / 408.7 MB, free: 5.512 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005851/0.2716, allocations: 1.269 MB / 410 MB, free: 4.207 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.645e-06/0.2716, allocations: 1.906 kB / 410 MB, free: 4.207 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000307/0.2719, allocations: 311.7 kB / 410.3 MB, free: 3.969 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.807e-05/0.2719, allocations: 92.09 kB / 410.4 MB, free: 3.867 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.749e-05/0.272, allocations: 6.719 kB / 410.4 MB, free: 3.863 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.667e-05/0.2721, allocations: 0.6562 kB / 410.4 MB, free: 3.863 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.49e-05/0.2721, allocations: 13.92 kB / 410.4 MB, free: 3.859 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.675e-06/0.2721, allocations: 7.781 kB / 410.4 MB, free: 3.855 MB / 286.1 MB Notification: Performance of sorting global known variables: time 5.367e-05/0.2722, allocations: 96.59 kB / 410.5 MB, free: 3.773 MB / 286.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.2722, allocations: 0 / 410.5 MB, free: 3.773 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0003101/0.2725, allocations: 30.19 kB / 410.5 MB, free: 3.77 MB / 286.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 2 (mass1.s,mass1.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.562e-05/0.2726, allocations: 99.98 kB / 410.6 MB, free: 3.676 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.0003405/0.2729, allocations: 220.4 kB / 410.8 MB, free: 3.527 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 3.126e-06/0.2729, allocations: 0 / 410.8 MB, free: 3.527 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000151/0.2731, allocations: 160.8 kB / 411 MB, free: 3.402 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003966/0.2735, allocations: 31.27 kB / 411 MB, free: 3.387 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006003/0.2741, allocations: 465.8 kB / 411.5 MB, free: 3.012 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001378/0.2742, allocations: 0.7132 MB / 412.2 MB, free: 2.309 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.008e-05/0.2743, allocations: 14.06 kB / 412.2 MB, free: 2.305 MB / 286.1 MB Notification: Performance of SimCode: time 4.51e-07/0.2743, allocations: 0 / 412.2 MB, free: 2.305 MB / 286.1 MB Notification: Performance of Templates: time 0.004211/0.2785, allocations: 1.956 MB / 414.2 MB, free: 2.152 MB / 286.1 MB make -j1 -f ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesReducedInitial.makefile (rm -f ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesReducedInitial.pipe ; mkfifo ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesReducedInitial.pipe ; head -c 1048576 < ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesReducedInitial.pipe >> ../files/ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesReducedInitial.sim & ./ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesReducedInitial -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesReducedInitial.pipe 2>&1)