Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesEquationsReducedInitial.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.TwoMassesEquationsReducedInitial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesEquationsReducedInitial") translateModel(ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesEquationsReducedInitial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesEquationsReducedInitial") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001253/0.001253, allocations: 108 kB / 15.61 MB, free: 152 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.001931/0.001931, allocations: 192.9 kB / 16.53 MB, free: 6.664 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.453/1.453, allocations: 222.9 MB / 240.2 MB, free: 4.387 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.003297/0.003297, allocations: 0.5622 MB / 290.9 MB, free: 1.695 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001342/0.001342, allocations: 63.89 kB / 351.5 MB, free: 2.309 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1059/0.1073, allocations: 49.59 MB / 401.1 MB, free: 0.6758 MB / 286.1 MB Notification: Performance of NFInst.instantiate(ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesEquationsReducedInitial): time 0.00182/0.1091, allocations: 0.5173 MB / 401.7 MB, free: 164 kB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.0001742/0.1093, allocations: 23.89 kB / 401.7 MB, free: 140 kB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.983e-05/0.1094, allocations: 0 / 401.7 MB, free: 140 kB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 1.495e-05/0.1094, allocations: 0 / 401.7 MB, free: 140 kB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 3.035e-05/0.1094, allocations: 3.938 kB / 401.7 MB, free: 136 kB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001399/0.1096, allocations: 12 kB / 401.7 MB, free: 124 kB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 5.306e-05/0.1096, allocations: 15.97 kB / 401.7 MB, free: 108 kB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.042e-05/0.1097, allocations: 4 kB / 401.7 MB, free: 104 kB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.502e-05/0.1097, allocations: 15.92 kB / 401.7 MB, free: 88 kB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.03e-05/0.1098, allocations: 7.938 kB / 401.7 MB, free: 80 kB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 1.635e-05/0.1098, allocations: 0 / 401.7 MB, free: 80 kB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.302e-05/0.1099, allocations: 4 kB / 401.7 MB, free: 76 kB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 1.961e-05/0.1099, allocations: 7.984 kB / 401.7 MB, free: 68 kB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 2.562e-05/0.1099, allocations: 7.938 kB / 401.8 MB, free: 60 kB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 5.663e-05/0.11, allocations: 15.91 kB / 401.8 MB, free: 44 kB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.527e-06/0.11, allocations: 0 / 401.8 MB, free: 44 kB / 286.1 MB Notification: Performance of FrontEnd: time 1.974e-06/0.11, allocations: 0 / 401.8 MB, free: 44 kB / 286.1 MB Notification: Performance of Transformations before backend: time 7.334e-06/0.11, allocations: 4 kB / 401.8 MB, free: 40 kB / 286.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.2024/0.3124, allocations: 334.6 kB / 402.1 MB, free: 10.52 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.978e-05/0.3125, allocations: 14.17 kB / 402.1 MB, free: 10.52 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.618e-05/0.3125, allocations: 2.094 kB / 402.1 MB, free: 10.52 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001034/0.3126, allocations: 164 kB / 402.3 MB, free: 10.32 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.494e-05/0.3126, allocations: 1.438 kB / 402.3 MB, free: 10.32 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.21e-05/0.3127, allocations: 7.859 kB / 402.3 MB, free: 10.32 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001338/0.3128, allocations: 43.16 kB / 402.3 MB, free: 10.29 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.541e-05/0.3128, allocations: 1.938 kB / 402.3 MB, free: 10.29 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.271e-05/0.3129, allocations: 4.812 kB / 402.3 MB, free: 10.29 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.861e-06/0.3129, allocations: 0.5938 kB / 402.3 MB, free: 10.29 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.208e-05/0.3129, allocations: 21.41 kB / 402.4 MB, free: 10.29 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004181/0.3134, allocations: 288.4 kB / 402.6 MB, free: 9.992 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001067/0.3135, allocations: 44.06 kB / 402.7 MB, free: 9.965 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.62e-05/0.3135, allocations: 17.97 kB / 402.7 MB, free: 9.957 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.473e-05/0.3136, allocations: 0.8438 kB / 402.7 MB, free: 9.957 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.72e-05/0.3136, allocations: 34.47 kB / 402.7 MB, free: 9.918 MB / 286.1 MB Notification: Performance of pre-optimization done (n=4): time 1.453e-06/0.3136, allocations: 0.9375 kB / 402.7 MB, free: 9.918 MB / 286.1 MB Notification: Performance of matching and sorting (n=4): time 0.000499/0.3141, allocations: 161 kB / 402.9 MB, free: 9.781 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.168e-05/0.3141, allocations: 52.91 kB / 402.9 MB, free: 9.719 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.385e-05/0.3142, allocations: 102.7 kB / 403 MB, free: 9.621 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 1.134e-05/0.3142, allocations: 26.8 kB / 403.1 MB, free: 9.59 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.554e-05/0.3143, allocations: 94.61 kB / 403.2 MB, free: 9.5 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.504e-05/0.3143, allocations: 14.86 kB / 403.2 MB, free: 9.492 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.946e-05/0.3144, allocations: 18.78 kB / 403.2 MB, free: 9.477 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 8.789e-05/0.3145, allocations: 320.7 kB / 403.5 MB, free: 9.16 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.804e-05/0.3145, allocations: 6.234 kB / 403.5 MB, free: 9.16 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.074e-05/0.3146, allocations: 28.69 kB / 403.5 MB, free: 9.141 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.072e-05/0.3146, allocations: 36.81 kB / 403.6 MB, free: 9.125 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.194e-06/0.3146, allocations: 0 / 403.6 MB, free: 9.125 MB / 286.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001395/0.3148, allocations: 75.3 kB / 403.7 MB, free: 9.082 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.337e-05/0.3148, allocations: 6.875 kB / 403.7 MB, free: 9.082 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.305e-06/0.3148, allocations: 3.328 kB / 403.7 MB, free: 9.082 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001856/0.315, allocations: 18.72 kB / 403.7 MB, free: 9.07 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.509e-05/0.3151, allocations: 6.922 kB / 403.7 MB, free: 9.07 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009342/0.316, allocations: 1.345 MB / 405 MB, free: 7.715 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.266e-05/0.3161, allocations: 5.438 kB / 405 MB, free: 7.711 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.616e-06/0.3161, allocations: 2.5 kB / 405 MB, free: 7.711 MB / 286.1 MB 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 (5): * Single equations (assignments): 4 * 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 prepare postOptimizeDAE: time 8.228e-05/0.3162, allocations: 112.6 kB / 405.2 MB, free: 7.598 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.575e-05/0.3162, allocations: 5.469 kB / 405.2 MB, free: 7.594 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.111e-05/0.3162, allocations: 12.38 kB / 405.2 MB, free: 7.582 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.627e-06/0.3162, allocations: 0.5625 kB / 405.2 MB, free: 7.582 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.579e-06/0.3163, allocations: 8.469 kB / 405.2 MB, free: 7.578 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.87e-06/0.3163, allocations: 1.172 kB / 405.2 MB, free: 7.578 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001461/0.3164, allocations: 167.3 kB / 405.3 MB, free: 7.383 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.223e-06/0.3164, allocations: 0 / 405.3 MB, free: 7.383 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.887e-05/0.3165, allocations: 4.844 kB / 405.3 MB, free: 7.383 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.962e-05/0.3166, allocations: 18.03 kB / 405.4 MB, free: 7.375 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.072e-05/0.3166, allocations: 1.859 kB / 405.4 MB, free: 7.375 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006765/0.3173, allocations: 1.349 MB / 406.7 MB, free: 6.02 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.986e-06/0.3173, allocations: 3.938 kB / 406.7 MB, free: 6.016 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001871/0.3175, allocations: 167.1 kB / 406.9 MB, free: 5.879 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.08e-05/0.3175, allocations: 83.34 kB / 407 MB, free: 5.781 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.093e-05/0.3175, allocations: 5.141 kB / 407 MB, free: 5.777 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.936e-05/0.3176, allocations: 4.75 kB / 407 MB, free: 5.773 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.562e-05/0.3176, allocations: 15.73 kB / 407 MB, free: 5.766 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.559e-06/0.3176, allocations: 0.9375 kB / 407 MB, free: 5.766 MB / 286.1 MB Notification: Performance of sorting global known variables: time 2.702e-05/0.3176, allocations: 79.92 kB / 407.1 MB, free: 5.691 MB / 286.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3176, allocations: 0 / 407.1 MB, free: 5.691 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0002417/0.3179, allocations: 9.531 kB / 407.1 MB, free: 5.691 MB / 286.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (x1,v1) * 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 (3): * Single equations (assignments): 2 * 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 0.0001004/0.318, allocations: 93.5 kB / 407.2 MB, free: 5.602 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.0002676/0.3183, allocations: 140.7 kB / 407.3 MB, free: 5.488 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 2.785e-06/0.3183, allocations: 4.672 kB / 407.3 MB, free: 5.488 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001368/0.3184, allocations: 129.7 kB / 407.4 MB, free: 5.375 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000224/0.3187, allocations: 4.906 kB / 407.4 MB, free: 5.375 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002918/0.319, allocations: 136.6 kB / 407.6 MB, free: 5.258 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001338/0.3191, allocations: 0.6849 MB / 408.3 MB, free: 4.559 MB / 286.1 MB Notification: Performance of simCode: alias equations: time 1.767e-05/0.3191, allocations: 2.234 kB / 408.3 MB, free: 4.559 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.663e-05/0.3192, allocations: 8.719 kB / 408.3 MB, free: 4.551 MB / 286.1 MB Notification: Performance of SimCode: time 2.1e-07/0.3192, allocations: 0 / 408.3 MB, free: 4.551 MB / 286.1 MB Notification: Performance of Templates: time 0.003286/0.3225, allocations: 0.5407 MB / 408.8 MB, free: 4.527 MB / 286.1 MB make -j1 -f ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesEquationsReducedInitial.makefile (rm -f ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesEquationsReducedInitial.pipe ; mkfifo ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesEquationsReducedInitial.pipe ; head -c 1048576 < ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesEquationsReducedInitial.pipe >> ../files/ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesEquationsReducedInitial.sim & ./ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesEquationsReducedInitial -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesEquationsReducedInitial.pipe 2>&1)